Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::client::OptWithPos Struct Reference
+ Collaboration diagram for Slic3r::client::OptWithPos:

Public Member Functions

 OptWithPos ()
 
 OptWithPos (ConfigOptionConstPtr opt, IteratorRange it_range, bool writable=false)
 
bool empty () const
 
bool has_index () const
 

Public Attributes

ConfigOptionConstPtr opt { nullptr }
 
bool writable { false }
 
int index { -1 }
 
IteratorRange it_range
 

Detailed Description

Constructor & Destructor Documentation

◆ OptWithPos() [1/2]

Slic3r::client::OptWithPos::OptWithPos ( )
inline
175{}

◆ OptWithPos() [2/2]

Slic3r::client::OptWithPos::OptWithPos ( ConfigOptionConstPtr  opt,
IteratorRange  it_range,
bool  writable = false 
)
inline
IteratorRange it_range
Definition PlaceholderParser.cpp:181
ConfigOptionConstPtr opt
Definition PlaceholderParser.cpp:177
bool writable
Definition PlaceholderParser.cpp:178

Member Function Documentation

◆ empty()

bool Slic3r::client::OptWithPos::empty ( ) const
inline
183{ return opt == nullptr; }

References opt.

◆ has_index()

bool Slic3r::client::OptWithPos::has_index ( ) const
inline

Member Data Documentation

◆ index

◆ it_range

◆ opt

◆ writable

bool Slic3r::client::OptWithPos::writable { false }

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