libmoost
|
Classes | |
class | base |
class | typed_base |
class | cfile |
class | cnumber |
class | cregex |
Typedefs | |
typedef std::map< std::string, std::string > | constraints_map_t |
Functions | |
boost::shared_ptr< base > | file (const std::string &file, bool must_exist=true) |
template<typename T > | |
boost::shared_ptr< base > | number (const T &num, const T &min=std::numeric_limits< T >::min(), const T &max=std::numeric_limits< T >::max()) |
boost::shared_ptr< base > | regex (const std::string &text, const std::string ®ex, boost::smatch *results=0, boost::regex_constants::match_flag_type match_flags=boost::regex_constants::match_default) |
typedef std::map<std::string, std::string> moost::service::validator::constraints_map_t |
Definition at line 50 of file option_validator.hpp.
boost::shared_ptr<base> moost::service::validator::file | ( | const std::string & | file, |
bool | must_exist = true |
||
) | [inline] |
boost::shared_ptr<base> moost::service::validator::number | ( | const T & | num, |
const T & | min = std::numeric_limits<T>::min() , |
||
const T & | max = std::numeric_limits<T>::max() |
||
) | [inline] |
Definition at line 188 of file option_validator.hpp.
boost::shared_ptr<base> moost::service::validator::regex | ( | const std::string & | text, |
const std::string & | regex, | ||
boost::smatch * | results = 0 , |
||
boost::regex_constants::match_flag_type | match_flags = boost::regex_constants::match_default |
||
) | [inline] |