#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Config.hpp>
|
| template<class Archive> |
| void | serialize (Archive &ar) |
◆ ConfigOptionPercent() [1/2]
| Slic3r::ConfigOptionPercent::ConfigOptionPercent |
( |
| ) |
|
|
inline |
◆ ConfigOptionPercent() [2/2]
| Slic3r::ConfigOptionPercent::ConfigOptionPercent |
( |
double | _value | ) |
|
|
inlineexplicit |
◆ apply_override()
314 {
316 return false;
318 return true;
319 }
Definition Config.hpp:327
◆ clone()
◆ deserialize()
| bool Slic3r::ConfigOptionPercent::deserialize |
( |
const std::string & | str, |
|
|
bool | append = false ) |
|
inlineoverridevirtual |
◆ get_abs_value()
| double Slic3r::ConfigOptionPercent::get_abs_value |
( |
double | ratio_over | ) |
const |
|
inline |
◆ getBool()
◆ getFloat()
| double Slic3r::ConfigOptionFloat::getFloat |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ getInt()
◆ hash()
|
|
inlineoverridevirtualinherited |
◆ is_nil()
◆ is_scalar()
virtual ConfigOptionType type() const=0
◆ is_vector()
bool is_scalar() const
Definition Config.hpp:301
◆ nullable()
◆ operator double()
331{
return this->
value; }
◆ operator!=() [1/2]
| bool Slic3r::ConfigOption::operator!= |
( |
const ConfigOption & | rhs | ) |
const |
|
inlineinherited |
299{
return ! (*
this ==
rhs); }
◆ operator!=() [2/2]
◆ operator<() [1/3]
| bool Slic3r::ConfigOptionFloat::operator< |
( |
const ConfigOptionFloat & | rhs | ) |
const |
| throw | ( | ) | | | |
|
inlineinherited |
◆ operator<() [2/3]
◆ operator<() [3/3]
◆ operator=()
◆ operator==() [1/3]
| bool Slic3r::ConfigOptionFloat::operator== |
( |
const ConfigOption & | rhs | ) |
const |
|
inlineoverridevirtual |
Reimplemented from Slic3r::ConfigOptionFloat.
857 {
858 if (rhs.type() != this->type())
859 throw ConfigurationError("ConfigOptionFloat: Comparing incompatible types");
862 }
◆ operator==() [2/3]
| bool Slic3r::ConfigOptionFloat::operator== |
( |
const ConfigOptionFloat & | rhs | ) |
const |
| throw | ( | ) | | | |
|
inline |
constexpr bool is_approx(Number value, Number test_value, Number precision=EPSILON)
Definition libslic3r.h:320
◆ operator==() [3/3]
| bool Slic3r::ConfigOptionPercent::operator== |
( |
const ConfigOptionPercent & | rhs | ) |
const |
| throw | ( | ) | | | |
|
inline |
◆ overriden_by()
309 {
311 return *
this != *
rhs;
312 }
virtual bool nullable() const
Definition Config.hpp:304
◆ serialize() [1/2]
| std::string Slic3r::ConfigOptionPercent::serialize |
( |
| ) |
const |
|
inlineoverridevirtual |
Reimplemented from Slic3r::ConfigOptionFloat.
1254 {
1255 std::ostringstream ss;
1257 std::string s(ss.str());
1258 s += "%";
1259 return s;
1260 }
◆ serialize() [2/2]
template<class Archive>
| void Slic3r::ConfigOptionPercent::serialize |
( |
Archive & | ar | ) |
|
|
inlineprivate |
1277{ ar(cereal::base_class<ConfigOptionFloat>(this)); }
◆ set()
|
|
inlineoverridevirtualinherited |
◆ setInt()
◆ static_type()
◆ type()
◆ cereal::access
| friend class cereal::access |
|
friend |
◆ value
The documentation for this class was generated from the following file:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Config.hpp