libslic3r
Library for generating gcode from 3d models
|
Generic enum configuration value. More...
#include <ConfigBase.hpp>
Public Member Functions | |
std::string | serialize () const |
bool | deserialize (std::string str, bool append=false) |
Public Member Functions inherited from Slic3r::ConfigOptionInt | |
ConfigOptionInt () | |
ConfigOptionInt (double _value) | |
ConfigOptionInt * | clone () const override |
int | getInt () const override |
void | setInt (int val) override |
std::string | getString () const override |
Public Member Functions inherited from Slic3r::ConfigOptionSingle< int > | |
ConfigOptionSingle (int _value) | |
operator int () const | |
int | operator() () const |
void | set (const ConfigOption &option) |
Public Member Functions inherited from Slic3r::ConfigOption | |
virtual | ~ConfigOption () |
virtual double | getFloat () const |
virtual bool | getBool () const |
virtual void | setFloat (double val) |
virtual void | setString (std::string val) |
Public Attributes | |
const t_config_enum_values * | keys_map |
Public Attributes inherited from Slic3r::ConfigOptionSingle< int > | |
int | value |
Generic enum configuration value.
We use this one in DynamicConfig objects when creating a config value object for ConfigOptionType == coEnum. In the StaticConfig, it is better to use the specialized ConfigOptionEnum<T> containers.
|
inlinevirtual |
Reimplemented from Slic3r::ConfigOptionInt.
|
inlinevirtual |
Reimplemented from Slic3r::ConfigOptionInt.
const t_config_enum_values* Slic3r::ConfigOptionEnumGeneric::keys_map |