CACAO
Public Member Functions | Private Member Functions | Private Attributes | Friends
InsertOnlyNameValuePair< Value > Struct Template Reference

Public Member Functions

 InsertOnlyNameValuePair ()
 
 InsertOnlyNameValuePair (Utf8String name, Value v)
 
Utf8String key () const
 
Valuevalue ()
 
const Valuevalue () const
 
Valueoperator-> ()
 
Valueoperator* ()
 

Private Member Functions

size_t hash () const
 Interface to HashTable. More...
 
bool is_empty () const
 
bool is_deleted () const
 
bool is_occupied () const
 
void set_empty ()
 
void set_deleted ()
 
void set_occupied (const InsertOnlyNameValuePair &n)
 
bool operator== (Utf8String u) const
 
bool operator== (const InsertOnlyNameValuePair &n) const
 

Private Attributes

Utf8String _name
 
Value _value
 

Friends

template<typename T , typename A >
struct HashTable
 

Detailed Description

template<typename Value>
struct InsertOnlyNameValuePair< Value >

Definition at line 617 of file hashtable.hpp.

Constructor & Destructor Documentation

template<typename Value >
InsertOnlyNameValuePair< Value >::InsertOnlyNameValuePair ( )
inline

Definition at line 618 of file hashtable.hpp.

template<typename Value >
InsertOnlyNameValuePair< Value >::InsertOnlyNameValuePair ( Utf8String  name,
Value  v 
)
inline

Definition at line 619 of file hashtable.hpp.

Member Function Documentation

template<typename Value >
size_t InsertOnlyNameValuePair< Value >::hash ( ) const
inlineprivate

Interface to HashTable.

Definition at line 633 of file hashtable.hpp.

template<typename Value >
bool InsertOnlyNameValuePair< Value >::is_deleted ( ) const
inlineprivate

Definition at line 636 of file hashtable.hpp.

template<typename Value >
bool InsertOnlyNameValuePair< Value >::is_empty ( ) const
inlineprivate

Definition at line 635 of file hashtable.hpp.

template<typename Value >
bool InsertOnlyNameValuePair< Value >::is_occupied ( ) const
inlineprivate

Definition at line 637 of file hashtable.hpp.

template<typename Value >
Utf8String InsertOnlyNameValuePair< Value >::key ( ) const
inline

Definition at line 621 of file hashtable.hpp.

template<typename Value >
Value& InsertOnlyNameValuePair< Value >::operator* ( )
inline

Definition at line 626 of file hashtable.hpp.

template<typename Value >
Value* InsertOnlyNameValuePair< Value >::operator-> ( )
inline

Definition at line 625 of file hashtable.hpp.

template<typename Value >
bool InsertOnlyNameValuePair< Value >::operator== ( Utf8String  u) const
inlineprivate

Definition at line 643 of file hashtable.hpp.

template<typename Value >
bool InsertOnlyNameValuePair< Value >::operator== ( const InsertOnlyNameValuePair< Value > &  n) const
inlineprivate

Definition at line 644 of file hashtable.hpp.

template<typename Value >
void InsertOnlyNameValuePair< Value >::set_deleted ( )
inlineprivate

Definition at line 640 of file hashtable.hpp.

template<typename Value >
void InsertOnlyNameValuePair< Value >::set_empty ( )
inlineprivate

Definition at line 639 of file hashtable.hpp.

template<typename Value >
void InsertOnlyNameValuePair< Value >::set_occupied ( const InsertOnlyNameValuePair< Value > &  n)
inlineprivate

Definition at line 641 of file hashtable.hpp.

template<typename Value >
Value& InsertOnlyNameValuePair< Value >::value ( )
inline

Definition at line 622 of file hashtable.hpp.

template<typename Value >
const Value& InsertOnlyNameValuePair< Value >::value ( ) const
inline

Definition at line 623 of file hashtable.hpp.

Friends And Related Function Documentation

template<typename Value >
template<typename T , typename A >
friend struct HashTable
friend

Definition at line 647 of file hashtable.hpp.

Field Documentation

template<typename Value >
Utf8String InsertOnlyNameValuePair< Value >::_name
private

Definition at line 628 of file hashtable.hpp.

template<typename Value >
Value InsertOnlyNameValuePair< Value >::_value
private

Definition at line 629 of file hashtable.hpp.


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