libslic3r
Library for generating gcode from 3d models
|
Value of a single valued option (bool, int, float, string, point, enum) More...
#include <ConfigBase.hpp>
Public Member Functions | |
ConfigOptionSingle (T _value) | |
operator T () const | |
T | operator() () const |
void | set (const ConfigOption &option) |
Public Member Functions inherited from Slic3r::ConfigOption | |
virtual | ~ConfigOption () |
virtual ConfigOption * | clone () const =0 |
virtual std::string | serialize () const =0 |
virtual bool | deserialize (std::string str, bool append=false)=0 |
virtual int | getInt () const |
virtual double | getFloat () const |
virtual bool | getBool () const |
virtual void | setInt (int val) |
virtual void | setFloat (double val) |
virtual void | setString (std::string val) |
virtual std::string | getString () const |
Public Attributes | |
T | value |
Value of a single valued option (bool, int, float, string, point, enum)
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements Slic3r::ConfigOption.
T Slic3r::ConfigOptionSingle< T >::value |