Added setValue(string).
This commit is contained in:
parent
c843f40ff3
commit
d9a7e2279b
@ -107,4 +107,10 @@ const std::vector <const component*> headerField::getChildComponents() const
|
||||
}
|
||||
|
||||
|
||||
void headerField::setValue(const string& value)
|
||||
{
|
||||
parse(value);
|
||||
}
|
||||
|
||||
|
||||
} // vmime
|
||||
|
@ -84,6 +84,12 @@ public:
|
||||
*/
|
||||
virtual void setValue(const component& value) = 0;
|
||||
|
||||
/** Set the value of this field given a character string.
|
||||
*
|
||||
* @param value value string to parse
|
||||
*/
|
||||
void setValue(const string& value);
|
||||
|
||||
|
||||
using component::parse;
|
||||
using component::generate;
|
||||
|
Loading…
Reference in New Issue
Block a user