ROSE  0.11.145.0
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 <util/Sawyer/GraphIteratorMap.h>

Public Member Functions

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

Constructor & Destructor Documentation

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

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.


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