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

#include <ConfigBase.hpp>

Inheritance diagram for Slic3r::ConfigOptionInt:
Slic3r::ConfigOptionSingle< int > Slic3r::ConfigOption Slic3r::ConfigOptionEnumGeneric

Public Member Functions

 ConfigOptionInt ()
 
 ConfigOptionInt (double _value)
 
ConfigOptionIntclone () const override
 
int getInt () const override
 
void setInt (int val) override
 
std::string getString () const override
 
std::string serialize () const override
 
bool deserialize (std::string str, bool append=false) 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)
 

Additional Inherited Members

- Public Attributes inherited from Slic3r::ConfigOptionSingle< int >
int value
 

Constructor & Destructor Documentation

◆ ConfigOptionInt() [1/2]

Slic3r::ConfigOptionInt::ConfigOptionInt ( )
inline

◆ ConfigOptionInt() [2/2]

Slic3r::ConfigOptionInt::ConfigOptionInt ( double  _value)
inline

Member Function Documentation

◆ clone()

ConfigOptionInt* Slic3r::ConfigOptionInt::clone ( ) const
inlineoverridevirtual

Implements Slic3r::ConfigOption.

◆ deserialize()

bool Slic3r::ConfigOptionInt::deserialize ( std::string  str,
bool  append = false 
)
inlineoverridevirtual

◆ getInt()

int Slic3r::ConfigOptionInt::getInt ( ) const
inlineoverridevirtual

Reimplemented from Slic3r::ConfigOption.

◆ getString()

std::string Slic3r::ConfigOptionInt::getString ( ) const
inlineoverridevirtual

Reimplemented from Slic3r::ConfigOption.

◆ serialize()

std::string Slic3r::ConfigOptionInt::serialize ( ) const
inlineoverridevirtual

◆ setInt()

void Slic3r::ConfigOptionInt::setInt ( int  val)
inlineoverridevirtual

Reimplemented from Slic3r::ConfigOption.


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