ept::core::record::Parser Struct Reference

#include <record.h>

Inheritance diagram for ept::core::record::Parser:

Inheritance graph
[legend]
Collaboration diagram for ept::core::record::Parser:

Collaboration graph
[legend]

List of all members.

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>
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

Classes

struct  Default


Constructor & Destructor Documentation

ept::core::record::Parser::Parser (  )  [inline]

ept::core::record::Parser::Parser ( const std::string &  str  )  [inline]


Member Function Documentation

bool ept::core::record::Parser::parseBool ( bool &  def,
const std::string &  str 
) const [inline]

template<PropertyId p>
PropertyType< p >::T ept::core::record::Parser::parse ( typename PropertyType< p >::T  def,
std::string  data 
) [inline]

template<typename T>
T ept::core::record::Parser::parse ( const T &  def,
const std::string &  field 
) const [inline]

template<PropertyId p>
PropertyType< p >::T ept::core::record::Parser::get ( const typename PropertyType< p >::T &  def = Default< typename PropertyType< p >::T >::def  )  const [inline]

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]


The documentation for this struct was generated from the following file:

Generated on Sat Jul 26 12:38:51 2008 for libept by  doxygen 1.5.6