Public Member Functions | |
const SmartUtil::tstring & | getName () const |
Returns the name of the attribute. | |
const SmartUtil::tstring & | getNamespace () const |
Returns the namespace of the attribute. | |
const SmartUtil::tstring & | getNamespaceAlias () const |
Returns the namespace of the attribute. | |
XmlAttribute (XmlNode *parentNode, const SmartUtil::tstring &name, const SmartUtil::tstring &content, const SmartUtil::tstring &inNamespace) | |
Constructor creating an XML attribute with the given name and the given content. | |
XmlAttribute (XmlNode *parentNode, const SmartUtil::tstring &name, const SmartUtil::tstring &content) | |
Constructor creating an XML attribute with the given name and the given content. | |
Friends | |
std::basic_ostream< TCHAR > & | operator<< (std::basic_ostream< TCHAR > &, const XmlDocument &writer) |
An XML document can be written to any ostream through usage of the insertion operator (<<). |
class for encapsulating an XML attribute class is immutable (meaning values can't change after object is created)
XmlAttribute | ( | XmlNode * | parentNode, | |
const SmartUtil::tstring & | name, | |||
const SmartUtil::tstring & | content | |||
) |
Constructor creating an XML attribute with the given name and the given content.
Created the attribute in the DEFAULT namespace
XmlAttribute | ( | XmlNode * | parentNode, | |
const SmartUtil::tstring & | name, | |||
const SmartUtil::tstring & | content, | |||
const SmartUtil::tstring & | inNamespace | |||
) |
Constructor creating an XML attribute with the given name and the given content.
Created the attribute in the GIVEN namespace