14 #ifndef _DWMXMLELEMENT_HH_ 15 #define _DWMXMLELEMENT_HH_ 33 Element(
const std::string & name,
const std::string & value =
"");
34 const std::string & Name()
const;
35 const std::string & Value()
const;
36 const std::string & Value(
const std::string & value);
37 const std::map<std::string,Attribute> & Attributes()
const;
38 const std::multimap<std::string,Element> & Children()
const;
40 bool AddAttribute(
const Attribute & attribute);
41 bool RemoveAttribute(
const std::string & attributeName);
42 bool AddElement(
const Element & element);
44 friend std::ostream & operator << (std::ostream & os,
45 const Element & element);
50 std::map<std::string,Attribute> _attributes;
51 std::multimap<std::string,Element> _children;
59 #endif // _DWMXMLELEMENT_HH_
Definition: DwmBZ2IO.hh:67