|
VMime
|
#include <propertySet.hpp>


Public Member Functions | |
| property (const string &name, const string &value) | |
| property (const string &name) | |
| property (const property &prop) | |
| const string & | getName () const |
| const string & | getValue () const |
| void | setValue (const string &value) |
| template<class TYPE> | |
| void | setValue (const TYPE &value) |
| template<class TYPE> | |
| TYPE | getValue () const |
| template<> | |
| void | setValue (const string &value) |
| template<> | |
| void | setValue (const bool &value) |
| template<> | |
| string | getValue () const |
Additional Inherited Members | |
| Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
A property holds a (name,value) pair.
Referenced by property().
| property | ( | const string & | name | ) |
| property | ( | const property & | prop | ) |
References object::object(), and property().
| const string & getName | ( | ) | const |
Return the name of the property.
| VMIME_EXPORT bool getValue | ( | ) | const |
| TYPE getValue | ( | ) | const |
Get the value of the property as a generic type.
| exceptions::invalid_property_type | if the specified type is incompatible with the string value (cannot be converted using std::istringstream) |
| const string & getValue | ( | ) | const |
Return the value of the property as a string.
| VMIME_EXPORT void setValue | ( | const bool & | value | ) |
| void setValue | ( | const string & | value | ) |
Set the value of the property as a string.
| value | new value for property |
| void setValue | ( | const TYPE & | value | ) |
Set the value of the property as a generic type.
| value | new value for property |