CatapultServer  v0.5.0.1 (Elephant)
ConfigurationValueParsers.h File Reference
Include dependency graph for ConfigurationValueParsers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::utils
 

Functions

bool catapult::utils::TryParseValue (const std::string &str, LogLevel &parsedValue)
 Tries to parse str into a log level (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, LogSinkType &parsedValue)
 Tries to parse str into a log sink type (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, LogColorMode &parsedValue)
 Tries to parse str into a log color mode (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, bool &parsedValue)
 Tries to parse str into a boolean (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, uint8_t &parsedValue)
 Tries to parse str into a uint8_t (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, uint16_t &parsedValue)
 Tries to parse str into a uint16_t (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, uint32_t &parsedValue)
 Tries to parse str into a uint32_t (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, uint64_t &parsedValue)
 Tries to parse str into a uint64_t (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, Amount &parsedValue)
 Tries to parse str into an Amount (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, BlockFeeMultiplier &parsedValue)
 Tries to parse str into a BlockFeeMultiplier (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, Height &parsedValue)
 Tries to parse str into a Height (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, Importance &parsedValue)
 Tries to parse str into an Importance (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, MosaicId &parsedValue)
 Tries to parse str into a MosaicId (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, TimeSpan &parsedValue)
 Tries to parse str into a TimeSpan (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, BlockSpan &parsedValue)
 Tries to parse str into a BlockSpan (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, FileSize &parsedValue)
 Tries to parse str into a FileSize (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, Key &parsedValue)
 Tries to parse str into a Key (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, Hash256 &parsedValue)
 Tries to parse str into a Hash256 (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, GenerationHash &parsedValue)
 Tries to parse str into a GenerationHash (parsedValue). More...
 
bool catapult::utils::TryParseValue (const std::string &str, std::string &parsedValue)
 
bool catapult::utils::TryParseValue (const std::string &str, std::unordered_set< std::string > &parsedValue)
 
template<typename T , size_t N>
bool catapult::utils::TryParseEnumValue (const std::array< std::pair< const char *, T >, N > &stringToValueMapping, const std::string &str, T &parsedValue)
 Tries to parse str into an enum value (parsedValue) given a mapping of strings to values (stringToValueMapping). More...
 
template<typename T , size_t N>
bool catapult::utils::TryParseBitwiseEnumValue (const std::array< std::pair< const char *, T >, N > &stringToValueMapping, const std::string &str, T &parsedValues)
 Tries to parse str into a bitwise enum value (parsedValue) given a mapping of strings to values (stringToValueMapping). More...