Tulip Plugins
Public Member Functions | Public Attributes
GMLGraphBuilder Struct Reference
Inheritance diagram for GMLGraphBuilder:
Inheritance graph
[legend]
Collaboration diagram for GMLGraphBuilder:
Collaboration graph
[legend]

List of all members.

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, const string &, string)
bool setEdgeValue (edge, const string &, int)
bool setEdgeValue (edge, const string &, bool)
bool setEdgeValue (edge, const string &, double)
void setEdgeValue (edge e, const LineType::RealType &lCoord)
bool setAllNodeValue (const string, const string, string)
bool setAllEdgeValue (const string &, const string &, string)
bool addStruct (const string &structName, GMLBuilder *&newBuilder)

Public Attributes

Graph * _graph
map< int, node > nodeIndex

Constructor & Destructor Documentation

virtual GMLGraphBuilder::~GMLGraphBuilder ( ) [inline, virtual]
GMLGraphBuilder::GMLGraphBuilder ( Graph *  graph) [inline]

Member Function Documentation

edge GMLGraphBuilder::addEdge ( int  idSource,
int  idTarget 
) [inline]
bool GMLGraphBuilder::addNode ( int  id) [inline]
bool GMLGraphBuilder::addStruct ( const string &  structName,
GMLBuilder *&  newBuilder 
)
bool GMLGraphBuilder::setAllEdgeValue ( const string &  ,
const string &  ,
string   
) [inline]

Set all the edges values of the property 1st param, of type 2nd param to the value 3rd param.

bool GMLGraphBuilder::setAllNodeValue ( const string  ,
const string  ,
string   
) [inline]
void GMLGraphBuilder::setEdgeValue ( edge  e,
const LineType::RealType &  lCoord 
) [inline]
bool GMLGraphBuilder::setEdgeValue ( edge  ,
const string &  ,
string   
) [inline]

Set the values of the property 2st param on the edge 1st param, to the value 3rd param.

bool GMLGraphBuilder::setEdgeValue ( edge  ,
const string &  ,
int   
) [inline]

Set the values of the property 2st param on the edge 1st param, to the value 3rd param.

bool GMLGraphBuilder::setEdgeValue ( edge  ,
const string &  ,
double   
) [inline]

Set the values of the property 2st param on the edge 1st param, to the value 3rd param.

bool GMLGraphBuilder::setEdgeValue ( edge  ,
const string &  ,
bool   
) [inline]

Set the values of the property 2st param on the edge 1st param, to the value 3rd param.

bool GMLGraphBuilder::setNodeValue ( int  nodeId,
const string  propertyName,
double  value 
) [inline]
bool GMLGraphBuilder::setNodeValue ( int  nodeId,
const string  propertyName,
int  value 
) [inline]
bool GMLGraphBuilder::setNodeValue ( int  nodeId,
const string  propertyName,
Coord  value 
) [inline]
bool GMLGraphBuilder::setNodeValue ( int  nodeId,
const string  propertyName,
bool  value 
) [inline]
bool GMLGraphBuilder::setNodeValue ( int  nodeId,
const string  propertyName,
Size  value 
) [inline]
bool GMLGraphBuilder::setNodeValue ( int  nodeId,
const string  propertyName,
Color  value 
) [inline]
bool GMLGraphBuilder::setNodeValue ( int  nodeId,
const string  propertyName,
string  value 
) [inline]

Member Data Documentation