aimsgui  5.1.2
aims::QSqlGraphDatabase::CurrentGraphData Struct Reference

This structure stores information needed to help and speed-up graph queries in SQL databases. More...

#include <aims/graph/qsqlgraphdatabase.h>

Collaboration diagram for aims::QSqlGraphDatabase::CurrentGraphData:

Public Member Functions

 CurrentGraphData (int eid, Graph *g)
 
bool operator== (const CurrentGraphData &) const
 

Public Attributes

int gid
 
Graphgraph
 
std::map< int, int > vertexindex2eid
 
std::map< Vertex *, int > vertexeid
 
std::map< int, int > edgeindex2eid
 
std::map< Edge *, int > edgeeid
 

Detailed Description

This structure stores information needed to help and speed-up graph queries in SQL databases.

It is required for several methods of the QSqlGraphDatabase class. It must be intantiated, then filled with the database information, using the fillGraphData method.

Definition at line 86 of file qsqlgraphdatabase.h.

Constructor & Destructor Documentation

◆ CurrentGraphData()

aims::QSqlGraphDatabase::CurrentGraphData::CurrentGraphData ( int  eid,
Graph g 
)
inline

Definition at line 88 of file qsqlgraphdatabase.h.

Member Function Documentation

◆ operator==()

bool aims::QSqlGraphDatabase::CurrentGraphData::operator== ( const CurrentGraphData other) const
inline

Definition at line 338 of file qsqlgraphdatabase.h.

Member Data Documentation

◆ edgeeid

std::map<Edge *, int> aims::QSqlGraphDatabase::CurrentGraphData::edgeeid

Definition at line 96 of file qsqlgraphdatabase.h.

◆ edgeindex2eid

std::map<int, int> aims::QSqlGraphDatabase::CurrentGraphData::edgeindex2eid

Definition at line 95 of file qsqlgraphdatabase.h.

◆ gid

int aims::QSqlGraphDatabase::CurrentGraphData::gid

Definition at line 91 of file qsqlgraphdatabase.h.

◆ graph

Graph* aims::QSqlGraphDatabase::CurrentGraphData::graph

Definition at line 92 of file qsqlgraphdatabase.h.

◆ vertexeid

std::map<Vertex *, int> aims::QSqlGraphDatabase::CurrentGraphData::vertexeid

Definition at line 94 of file qsqlgraphdatabase.h.

◆ vertexindex2eid

std::map<int, int> aims::QSqlGraphDatabase::CurrentGraphData::vertexindex2eid

Definition at line 93 of file qsqlgraphdatabase.h.


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