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

#include <PlaceholderParser.hpp>

Public Member Functions

 PlaceholderParser ()
 
void update_timestamp ()
 
void apply_config (const DynamicPrintConfig &config)
 
void apply_env_variables ()
 
void set (const std::string &key, const std::string &value)
 
void set (const std::string &key, int value)
 
void set (const std::string &key, std::vector< std::string > values)
 
std::string process (std::string str) const
 

Public Attributes

t_strstr_map _single
 
t_strstrs_map _multiple
 

Constructor & Destructor Documentation

◆ PlaceholderParser()

Slic3r::PlaceholderParser::PlaceholderParser ( )

Member Function Documentation

◆ apply_config()

void Slic3r::PlaceholderParser::apply_config ( const DynamicPrintConfig config)

◆ apply_env_variables()

void Slic3r::PlaceholderParser::apply_env_variables ( )

◆ process()

std::string Slic3r::PlaceholderParser::process ( std::string  str) const

◆ set() [1/3]

void Slic3r::PlaceholderParser::set ( const std::string &  key,
const std::string &  value 
)

◆ set() [2/3]

void Slic3r::PlaceholderParser::set ( const std::string &  key,
int  value 
)

◆ set() [3/3]

void Slic3r::PlaceholderParser::set ( const std::string &  key,
std::vector< std::string >  values 
)

◆ update_timestamp()

void Slic3r::PlaceholderParser::update_timestamp ( )

Member Data Documentation

◆ _multiple

t_strstrs_map Slic3r::PlaceholderParser::_multiple

◆ _single

t_strstr_map Slic3r::PlaceholderParser::_single

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