summaryrefslogtreecommitdiff
path: root/src/KM_xml.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2009-03-19 05:36:45 +0000
committerjhurst <>2009-03-19 05:36:45 +0000
commit1a1e7cb31f631cd5205b1a4ce9cd4c031fafb5d1 (patch)
tree585a8caf44f53d0ae622855e79b79028242dc4cb /src/KM_xml.h
parent9eaedba3c8ea1c00b849cb4f41288e00cdd49e87 (diff)
fun with XML
Diffstat (limited to 'src/KM_xml.h')
-rw-r--r--src/KM_xml.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/KM_xml.h b/src/KM_xml.h
index d8a444b..8e02596 100644
--- a/src/KM_xml.h
+++ b/src/KM_xml.h
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2005-2008, John Hurst
+Copyright (c) 2005-2009, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -100,6 +100,7 @@ namespace Kumu
// building
void SetName(const char* name);
+ void SetBody(const std::string& value);
void AppendBody(const std::string& value);
void SetAttr(const char* name, const char* value);
XMLElement* AddChild(XMLElement* element);
@@ -121,6 +122,12 @@ namespace Kumu
const ElementList& GetChildrenWithName(const char* name, ElementList& outList) const;
bool HasName(const char* name) const;
+ // altering
+ void DeleteAttributes();
+ void DeleteAttrWithName(const char* name);
+ void DeleteChildren();
+ void DeleteChild(const XMLElement* element);
+ void ForgetChild(const XMLElement* element);
};
} // namespace Kumu