#include <attribute.h>
Public Methods | |
Attribute (const std::string &AttributeString, const std::string the_name) | |
Create an Attribute based on a XML attribute string. | |
Attribute (const Attribute &a_attribute) | |
Construct a clone of the class Attribute. More... | |
~Attribute () | |
destructor, free all the sub-informations. | |
const std::string & | String () const |
return the string corresponding to the attribute. | |
const bool | Bool () const |
return false if the attribute is "0" or "false" otherwise anything is considered true. | |
void | XmlElement (TiXmlElement &the_element_to_fill) |
a method to fill an XML element with the specified attribute informations. | |
bool | operator!= (const Attribute &the_object_to_compare) const |
Protected Attributes | |
std::string | m_String |
The string represented in the Attribute. It might be intrepreted by the inherited class. | |
std::string | m_AttrName |
The attribute name name="value". |
Definition at line 54 of file attribute.h.
|
Construct a clone of the class Attribute. Construct a clone of the class Attribute Definition at line 61 of file attribute.cxx. References m_AttrName, and m_String. |