ROSE 0.11.145.192
Public Member Functions | List of all members
Sawyer::Container::GraphIteratorMap< K, V >::Node Class Reference

Description

template<class K, class V>
class Sawyer::Container::GraphIteratorMap< K, V >::Node

The data stored at each node of the map.

Definition at line 35 of file GraphIteratorMap.h.

#include <Sawyer/GraphIteratorMap.h>

Public Member Functions

 Node (const Key &key, const Value &value)
 Constructor.
 
const Keykey () const
 Access the key of this node.
 
Valuevalue ()
 Access the value of this node.
 
const Valuevalue () const
 Access the value of this node.
 

Constructor & Destructor Documentation

◆ Node()

template<class K , class V >
Sawyer::Container::GraphIteratorMap< K, V >::Node::Node ( const Key key,
const Value value 
)
inline

Constructor.

Definition at line 40 of file GraphIteratorMap.h.

Member Function Documentation

◆ key()

template<class K , class V >
const Key & Sawyer::Container::GraphIteratorMap< K, V >::Node::key ( ) const
inline

Access the key of this node.

Keys are read-only since they're used to sort the container for efficient lookups.

Definition at line 46 of file GraphIteratorMap.h.

◆ value() [1/2]

template<class K , class V >
Value & Sawyer::Container::GraphIteratorMap< K, V >::Node::value ( )
inline

Access the value of this node.

Definition at line 51 of file GraphIteratorMap.h.

◆ value() [2/2]

template<class K , class V >
const Value & Sawyer::Container::GraphIteratorMap< K, V >::Node::value ( ) const
inline

Access the value of this node.

Definition at line 52 of file GraphIteratorMap.h.


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