TARAXA
config_utils.hpp File Reference
#include <cstdint>
#include <string>
#include <vector>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Json
 
 taraxa
 

Functions

std::string taraxa::getConfigErr (const std::vector< std::string > &path)
 
Json::Value taraxa::getConfigData (Json::Value root, const std::vector< std::string > &path, bool optional=false)
 
std::string taraxa::getConfigDataAsString (const Json::Value &root, const std::vector< std::string > &path, bool optional=false, std::string value={})
 
uint32_t taraxa::getConfigDataAsUInt (const Json::Value &root, const std::vector< std::string > &path, bool optional=false, uint32_t value=0)
 
uint64_t taraxa::getConfigDataAsUInt64 (const Json::Value &root, const std::vector< std::string > &path)
 
bool taraxa::getConfigDataAsBoolean (const Json::Value &root, const std::vector< std::string > &path, bool optional=false, bool value=false)
 
Json::Value taraxa::getJsonFromFileOrString (const Json::Value &value)