mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-21 06:37:42 +01:00
Provide an add method for a char* value
This commit is contained in:
parent
25141680e2
commit
e04dca0e13
@ -99,6 +99,14 @@ public:
|
||||
}
|
||||
|
||||
|
||||
void add(const std::string& name, const char* value)
|
||||
/// Creates an element with the given name and value
|
||||
// adds it to the document.
|
||||
{
|
||||
addElement(new ConcreteElement<std::string>(name, std::string(value)));
|
||||
}
|
||||
|
||||
|
||||
void clear();
|
||||
/// Removes all elements from the document.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user