added accessors
authorjhurst <jhurst@cinecert.com>
Mon, 16 Jun 2008 07:04:51 +0000 (07:04 +0000)
committerjhurst <>
Mon, 16 Jun 2008 07:04:51 +0000 (07:04 +0000)
src/KM_xml.h

index 13070fca8e1ab387a672a09f4a31c62279770922..d8a444b4fe16eb88767fb626c324907e2978f329 100644 (file)
@@ -112,11 +112,14 @@ namespace Kumu
       void        RenderElement(std::string& outbuf, ui32_t depth) const;
 
       // querying
-      inline const std::string& GetBody() const { return m_Body; }
-      const char*    GetAttrWithName(const char* name) const;
-      XMLElement*    GetChildWithName(const char* name) const;
+      inline const std::string&   GetBody() const { return m_Body; }
+      inline const ElementList&   GetChildren() const { return m_ChildList; }
+      inline const std::string&   GetName() const { return m_Name; }
+      inline const AttributeList& GetAttributes() const { return m_AttrList; }
+      const char*        GetAttrWithName(const char* name) const;
+      XMLElement*        GetChildWithName(const char* name) const;
       const ElementList& GetChildrenWithName(const char* name, ElementList& outList) const;
-      bool           HasName(const char* name) const;
+      bool               HasName(const char* name) const;
 
     };
 } // namespace Kumu