libslic3r
Library for generating gcode from 3d models
Public Member Functions | List of all members
Slic3r::ConfigOptionString Class Reference

#include <ConfigBase.hpp>

Inheritance diagram for Slic3r::ConfigOptionString:
Slic3r::ConfigOptionSingle< std::string > Slic3r::ConfigOption

Public Member Functions

 ConfigOptionString ()
 
 ConfigOptionString (std::string _value)
 
ConfigOptionStringclone () const
 
std::string getString () const
 
std::string serialize () const
 
bool deserialize (std::string str, bool append=false)
 
- Public Member Functions inherited from Slic3r::ConfigOptionSingle< std::string >
 ConfigOptionSingle (std::string _value)
 
 operator std::string () const
 
std::string operator() () const
 
void set (const ConfigOption &option)
 
- Public Member Functions inherited from Slic3r::ConfigOption
virtual ~ConfigOption ()
 
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)
 

Additional Inherited Members

- Public Attributes inherited from Slic3r::ConfigOptionSingle< std::string >
std::string value
 

Constructor & Destructor Documentation

◆ ConfigOptionString() [1/2]

Slic3r::ConfigOptionString::ConfigOptionString ( )
inline

◆ ConfigOptionString() [2/2]

Slic3r::ConfigOptionString::ConfigOptionString ( std::string  _value)
inline

Member Function Documentation

◆ clone()

ConfigOptionString* Slic3r::ConfigOptionString::clone ( ) const
inlinevirtual

Implements Slic3r::ConfigOption.

◆ deserialize()

bool Slic3r::ConfigOptionString::deserialize ( std::string  str,
bool  append = false 
)
inlinevirtual

Implements Slic3r::ConfigOption.

◆ getString()

std::string Slic3r::ConfigOptionString::getString ( ) const
inlinevirtual

Reimplemented from Slic3r::ConfigOption.

◆ serialize()

std::string Slic3r::ConfigOptionString::serialize ( ) const
inlinevirtual

Implements Slic3r::ConfigOption.


The documentation for this class was generated from the following file: