Thea
List of all members
IsGraph< T > Class Template Reference

Checks if a class is a graph that allows iterating over all vertices. More...

#include <GraphType.hpp>

Detailed Description

template<typename T>
class Thea::IsGraph< T >

Checks if a class is a graph that allows iterating over all vertices.

The class T must define the following types:

VertexHandle // Handle to a vertex of the graph.
VertexConstHandle // Const handle to a vertex of the graph.
VertexIterator // Iterator over vertices.
VertexConstIterator // Const iterator over vertices.

and implement the following functions:

intx numVertices() const;
Vertex[Const]Iterator verticesBegin() [const];
Vertex[Const]Iterator verticesEnd() [const];
Vertex[Const]Handle getVertex(Vertex[Const]Iterator) [const];

Definition at line 43 of file GraphType.hpp.


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