Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::gml::Object Struct Reference

Represents node in GML parse tree. More...

#include <ogdf/fileformats/GmlParser.h>

Public Member Functions

 Object (Key k)
 
 Object (Key k, const char *value)
 
 Object (Key k, double value)
 
 Object (Key k, int value)
 

Public Attributes

union {
   double   doubleValue
 
   int   intValue
 
   Object *   pFirstSon
 
   const char *   stringValue
 
}; 
 
Key key
 
ObjectpBrother
 
ObjectType valueType
 

Detailed Description

Represents node in GML parse tree.

Definition at line 44 of file GmlParser.h.

Constructor & Destructor Documentation

◆ Object() [1/4]

ogdf::gml::Object::Object ( Key  k,
int  value 
)
inline

Definition at line 63 of file GmlParser.h.

◆ Object() [2/4]

ogdf::gml::Object::Object ( Key  k,
double  value 
)
inline

Definition at line 66 of file GmlParser.h.

◆ Object() [3/4]

ogdf::gml::Object::Object ( Key  k,
const char *  value 
)
inline

Definition at line 69 of file GmlParser.h.

◆ Object() [4/4]

ogdf::gml::Object::Object ( Key  k)
inline

Definition at line 72 of file GmlParser.h.

Member Data Documentation

◆ @5

union { ... }

◆ doubleValue

double ogdf::gml::Object::doubleValue

Definition at line 57 of file GmlParser.h.

◆ intValue

int ogdf::gml::Object::intValue

Definition at line 56 of file GmlParser.h.

◆ key

Key ogdf::gml::Object::key

Definition at line 46 of file GmlParser.h.

◆ pBrother

Object* ogdf::gml::Object::pBrother

Definition at line 45 of file GmlParser.h.

◆ pFirstSon

Object* ogdf::gml::Object::pFirstSon

Definition at line 59 of file GmlParser.h.

◆ stringValue

const char* ogdf::gml::Object::stringValue

Definition at line 58 of file GmlParser.h.

◆ valueType

ObjectType ogdf::gml::Object::valueType

Definition at line 47 of file GmlParser.h.


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