Open
Graph Drawing
Framework

 v.2012.05
 

ogdf::XmlAttributeObject Struct Reference

#include <ogdf/fileformats/DinoXmlParser.h>

List of all members.

Public Member Functions

 XmlAttributeObject (HashedString *name, HashedString *value)
 ~XmlAttributeObject ()
const StringgetName () const
const StringgetValue () const
const bool & valid () const
void setValid ()
void setInvalid ()

Public Attributes

HashedStringm_pAttributeName
HashedStringm_pAttributeValue
XmlAttributeObjectm_pNextAttribute
bool m_valid

Detailed Description

This struct represents an attribute associated to a tag.

Definition at line 71 of file DinoXmlParser.h.


Constructor & Destructor Documentation

Constructor

Definition at line 87 of file DinoXmlParser.h.

Destructor; will be performed in destroyParseTree().

Definition at line 94 of file DinoXmlParser.h.


Member Function Documentation

const String& ogdf::XmlAttributeObject::getName ( ) const [inline]

Getter.

Definition at line 100 of file DinoXmlParser.h.

const String& ogdf::XmlAttributeObject::getValue ( ) const [inline]

Definition at line 104 of file DinoXmlParser.h.

Definition at line 117 of file DinoXmlParser.h.

Setter.

Definition at line 113 of file DinoXmlParser.h.

const bool& ogdf::XmlAttributeObject::valid ( ) const [inline]

Definition at line 108 of file DinoXmlParser.h.


Member Data Documentation

Contains the name of the attribute, i.e. for ... it contains "attr1"

Definition at line 76 of file DinoXmlParser.h.

Contains the value assigned to this attribute without qoutes, i.e. for ... it contains "value1" and not "\"value1"".

Definition at line 81 of file DinoXmlParser.h.

Pointer to the next attribute and 0 if this is the only attribute.

Definition at line 84 of file DinoXmlParser.h.

Flag denotes whether attribute is valid or not.

Definition at line 94 of file DinoXmlParser.h.


The documentation for this struct was generated from the following file: