![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/Config.hpp>
Inheritance diagram for Slic3r::ConfigOptionEnum< T >:
Collaboration diagram for Slic3r::ConfigOptionEnum< T >:Public Member Functions | |
| ConfigOptionEnum () | |
| ConfigOptionEnum (T _value) | |
| ConfigOptionType | type () const override |
| ConfigOption * | clone () const override |
| ConfigOptionEnum< T > & | operator= (const ConfigOption *opt) |
| bool | operator== (const ConfigOptionEnum< T > &rhs) const throw () |
| bool | operator< (const ConfigOptionEnum< T > &rhs) const throw () |
| int | getInt () const override |
| void | setInt (int val) override |
| bool | operator== (const ConfigOption &rhs) const override |
| void | set (const ConfigOption *rhs) override |
| std::string | serialize () const override |
| bool | deserialize (const std::string &str, bool append=false) override |
| operator T () const | |
| bool | operator== (const T &rhs) const throw () |
| bool | operator!= (const T &rhs) const throw () |
| bool | operator!= (const ConfigOption &rhs) const |
| bool | operator< (const T &rhs) const throw () |
| size_t | hash () const override throw () |
| virtual double | getFloat () const |
| virtual bool | getBool () const |
| bool | is_scalar () const |
| bool | is_vector () const |
| virtual bool | nullable () const |
| virtual bool | is_nil () const |
| virtual bool | overriden_by (const ConfigOption *rhs) const |
| virtual bool | apply_override (const ConfigOption *rhs) |
Static Public Member Functions | |
| static ConfigOptionType | static_type () |
| static bool | has (T value) |
| static const t_config_enum_names & | get_enum_names () |
| static const t_config_enum_values & | get_enum_values () |
| static bool | from_string (const std::string &str, T &value) |
Public Attributes | |
| T | value |
|
inline |
|
inlineexplicit |
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionVector< T >, Slic3r::ConfigOptionVector< double >, Slic3r::ConfigOptionVector< FloatOrPercent >, Slic3r::ConfigOptionVector< int >, Slic3r::ConfigOptionVector< std::string >, Slic3r::ConfigOptionVector< unsigned char >, and Slic3r::ConfigOptionVector< Vec2d >.
Referenced by Slic3r::print_config_diffs().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
References Slic3r::append(), Slic3r::ConfigOptionEnum< T >::from_string(), and UNUSED.
Here is the call graph for this function:
|
inlinestatic |
References Slic3r::ConfigOptionEnum< T >::get_enum_values(), and Slic3r::ConfigOptionSingle< T >::value.
Referenced by Slic3r::ConfigOptionEnum< T >::deserialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by Slic3r::PrintConfigDef::init_sla_params(), Slic3r::PrintConfigDef::init_sla_support_params(), Slic3r::ConfigOptionEnum< T >::serialize(), and Slic3r::ConfigOptionEnumDef::set_enum_map().
Here is the caller graph for this function:
|
static |
Referenced by Slic3r::ConfigOptionEnum< T >::from_string(), Slic3r::ConfigOptionEnum< T >::has(), Slic3r::Fill::new_from_type(), and Slic3r::ConfigOptionEnumDef::set_enum_map().
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionBool.
Referenced by Slic3r::client::MyContext::scalar_variable_to_expr().
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionFloat.
Referenced by Slic3r::GUI::TabSLAMaterial::build(), Slic3r::GUI::get_string_value(), Slic3r::client::MyContext::scalar_variable_to_expr(), and Slic3r::GUI::Sidebar::update_sliced_info_sizer().
Here is the caller graph for this function:
|
inlineoverridevirtual |
|
inlinestatic |
References Slic3r::ConfigOptionEnum< T >::get_enum_values(), and Slic3r::ConfigOptionSingle< T >::value.
Here is the call graph for this function:
|
inlineoverridevirtualinherited | |||||||||||||
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionVectorBase, Slic3r::ConfigOptionFloatsTempl< NULLABLE >, Slic3r::ConfigOptionIntsTempl< NULLABLE >, Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >, and Slic3r::ConfigOptionBoolsTempl< NULLABLE >.
Referenced by Slic3r::GCode::append_full_config(), Slic3r::client::MyContext::copy_vector_variable_to_vector_variable(), Slic3r::GUI::ConfigOptionsGroup::get_config_value(), Slic3r::GUI::get_full_label(), Slic3r::GUI::get_string_value(), Slic3r::client::MyContext::is_nil_test(), Slic3r::client::MyContext::legacy_variable_expansion(), Slic3r::print_config_diffs(), Slic3r::client::MyContext::scalar_variable_to_expr(), Slic3r::validate(), and Slic3r::client::MyContext::vector_variable_new_from_copy().
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::coVectorType, and Slic3r::ConfigOption::type().
Referenced by Slic3r::PresetBundle::full_fff_config(), Slic3r::client::MyContext::is_nil_test(), Slic3r::ConfigOption::is_vector(), Slic3r::client::MyContext::legacy_variable_expansion(), Slic3r::PresetBundle::load_config_file_config(), Slic3r::client::MyContext::scalar_variable_assign_scalar(), Slic3r::client::MyContext::scalar_variable_to_expr(), Slic3r::client::MyContext::vector_variable_assign_array(), Slic3r::client::MyContext::vector_variable_assign_initializer_list(), and Slic3r::client::MyContext::vector_variable_new_from_array().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::ConfigOption::is_scalar().
Referenced by Slic3r::client::MyContext::copy_vector_variable_to_vector_variable(), Slic3r::client::MyContext::is_nil_test(), Slic3r::client::MyContext::is_vector_empty(), Slic3r::client::MyContext::legacy_variable_expansion(), Slic3r::client::MyContext::legacy_variable_expansion2(), Slic3r::DynamicConfig::read_cli(), Slic3r::client::MyContext::scalar_variable_assign_scalar_expression(), Slic3r::client::MyContext::scalar_variable_new_from_scalar_expression(), Slic3r::client::MyContext::store_variable_index(), Slic3r::ExtruderFilaments::update_compatible_internal(), Slic3r::client::MyContext::variable_value(), Slic3r::client::MyContext::vector_element_to_expr(), Slic3r::client::MyContext::vector_size(), Slic3r::client::MyContext::vector_variable_element_assign_scalar(), and Slic3r::client::MyContext::vector_variable_new_from_copy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionFloatsTempl< NULLABLE >, Slic3r::ConfigOptionIntsTempl< NULLABLE >, Slic3r::ConfigOptionFloatsOrPercentsTempl< NULLABLE >, and Slic3r::ConfigOptionBoolsTempl< NULLABLE >.
Referenced by Slic3r::ConfigOptionVector< T >::apply_override(), Slic3r::ConfigBase::null_nullables(), Slic3r::ConfigOption::overriden_by(), Slic3r::ConfigOptionVector< T >::overriden_by(), Slic3r::ConfigBase::set_deserialize_raw(), and Slic3r::validate().
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
|
inlineinherited | ||||||||||||||
|
inline | ||||||||||||||
|
inlineinherited | ||||||||||||||
|
inline |
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
References Slic3r::ConfigOption::getInt(), and Slic3r::ConfigOption::type().
Here is the call graph for this function:
|
inline | ||||||||||||||
|
inlineinherited | ||||||||||||||
|
inlinevirtualinherited |
Reimplemented in Slic3r::ConfigOptionVector< T >, Slic3r::ConfigOptionVector< double >, Slic3r::ConfigOptionVector< FloatOrPercent >, Slic3r::ConfigOptionVector< int >, Slic3r::ConfigOptionVector< std::string >, Slic3r::ConfigOptionVector< unsigned char >, and Slic3r::ConfigOptionVector< Vec2d >.
References Slic3r::ConfigOption::nullable().
Referenced by Slic3r::print_config_diffs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
References Slic3r::ConfigOptionEnum< T >::get_enum_names(), and Slic3r::ConfigOptionSingle< T >::value.
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
References Slic3r::ConfigOption::getInt(), and Slic3r::ConfigOption::type().
Referenced by Slic3r::ConfigOptionEnum< T >::operator=().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from Slic3r::ConfigOption.
|
inlinestatic |
References Slic3r::coEnum.
Referenced by Slic3r::ConfigOptionEnum< T >::type().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements Slic3r::ConfigOption.
References Slic3r::ConfigOptionEnum< T >::static_type().
Here is the call graph for this function:
|
inherited |
Referenced by Slic3r::GUI::GLCanvas3D::_render_overlays(), Slic3r::GCodeProcessor::apply_config(), Slic3r::GCodeProcessor::apply_config(), Slic3r::apply_to_print_region_config(), Slic3r::GUI::ColourPicker::BUILD(), Slic3r::GUI::StaticText::BUILD(), Slic3r::GUI::BedShapePanel::build_panel(), Slic3r::clamp_exturder_to_default(), Slic3r::PrinterPresetCollection::default_preset_for(), Slic3r::Flow::extrusion_width(), Slic3r::first_positive(), Slic3r::PrintRegion::flow(), Slic3r::ConfigOptionEnum< T >::from_string(), Slic3r::GUI::Materials::get_filament_vendor(), Slic3r::GUI::Materials::get_material_type(), Slic3r::GUI::Materials::get_material_vendor(), Slic3r::PrintHost::get_print_host(), get_printer_technology(), Slic3r::get_raster_params(), Slic3r::GUI::get_string_value(), Slic3r::ConfigOptionEnum< T >::getInt(), Slic3r::PrintConfigDef::handle_legacy(), Slic3r::handle_legacy_project_loaded(), Slic3r::handle_legacy_sla(), Slic3r::ConfigOptionEnum< T >::has(), Slic3r::ConfigOptionSingle< T >::hash(), Slic3r::PrintObject::invalidate_state_by_config_options(), Slic3r::PresetHints::maximum_volumetric_flow_description(), Slic3r::min_object_distance(), Slic3r::GUI::GLGizmoHollow::on_render_input_window(), Slic3r::ConfigOptionSingle< bool >::operator bool(), Slic3r::ConfigOptionSingle< T >::operator==(), Slic3r::DynamicConfig::read_cli(), Slic3r::CLI::run(), Slic3r::client::MyContext::scalar_variable_to_expr(), Slic3r::ConfigOptionEnum< T >::serialize(), Slic3r::ConfigOptionSingle< T >::set(), Slic3r::ConfigOptionVector< T >::set(), Slic3r::ConfigOptionVector< T >::set_at(), Slic3r::GUI::Plater::set_bed_shape(), Slic3r::CLI::setup(), Slic3r::AvoidCrossingPerimeters::travel_to(), Slic3r::GUI::ConfigManipulation::update_print_fff_config(), and Slic3r::validate().