|
| bool | helics::fileops::hasJsonExtension (std::string_view jsonString) |
| |
| bool | helics::fileops::looksLikeConfigJson (std::string_view jsonString) |
| |
| nlohmann::json | helics::fileops::loadJson (const std::string &jsonString) |
| |
| nlohmann::json | helics::fileops::loadJsonStr (std::string_view jsonString) |
| |
| helics::Time | helics::fileops::loadJsonTime (const nlohmann::json &timeElement, time_units defaultUnits) |
| |
| std::string | helics::fileops::getName (const nlohmann::json &element) |
| |
| std::string | helics::fileops::generateJsonString (const nlohmann::json &block, bool hexConvert) |
| |
|
std::string | helics::fileops::JsonAsString (const nlohmann::json &element) |
| |
|
std::string | helics::fileops::getOrDefault (const nlohmann::json &element, const std::string &key, std::string_view defVal) |
| |
|
double | helics::fileops::getOrDefault (const nlohmann::json &element, const std::string &key, double defVal) |
| |
|
bool | helics::fileops::getOrDefault (const nlohmann::json &element, const std::string &key, bool defVal) |
| |
|
int64_t | helics::fileops::getOrDefault (const nlohmann::json &element, const std::string &key, int64_t defVal) |
| |
|
bool | helics::fileops::callIfMember (const nlohmann::json &element, const std::string &key, const std::function< void(const std::string &, helics::Time)> &call) |
| |
|
bool | helics::fileops::callIfMember (const nlohmann::json &element, const std::string &key, const std::function< void(const std::string &, bool)> &call) |
| |
|
bool | helics::fileops::callIfMember (const nlohmann::json &element, const std::string &key, const std::function< void(const std::string &, int)> &call) |
| |
|
bool | helics::fileops::callIfMember (const nlohmann::json &element, const std::string &key, const std::function< void(const std::string &)> &call) |
| |
|
void | helics::fileops::replaceIfMember (const nlohmann::json &element, const std::string &key, helics::Time &timeVal) |
| |
|
void | helics::fileops::replaceIfMember (const nlohmann::json &element, const std::string &key, std::string &sval) |
| |
|
void | helics::fileops::replaceIfMember (const nlohmann::json &element, const std::string &key, bool &bval) |
| |
|
void | helics::fileops::replaceIfMember (const nlohmann::json &element, const std::string &key, int &sval) |
| |
|
void | helics::fileops::replaceIfMember (const nlohmann::json &element, const std::string &key, double &sval) |
| |
functions related to loading and evaluating JSON files and helper functions for reading them using the jsoncpp library