#ifndef slic3r_PlaceholderParser_hpp_ #define slic3r_PlaceholderParser_hpp_ #include #include #include #include "PrintConfig.hpp" namespace Slic3r { class PlaceholderParser { public: std::map _single; std::map _multiple; PlaceholderParser(); void update_timestamp(); void apply_config(DynamicPrintConfig &config); void set(const std::string &key, const std::string &value); private: template void set_multiple_from_vector( const std::string &key, ConfigOptionVector &opt); std::string _int_to_string(int value) const; }; } #endif