DGtal  1.4.2
DGtal::GraphVisitorRange< TGraphVisitor >::NodeAccessor Struct Reference

#include <DGtal/graph/GraphVisitorRange.h>

Public Types

typedef const Node value
 
typedef const Node value_type
 
typedef const Nodepointer
 
typedef const Nodereference
 

Static Public Member Functions

static reference get (const Node &node)
 

Detailed Description

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

Allows to access the node as the pair (Vertex,distance) when iterating over the graph.

Definition at line 85 of file GraphVisitorRange.h.

Member Typedef Documentation

◆ pointer

template<typename TGraphVisitor >
typedef const Node* DGtal::GraphVisitorRange< TGraphVisitor >::NodeAccessor::pointer

Definition at line 88 of file GraphVisitorRange.h.

◆ reference

template<typename TGraphVisitor >
typedef const Node& DGtal::GraphVisitorRange< TGraphVisitor >::NodeAccessor::reference

Definition at line 89 of file GraphVisitorRange.h.

◆ value

template<typename TGraphVisitor >
typedef const Node DGtal::GraphVisitorRange< TGraphVisitor >::NodeAccessor::value

Definition at line 86 of file GraphVisitorRange.h.

◆ value_type

template<typename TGraphVisitor >
typedef const Node DGtal::GraphVisitorRange< TGraphVisitor >::NodeAccessor::value_type

Definition at line 87 of file GraphVisitorRange.h.

Member Function Documentation

◆ get()

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

Definition at line 91 of file GraphVisitorRange.h.

92  { return node; }

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