#include <record.h>
Classes | |
struct | Default |
Public Member Functions | |
bool | parseBool (bool &def, const std::string &str) const |
Parser () | |
Parser (const std::string &str) | |
template<PropertyId p> | |
PropertyType< p >::T | parse (typename PropertyType< p >::T def, std::string data) |
template<typename T > | |
T | parse (const T &def, const std::string &field) const |
template<PropertyId p> | |
PropertyType< p >::T | get (const typename PropertyType< p >::T &def=Default< typename PropertyType< p >::T >::def) const |
template<> | |
std::string | get (const std::string &def) const |
template<> | |
std::string | get (const std::string &def) const |
template<> | |
int | parse (const int &def, const std::string &str) const |
ept::core::record::Parser::Parser | ( | ) | [inline] |
ept::core::record::Parser::Parser | ( | const std::string & | str | ) | [inline] |
std::string ept::core::record::Parser::get | ( | const std::string & | def | ) | const [inline] |
std::string ept::core::record::Parser::get | ( | const std::string & | def | ) | const [inline] |
PropertyType< p >::T ept::core::record::Parser::get | ( | const typename PropertyType< p >::T & | def = Default< typename PropertyType< p >::T >::def |
) | const [inline] |
References ept::core::record::fields, and ept::core::record::RecordParser::lookup().
Referenced by ept::core::record::Source::getInternal().
int ept::core::record::Parser::parse | ( | const int & | def, | |
const std::string & | str | |||
) | const [inline] |
T ept::core::record::Parser::parse | ( | const T & | def, | |
const std::string & | field | |||
) | const [inline] |
PropertyType< p >::T ept::core::record::Parser::parse | ( | typename PropertyType< p >::T | def, | |
std::string | data | |||
) | [inline] |
bool ept::core::record::Parser::parseBool | ( | bool & | def, | |
const std::string & | str | |||
) | const [inline] |