OrcaSlicer latest
OrcaSlicer
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
225{}

◆ OptWithPos() [2/2]

Slic3r::client::OptWithPos::OptWithPos ( ConfigOptionConstPtr opt,
IteratorRange it_range,
bool writable = false )
inline
IteratorRange it_range
Definition PlaceholderParser.cpp:231
ConfigOptionConstPtr opt
Definition PlaceholderParser.cpp:227
bool writable
Definition PlaceholderParser.cpp:228

References it_range, opt, and writable.

Member Function Documentation

◆ empty()

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

References opt.

◆ has_index()

bool Slic3r::client::OptWithPos::has_index ( ) const
inline
234{ return index != -1; }
int index
Definition PlaceholderParser.cpp:230

References index.

Referenced by Slic3r::client::MyContext::copy_vector_variable_to_vector_variable(), Slic3r::client::MyContext::vector_variable_element_assign_scalar(), and Slic3r::client::MyContext::vector_variable_new_from_copy().

Here is the caller graph for this function:

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: