ROSE 0.11.145.147
Public Member Functions | List of all members
Sawyer::Container::GraphVertexNoKey< VertexValue > Class Template Reference

Description

template<class VertexValue>
class Sawyer::Container::GraphVertexNoKey< VertexValue >

Type of vertex key for graphs that do not index their vertices.

This is the default vertex key type, VKey argument, for the Graph template. In order to index graph vertices you must provide at least the vertex key type which must have a copy constructor and a constructor that takes a vertex value argument. Depending on the index type obtained from GraphIndexTraits, this key type may need additional functionality such as a default constructor and a less-than operator or hashing function.

Definition at line 89 of file Graph.h.

#include <Sawyer/Graph.h>

Public Member Functions

 GraphVertexNoKey (const VertexValue &)
 

Constructor & Destructor Documentation

◆ GraphVertexNoKey() [1/2]

template<class VertexValue >
Sawyer::Container::GraphVertexNoKey< VertexValue >::GraphVertexNoKey ( )
inline

Definition at line 91 of file Graph.h.

◆ GraphVertexNoKey() [2/2]

template<class VertexValue >
Sawyer::Container::GraphVertexNoKey< VertexValue >::GraphVertexNoKey ( const VertexValue &  )
inlineexplicit

Definition at line 92 of file Graph.h.


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