VMime
|
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 |
template<> | |
bool | getValue () const |
template<> | |
VMIME_EXPORT void | setValue (const string &value) |
template<> | |
VMIME_EXPORT void | setValue (const bool &value) |
template<> | |
VMIME_EXPORT string | getValue () const |
template<> | |
VMIME_EXPORT bool | 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.
const string & getName | ( | ) | const |
Return the name of the property.
const string & getValue | ( | ) | const |
Return the value of the property as a string.
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) |
string getValue | ( | ) | const |
bool getValue | ( | ) | const |
References stringUtils::toLower().
VMIME_EXPORT string getValue | ( | ) | const |
VMIME_EXPORT bool getValue | ( | ) | const |
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 |
void setValue | ( | const string & | value | ) |
void setValue | ( | const bool & | value | ) |
VMIME_EXPORT void setValue | ( | const string & | value | ) |
VMIME_EXPORT void setValue | ( | const bool & | value | ) |