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

#include <ConfigBase.hpp>

Inheritance diagram for Slic3r::ConfigOptionInts:
Slic3r::ConfigOptionVector< int > Slic3r::ConfigOptionVectorBase Slic3r::ConfigOption

Public Member Functions

 ConfigOptionInts ()
 
 ConfigOptionInts (const std::vector< int > _values)
 
ConfigOptionIntsclone () const override
 
std::string serialize () const override
 
std::vector< std::string > vserialize () const override
 
bool deserialize (std::string str, bool append=false) override
 
- Public Member Functions inherited from Slic3r::ConfigOptionVector< int >
 ConfigOptionVector ()
 
 ConfigOptionVector (const std::vector< int > _values)
 
virtual ~ConfigOptionVector ()
 
void set (const ConfigOption &option)
 
int get_at (size_t i) const
 
- Public Member Functions inherited from Slic3r::ConfigOptionVectorBase
virtual ~ConfigOptionVectorBase ()
 
- 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)
 
virtual std::string getString () const
 

Additional Inherited Members

- Public Attributes inherited from Slic3r::ConfigOptionVector< int >
std::vector< int > values
 

Constructor & Destructor Documentation

◆ ConfigOptionInts() [1/2]

Slic3r::ConfigOptionInts::ConfigOptionInts ( )
inline

◆ ConfigOptionInts() [2/2]

Slic3r::ConfigOptionInts::ConfigOptionInts ( const std::vector< int >  _values)
inline

Member Function Documentation

◆ clone()

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

Implements Slic3r::ConfigOption.

◆ deserialize()

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

Implements Slic3r::ConfigOption.

◆ serialize()

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

Implements Slic3r::ConfigOption.

◆ vserialize()

std::vector<std::string> Slic3r::ConfigOptionInts::vserialize ( ) const
inlineoverridevirtual

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