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

#include <ConfigBase.hpp>

Inheritance diagram for Slic3r::ConfigDef:
Slic3r::CLIConfigDef Slic3r::PrintConfigDef

Public Member Functions

ConfigOptionDefadd (const t_config_option_key &opt_key, ConfigOptionType type)
 
ConfigOptionDefadd (const t_config_option_key &opt_key, const ConfigOptionDef &def)
 
bool has (const t_config_option_key &opt_key) const
 
const ConfigOptionDefget (const t_config_option_key &opt_key) const
 
void merge (const ConfigDef &other)
 

Public Attributes

t_optiondef_map options
 

Detailed Description

Definition of configuration values for the purpose of GUI presentation, editing, value mapping and config file handling. The configuration definition is static: It does not carry the actual configuration values, but it carries the defaults of the configuration values.

Member Function Documentation

◆ add() [1/2]

ConfigOptionDef * Slic3r::ConfigDef::add ( const t_config_option_key opt_key,
ConfigOptionType  type 
)

◆ add() [2/2]

ConfigOptionDef * Slic3r::ConfigDef::add ( const t_config_option_key opt_key,
const ConfigOptionDef def 
)

◆ get()

const ConfigOptionDef * Slic3r::ConfigDef::get ( const t_config_option_key opt_key) const

◆ has()

bool Slic3r::ConfigDef::has ( const t_config_option_key opt_key) const

◆ merge()

void Slic3r::ConfigDef::merge ( const ConfigDef other)

Member Data Documentation

◆ options

t_optiondef_map Slic3r::ConfigDef::options

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