DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::GraphVisitorRange< TGraphVisitor >::VertexAccessor Struct Reference

#include <DGtal/graph/GraphVisitorRange.h>

Public Types

typedef const Vertex value
 
typedef const Vertex value_type
 
typedef const Vertexpointer
 
typedef const Vertexreference
 

Static Public Member Functions

static reference get (const Node &node)
 

Detailed Description

template<typename TGraphVisitor>
struct DGtal::GraphVisitorRange< TGraphVisitor >::VertexAccessor

Allows to access the node as only the Vertex when iterating over the graph.

Definition at line 99 of file GraphVisitorRange.h.

Member Typedef Documentation

◆ pointer

template<typename TGraphVisitor >
typedef const Vertex* DGtal::GraphVisitorRange< TGraphVisitor >::VertexAccessor::pointer

Definition at line 102 of file GraphVisitorRange.h.

◆ reference

template<typename TGraphVisitor >
typedef const Vertex& DGtal::GraphVisitorRange< TGraphVisitor >::VertexAccessor::reference

Definition at line 103 of file GraphVisitorRange.h.

◆ value

template<typename TGraphVisitor >
typedef const Vertex DGtal::GraphVisitorRange< TGraphVisitor >::VertexAccessor::value

Definition at line 100 of file GraphVisitorRange.h.

◆ value_type

template<typename TGraphVisitor >
typedef const Vertex DGtal::GraphVisitorRange< TGraphVisitor >::VertexAccessor::value_type

Definition at line 101 of file GraphVisitorRange.h.

Member Function Documentation

◆ get()

template<typename TGraphVisitor >
static reference DGtal::GraphVisitorRange< TGraphVisitor >::VertexAccessor::get ( const Node & node)
inlinestatic

Definition at line 105 of file GraphVisitorRange.h.

106 { return node.first; }

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