25 #ifndef _MUSICBRAINZ5_ATTRIBUTE_H
26 #define _MUSICBRAINZ5_ATTRIBUTE_H
33 #include "musicbrainz5/xmlParser.h"
37 class CAttributePrivate;
42 CAttribute(
const XMLNode& Node=XMLNode::emptyNode());
49 std::string
Text()
const;
51 virtual std::ostream&
Serialise(std::ostream& os)
const;
55 virtual void ParseAttribute(
const std::string& Name,
const std::string& Value);
59 CAttributePrivate *
const m_d;
virtual CAttribute * Clone()
CAttribute & operator=(const CAttribute &Other)
static std::string GetElementName()
CAttribute(const XMLNode &Node=XMLNode::emptyNode())
virtual void ParseElement(const XMLNode &Node)
Definition: Attribute.h:39
virtual void ParseAttribute(const std::string &Name, const std::string &Value)
virtual std::ostream & Serialise(std::ostream &os) const