47class ClusterGraphAttributes;
92 char *m_rLineBuffer, *m_lineBuffer, *m_pCurrent, *m_pStore,
m_cStore;
109 explicit Parser(std::istream& is,
bool doCheck =
false);
115 bool error()
const {
return m_error; }
Declaration and implementation of Array class and Array algorithms.
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
GML related enums and string conversion functions.
Includes declaration of graph class.
Contains logging functionality.
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
Basic declarations, included by all source files.
The parameterized class Array implements dynamic arrays of type E.
Representation of clusters in a clustered graph.
Stores additional attributes of a clustered graph (like layout information).
Representation of clustered graphs.
Polylines with PointType points.
Stores additional attributes of a graph (like layout information).
Data type for general directed graphs (adjacency list representation).
Level
supported log-levels from lowest to highest importance
Reads GML file and constructs GML parse tree.
void createObjectTree(std::istream &is, bool doCheck)
~Parser()
Destruction: destroys object tree.
Object * getNodeIdRange(int &minId, int &maxId)
Object * parseList(ObjectType closingKey)
Array< node > m_mapToNode
Parser(std::istream &is, bool doCheck=false)
void setError(const string &errorString, Logger::Level level=Logger::Level::Default)
ObjectType getNextSymbol()
void readLineAttribute(Object *object, DPolyline &dpl)
bool readCluster(Graph &G, ClusterGraph &CG, ClusterGraphAttributes *ACG=nullptr)
bool read(Graph &G, GraphAttributes &GA)
bool recursiveClusterRead(Object *clusterObject, ClusterGraph &CG, cluster c, ClusterGraphAttributes *ACG=nullptr)
Reads cluster subtree information recursively.
const char * m_stringSymbol
void destroyObjectList(Object *object)
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
Declaration of memory manager for allocating small pieces of memory.
The namespace for all OGDF objects.
Represents node in GML parse tree.
Object(Key k, double value)
Object(Key k, const char *value)