Reads GML file and constructs GML parse tree.
More...
#include <ogdf/fileformats/GmlParser.h>
Reads GML file and constructs GML parse tree.
Definition at line 130 of file GmlParser.h.
◆ GmlParser()
| ogdf::GmlParser::GmlParser |
( |
istream & |
is, |
|
|
bool |
doCheck = false |
|
) |
| |
|
explicit |
◆ ~GmlParser()
| ogdf::GmlParser::~GmlParser |
( |
| ) |
|
Destruction: destroys object tree.
◆ clusterRead()
◆ createObjectTree()
| void ogdf::GmlParser::createObjectTree |
( |
istream & |
is, |
|
|
bool |
doCheck |
|
) |
| |
|
private |
◆ destroyObjectList()
| void ogdf::GmlParser::destroyObjectList |
( |
GmlObject * |
object | ) |
|
|
private |
◆ error()
| bool ogdf::GmlParser::error |
( |
| ) |
const |
|
inline |
◆ errorString()
| const string& ogdf::GmlParser::errorString |
( |
| ) |
const |
|
inline |
◆ getLine()
| bool ogdf::GmlParser::getLine |
( |
| ) |
|
|
private |
◆ getNextSymbol()
| int ogdf::GmlParser::getNextSymbol |
( |
| ) |
|
|
private |
◆ getNodeIdRange()
| GmlObject* ogdf::GmlParser::getNodeIdRange |
( |
int & |
minId, |
|
|
int & |
maxId |
|
) |
| |
|
private |
◆ hashString()
| GmlKey ogdf::GmlParser::hashString |
( |
const string & |
str | ) |
|
|
private |
◆ id()
| int ogdf::GmlParser::id |
( |
GmlObject * |
object | ) |
const |
|
inline |
◆ indent()
| void ogdf::GmlParser::indent |
( |
ostream & |
os, |
|
|
int |
d |
|
) |
| |
|
private |
◆ initPredefinedKeys()
| void ogdf::GmlParser::initPredefinedKeys |
( |
| ) |
|
|
private |
◆ output()
| void ogdf::GmlParser::output |
( |
ostream & |
os, |
|
|
GmlObject * |
object, |
|
|
int |
d |
|
) |
| |
|
private |
◆ parseList()
| GmlObject* ogdf::GmlParser::parseList |
( |
int |
closingKey, |
|
|
int |
errorKey |
|
) |
| |
|
private |
◆ read() [1/2]
| bool ogdf::GmlParser::read |
( |
Graph & |
G | ) |
|
◆ read() [2/2]
◆ readCluster()
◆ readClusterAttributes()
◆ readLineAttribute()
◆ recursiveClusterRead()
Reads cluster subtree information recursively.
◆ setError()
| void ogdf::GmlParser::setError |
( |
const char * |
errorString | ) |
|
|
private |
◆ m_cStore
| char ogdf::GmlParser::m_cStore |
|
private |
◆ m_doCheck
| bool ogdf::GmlParser::m_doCheck |
|
private |
◆ m_doubleSymbol
| double ogdf::GmlParser::m_doubleSymbol |
|
private |
◆ m_error
| bool ogdf::GmlParser::m_error |
|
private |
◆ m_errorString
| string ogdf::GmlParser::m_errorString |
|
private |
◆ m_graphObject
◆ m_hashTable
| Hashing<string,int> ogdf::GmlParser::m_hashTable |
|
private |
◆ m_intSymbol
| int ogdf::GmlParser::m_intSymbol |
|
private |
◆ m_is
| istream* ogdf::GmlParser::m_is |
|
private |
◆ m_keySymbol
| GmlKey ogdf::GmlParser::m_keySymbol |
|
private |
◆ m_lineBuffer
| char * ogdf::GmlParser::m_lineBuffer |
|
private |
◆ m_longString
| string ogdf::GmlParser::m_longString |
|
private |
◆ m_mapToNode
◆ m_num
| int ogdf::GmlParser::m_num |
|
private |
◆ m_objectTree
◆ m_pCurrent
| char * ogdf::GmlParser::m_pCurrent |
|
private |
◆ m_pStore
| char * ogdf::GmlParser::m_pStore |
|
private |
◆ m_rLineBuffer
| char* ogdf::GmlParser::m_rLineBuffer |
|
private |
◆ m_stringSymbol
| const char* ogdf::GmlParser::m_stringSymbol |
|
private |
The documentation for this class was generated from the following file: