KiCad PCB EDA Suite
Loading...
Searching...
No Matches
json_settings.cpp File Reference
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <utility>
#include <sstream>
#include <locale_io.h>
#include <gal/color4d.h>
#include <settings/json_settings.h>
#include <settings/json_settings_internals.h>
#include <settings/nested_settings.h>
#include <settings/parameters.h>
#include <settings/bom_settings.h>
#include <settings/grid_settings.h>
#include <settings/aui_settings.h>
#include <wx/aui/framemanager.h>
#include <wx/config.h>
#include <wx/debug.h>
#include <wx/fileconf.h>
#include <wx/filename.h>
#include <wx/gdicmn.h>
#include <wx/log.h>
#include <wx/stdstream.h>
#include <wx/wfstream.h>

Go to the source code of this file.

Functions

template KICOMMON_API std::optional< std::string > JSON_SETTINGS::Get< std::string > (const std::string &aPath) const
 
template KICOMMON_API std::optional< nlohmann::json > JSON_SETTINGS::Get< nlohmann::json > (const std::string &aPath) const
 
template KICOMMON_API std::optional< KIGFX::COLOR4DJSON_SETTINGS::Get< KIGFX::COLOR4D > (const std::string &aPath) const
 
template KICOMMON_API void JSON_SETTINGS::Set< std::string > (const std::string &aPath, std::string aValue)
 
template KICOMMON_API void JSON_SETTINGS::Set< nlohmann::json > (const std::string &aPath, nlohmann::json aValue)
 
template KICOMMON_API void JSON_SETTINGS::Set< KIGFX::COLOR4D > (const std::string &aPath, KIGFX::COLOR4D aValue)
 

Function Documentation

◆ JSON_SETTINGS::Get< KIGFX::COLOR4D >()

template KICOMMON_API std::optional< KIGFX::COLOR4D > JSON_SETTINGS::Get< KIGFX::COLOR4D > ( const std::string &  aPath) const

◆ JSON_SETTINGS::Get< nlohmann::json >()

template KICOMMON_API std::optional< nlohmann::json > JSON_SETTINGS::Get< nlohmann::json > ( const std::string &  aPath) const

◆ JSON_SETTINGS::Get< std::string >()

template KICOMMON_API std::optional< std::string > JSON_SETTINGS::Get< std::string > ( const std::string &  aPath) const

◆ JSON_SETTINGS::Set< KIGFX::COLOR4D >()

template KICOMMON_API void JSON_SETTINGS::Set< KIGFX::COLOR4D > ( const std::string &  aPath,
KIGFX::COLOR4D  aValue 
)

◆ JSON_SETTINGS::Set< nlohmann::json >()

template KICOMMON_API void JSON_SETTINGS::Set< nlohmann::json > ( const std::string &  aPath,
nlohmann::json  aValue 
)

◆ JSON_SETTINGS::Set< std::string >()

template KICOMMON_API void JSON_SETTINGS::Set< std::string > ( const std::string &  aPath,
std::string  aValue 
)