OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
DevConfigUtil.h File Reference

Parses configuration files and provides access to printer options. More...

#include <cassert>
#include <string>
#include <map>
#include <unordered_map>
#include <vector>
#include <algorithm>
#include <cctype>
#include <boost/log/trivial.hpp>
#include <boost/nowide/fstream.hpp>
#include <nlohmann/json.hpp>
#include <wx/string.h>
#include "slic3r/GUI/DeviceCore/DevDefs.h"
Include dependency graph for DevConfigUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Slic3r::dePrinterConfigFactory
class  Slic3r::DevPrinterConfigUtil

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/

Enumerations

enum class  Slic3r::ToolHeadComponent { Slic3r::Extruder , Slic3r::Nozzle , Slic3r::Hotend }
 Toolhead component type (extruder / nozzle / hotend). More...
enum class  Slic3r::ToolHeadNameCase { Slic3r::TitleCase = 0 , Slic3r::SentenceCase = 1 , Slic3r::LowerCase = 2 }
 Name case style for toolhead display names. More...

Functions

static std::string Slic3r::_parse_printer_type (const std::string &type_str)

Detailed Description

Parses configuration files and provides access to printer options.

This class loads a configuration file and allows querying options by key. The configuration file format is expected to be key-value pairs (e.g., INI or simple text).

Definition in file DevConfigUtil.h.