TARAXA
Loading...
Searching...
No Matches
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

namespace  Json
 
namespace  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, const std::string &value={})
 
uint64_t taraxa::getConfigDataAsUInt (const Json::Value &root, const std::vector< std::string > &path, bool optional=false, uint32_t value=0)
 
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)