OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::ConfigBase::SetDeserializeItem Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Config.hpp>

Collaboration diagram for Slic3r::ConfigBase::SetDeserializeItem:

Public Member Functions

 SetDeserializeItem (const char *opt_key, const char *opt_value, bool append=false)
 SetDeserializeItem (const std::string &opt_key, const std::string &opt_value, bool append=false)
 SetDeserializeItem (const char *opt_key, const bool value, bool append=false)
 SetDeserializeItem (const std::string &opt_key, const bool value, bool append=false)
 SetDeserializeItem (const char *opt_key, const int value, bool append=false)
 SetDeserializeItem (const std::string &opt_key, const int value, bool append=false)
 SetDeserializeItem (const char *opt_key, const float value, bool append=false)
 SetDeserializeItem (const std::string &opt_key, const float value, bool append=false)
 SetDeserializeItem (const char *opt_key, const double value, bool append=false)
 SetDeserializeItem (const std::string &opt_key, const double value, bool append=false)

Public Attributes

std::string opt_key
std::string opt_value
bool append = false

Detailed Description

Constructor & Destructor Documentation

◆ SetDeserializeItem() [1/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const char * opt_key,
const char * opt_value,
bool append = false )
inline
std::string opt_key
Definition Config.hpp:2849
std::string opt_value
Definition Config.hpp:2849
bool append
Definition Config.hpp:2849

References append, opt_key, and opt_value.

◆ SetDeserializeItem() [2/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const std::string & opt_key,
const std::string & opt_value,
bool append = false )
inline

◆ SetDeserializeItem() [3/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const char * opt_key,
const bool value,
bool append = false )
inline
2841: opt_key(opt_key), opt_value(value ? "1" : "0"), append(append) {}

References append, opt_key, and opt_value.

◆ SetDeserializeItem() [4/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const std::string & opt_key,
const bool value,
bool append = false )
inline
2842: opt_key(opt_key), opt_value(value ? "1" : "0"), append(append) {}

References append, opt_key, and opt_value.

◆ SetDeserializeItem() [5/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const char * opt_key,
const int value,
bool append = false )
inline
2843: opt_key(opt_key), opt_value(std::to_string(value)), append(append) {}

References append, opt_key, opt_value, and Slic3r::to_string().

Here is the call graph for this function:

◆ SetDeserializeItem() [6/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const std::string & opt_key,
const int value,
bool append = false )
inline
2844: opt_key(opt_key), opt_value(std::to_string(value)), append(append) {}

References append, opt_key, opt_value, and Slic3r::to_string().

Here is the call graph for this function:

◆ SetDeserializeItem() [7/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const char * opt_key,
const float value,
bool append = false )
inline
std::string float_to_string_decimal_point(double value, int precision)
Definition LocalesUtils.cpp:108

References append, Slic3r::float_to_string_decimal_point(), opt_key, and opt_value.

Here is the call graph for this function:

◆ SetDeserializeItem() [8/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const std::string & opt_key,
const float value,
bool append = false )
inline

References append, Slic3r::float_to_string_decimal_point(), opt_key, and opt_value.

Here is the call graph for this function:

◆ SetDeserializeItem() [9/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const char * opt_key,
const double value,
bool append = false )
inline

References append, Slic3r::float_to_string_decimal_point(), opt_key, and opt_value.

Here is the call graph for this function:

◆ SetDeserializeItem() [10/10]

Slic3r::ConfigBase::SetDeserializeItem::SetDeserializeItem ( const std::string & opt_key,
const double value,
bool append = false )
inline

References append, Slic3r::float_to_string_decimal_point(), opt_key, and opt_value.

Here is the call graph for this function:

Member Data Documentation

◆ append

◆ opt_key

◆ opt_value


The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Config.hpp