libslic3r
Library for generating gcode from 3d models
Public Member Functions | Public Attributes | List of all members
Slic3r::ConfigOptionVector< T > Class Template Reference

Value of a vector valued option (bools, ints, floats, strings, points), template. More...

#include <ConfigBase.hpp>

Inheritance diagram for Slic3r::ConfigOptionVector< T >:
Slic3r::ConfigOptionVectorBase Slic3r::ConfigOption

Public Member Functions

 ConfigOptionVector ()
 
 ConfigOptionVector (const std::vector< T > _values)
 
virtual ~ConfigOptionVector ()
 
void set (const ConfigOption &option)
 
get_at (size_t i) const
 
- Public Member Functions inherited from Slic3r::ConfigOptionVectorBase
virtual ~ConfigOptionVectorBase ()
 
virtual std::vector< std::string > vserialize () const =0
 
- Public Member Functions inherited from Slic3r::ConfigOption
virtual ~ConfigOption ()
 
virtual ConfigOptionclone () 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

std::vector< T > values
 

Detailed Description

template<class T>
class Slic3r::ConfigOptionVector< T >

Value of a vector valued option (bools, ints, floats, strings, points), template.

Constructor & Destructor Documentation

◆ ConfigOptionVector() [1/2]

template<class T>
Slic3r::ConfigOptionVector< T >::ConfigOptionVector ( )
inline

◆ ConfigOptionVector() [2/2]

template<class T>
Slic3r::ConfigOptionVector< T >::ConfigOptionVector ( const std::vector< T >  _values)
inline

◆ ~ConfigOptionVector()

template<class T>
virtual Slic3r::ConfigOptionVector< T >::~ConfigOptionVector ( )
inlinevirtual

Member Function Documentation

◆ get_at()

template<class T>
T Slic3r::ConfigOptionVector< T >::get_at ( size_t  i) const
inline

◆ set()

template<class T>
void Slic3r::ConfigOptionVector< T >::set ( const ConfigOption option)
inlinevirtual

Implements Slic3r::ConfigOption.

Member Data Documentation

◆ values

template<class T>
std::vector<T> Slic3r::ConfigOptionVector< T >::values

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