add convenience methods

This commit is contained in:
Lee Thomason
2020-03-01 17:10:38 -08:00
parent 6ac05b2b9a
commit e444268103
2 changed files with 24 additions and 31 deletions

View File

@@ -1646,15 +1646,15 @@ public:
Convenience method to create a new XMLElement and add it as last (right)
child of this node. Returns the created and inserted element.
*/
XMLElement* PushNewChildElement(const char* name);
/// See PushNewChildElement()
XMLComment* PushNewChildComment(const char* comment);
/// See PushNewChildElement()
XMLText* PushNewChildText(const char* text);
/// See PushNewChildElement()
XMLDeclaration* PushNewChildDeclaration(const char* text);
/// See PushNewChildElement()
XMLUnknown* PushNewUnknown(const char* text);
XMLElement* InsertNewChildElement(const char* name);
/// See InsertNewChildElement()
XMLComment* InsertNewComment(const char* comment);
/// See InsertNewChildElement()
XMLText* InsertNewText(const char* text);
/// See InsertNewChildElement()
XMLDeclaration* InsertNewDeclaration(const char* text);
/// See InsertNewChildElement()
XMLUnknown* InsertNewUnknown(const char* text);
// internal: