Added setValue(string).

This commit is contained in:
Vincent Richard 2005-01-02 15:17:54 +00:00
parent c843f40ff3
commit d9a7e2279b
2 changed files with 12 additions and 0 deletions

View File

@ -107,4 +107,10 @@ const std::vector <const component*> headerField::getChildComponents() const
}
void headerField::setValue(const string& value)
{
parse(value);
}
} // vmime

View File

@ -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;