Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Friends | List of all members
CoreHashTableNode< K, V, C > Class Template Reference

Public Member Functions

const K & get_key (void) const
 
const V & get_value (void) const
 
V & get_value (void)
 
void set_value (const V &value)
 

Friends

class CoreHashTableIterator< K, V, C >
 

Detailed Description

template<class K, class V, bool C>
class CoreHashTableNode< K, V, C >

This is a wrapper returned by the dereferencing operator of CoreHashTableIterator. This class is used to manipulate the hash table's elements when iterating over them using a range-for C++11 loop, but it should NEVER be persisted, stored, etc.

Member Function Documentation

template<typename K , typename V , bool C>
const K & CoreHashTableNode< K, V, C >::get_key ( void  ) const
inline

Get the key as an immutable reference.

template<typename K , typename V , bool C>
const V & CoreHashTableNode< K, V, C >::get_value ( void  ) const
inline

Get the value as an immutable reference.

template<class K, class V, bool C>
V& CoreHashTableNode< K, V, C >::get_value ( void  )
inline

Get the value as a mutable reference.

template<class K, class V, bool C>
void CoreHashTableNode< K, V, C >::set_value ( const V &  value)
inline

Set the value.