GMLGraphBuilder3tulip
Usage
Inherits GMLTrue.
Public Member Functions
virtual ~GMLGraphBuilder ()
GMLGraphBuilder (Graph *graph)
bool addNode (int id)
edge addEdge (int idSource, int idTarget)
bool setNodeValue (int nodeId, const string propertyName, string value)
bool setNodeValue (int nodeId, const string propertyName, double value)
bool setNodeValue (int nodeId, const string propertyName, int value)
bool setNodeValue (int nodeId, const string propertyName, bool value)
bool setNodeValue (int nodeId, const string propertyName, Coord value)
bool setNodeValue (int nodeId, const string propertyName, Size value)
bool setNodeValue (int nodeId, const string propertyName, Color value)
bool setEdgeValue (edge e, const string &propertyName, string value)
bool setEdgeValue (edge e, const string &propertyName, int value)
bool setEdgeValue (edge e, const string &propertyName, bool value)
bool setEdgeValue (edge e, const string &propertyName, double value)
void setEdgeValue (edge e, const LineType::RealType &lCoord)
bool setAllNodeValue (const string propertyType, const string propertyName, string value)
bool setAllEdgeValue (const string &propertyType, const string &propertyName, string value)
bool addStruct (const string &structName, GMLBuilder *&newBuilder)
Public Attributes
Graph * _graph
map< int, node > nodeIndex