#include <sbuild-parse-value.h>
Collaboration diagram for sbuild::parse_value:
Public Types | |
typedef parse_error | error |
Exception type. | |
Public Member Functions | |
parse_value (std::string const &value) | |
The constructor. | |
virtual | ~parse_value () |
The destructor. | |
template<typename T> | |
operator T (void) | |
Convert object into any type T. | |
Private Member Functions | |
bool | parse (bool &parsed_value) const |
Parse a boolean value. | |
bool | parse (std::string &parsed_value) const |
Parse a string value. | |
template<typename T> | |
bool | parse (T &parsed_value) const |
Parse a value of type T. | |
Private Attributes | |
std::string | value |
This is a wrapper around a string value, to convert it into any desired type.
|
Exception type.
|
|
The constructor.
|
|
The destructor.
|
|
Convert object into any type T.
Here is the call graph for this function: ![]() |
|
Parse a value of type T.
Here is the call graph for this function: ![]() |
|
Parse a string value.
|
|
Parse a boolean value.
|
|
|