This struct represents an attribute associated to a tag. More...
#include <ogdf/fileformats/XmlParser.h>
Public Member Functions | |
| XmlAttributeObject (HashedString *name, HashedString *value) | |
| Constructor. More... | |
| ~XmlAttributeObject () | |
| Destructor; will be performed in destroyParseTree(). More... | |
| const string & | getName () const |
| Getter. More... | |
| const string & | getValue () const |
| void | setInvalid () |
| void | setValid () |
| Setter. More... | |
| bool | valid () const |
Public Attributes | |
| HashedString * | m_pAttributeName |
| Contains the name of the attribute, i.e. More... | |
| HashedString * | m_pAttributeValue |
| Contains the value assigned to this attribute without qoutes, i.e. More... | |
| XmlAttributeObject * | m_pNextAttribute |
| Pointer to the next attribute and 0 if this is the only attribute. More... | |
| bool | m_valid |
| Flag denotes whether attribute is valid or not (default: invalid). More... | |
This struct represents an attribute associated to a tag.
Definition at line 47 of file XmlParser.h.
|
inline |
Constructor.
Definition at line 66 of file XmlParser.h.
|
inline |
Destructor; will be performed in destroyParseTree().
Definition at line 74 of file XmlParser.h.
|
inline |
Getter.
Definition at line 77 of file XmlParser.h.
|
inline |
Definition at line 81 of file XmlParser.h.
|
inline |
Definition at line 94 of file XmlParser.h.
|
inline |
Setter.
Definition at line 90 of file XmlParser.h.
|
inline |
Definition at line 85 of file XmlParser.h.
| HashedString* ogdf::XmlAttributeObject::m_pAttributeName |
Contains the name of the attribute, i.e.
for ... it contains "attr1"
Definition at line 52 of file XmlParser.h.
| HashedString* ogdf::XmlAttributeObject::m_pAttributeValue |
Contains the value assigned to this attribute without qoutes, i.e.
for ... it contains "value1" and not "\"value1"".
Definition at line 57 of file XmlParser.h.
| XmlAttributeObject* ogdf::XmlAttributeObject::m_pNextAttribute |
Pointer to the next attribute and 0 if this is the only attribute.
Definition at line 60 of file XmlParser.h.
| bool ogdf::XmlAttributeObject::m_valid |
Flag denotes whether attribute is valid or not (default: invalid).
Definition at line 63 of file XmlParser.h.