DGtal  1.5.beta
DGtal::concepts::CVertexPredicateArchetype< TVertex > Struct Template Reference

Aim: Defines a an archetype for concept CVertexPredicate. More...

#include <DGtal/graph/CVertexPredicateArchetype.h>

Inheritance diagram for DGtal::concepts::CVertexPredicateArchetype< TVertex >:
[legend]

Public Types

typedef CVertexPredicateArchetype< TVertex > Self
 
typedef TVertex Vertex
 

Public Member Functions

bool operator() (const Vertex &) const
 
Selfoperator= (const Self &)
 

Detailed Description

template<typename TVertex>
struct DGtal::concepts::CVertexPredicateArchetype< TVertex >

Aim: Defines a an archetype for concept CVertexPredicate.

Description of class 'CVertexPredicateArchetype'

Template Parameters
TVertexthe type chosen for vertices.

Definition at line 59 of file CVertexPredicateArchetype.h.

Member Typedef Documentation

◆ Self

template<typename TVertex >
typedef CVertexPredicateArchetype<TVertex> DGtal::concepts::CVertexPredicateArchetype< TVertex >::Self

Definition at line 61 of file CVertexPredicateArchetype.h.

◆ Vertex

template<typename TVertex >
typedef TVertex DGtal::concepts::CVertexPredicateArchetype< TVertex >::Vertex

Definition at line 62 of file CVertexPredicateArchetype.h.

Member Function Documentation

◆ operator()()

template<typename TVertex >
bool DGtal::concepts::CVertexPredicateArchetype< TVertex >::operator() ( const Vertex ) const
inline

Definition at line 63 of file CVertexPredicateArchetype.h.

64  { return true; }

◆ operator=()

template<typename TVertex >
Self& DGtal::concepts::CVertexPredicateArchetype< TVertex >::operator= ( const Self )
inline

Definition at line 65 of file CVertexPredicateArchetype.h.

66  {
67  return *this;
68  }

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