ept::core::record::Parser Struct Reference
#include <record.h>
List of all members.
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 |
Constructor & Destructor Documentation
ept::core::record::Parser::Parser |
( |
|
) |
[inline] |
ept::core::record::Parser::Parser |
( |
const std::string & |
str |
) |
[inline] |
Member Function Documentation
template<>
std::string ept::core::record::Parser::get |
( |
const std::string & |
def |
) |
const [inline] |
template<>
std::string ept::core::record::Parser::get |
( |
const std::string & |
def |
) |
const [inline] |
template<>
int ept::core::record::Parser::parse |
( |
const int & |
def, |
|
|
const std::string & |
str | |
|
) |
| | const [inline] |
template<typename T >
T ept::core::record::Parser::parse |
( |
const T & |
def, |
|
|
const std::string & |
field | |
|
) |
| | const [inline] |
bool ept::core::record::Parser::parseBool |
( |
bool & |
def, |
|
|
const std::string & |
str | |
|
) |
| | const [inline] |
The documentation for this struct was generated from the following file: