Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
HashTemplateClass< KeyType, ValueType > Class Template Reference

#include <hashtemplate.h>

Public Types

enum  { NIL = -1 }
 

Public Member Functions

 HashTemplateClass (void)
 
 ~HashTemplateClass (void)
 
void Insert (const KeyType &s, const ValueType &d)
 
void Set_Value (const KeyType &s, const ValueType &d)
 
void Remove (const KeyType &s)
 
void Remove (const KeyType &s, const ValueType &d)
 
ValueType Get (const KeyType &s) const
 
bool Get (const KeyType &s, ValueType &d) const
 
bool Exists (const KeyType &s) const
 
bool Exists (const KeyType &s, const ValueType &d) const
 
void Remove_All (void)
 
unsigned int Get_Size (void) const
 
int * Get_Hash ()
 
Entry * Get_Table ()
 

Detailed Description

template<class KeyType, class ValueType>
class HashTemplateClass< KeyType, ValueType >

Definition at line 74 of file hashtemplate.h.

Member Enumeration Documentation

◆ anonymous enum

template<class KeyType, class ValueType>
anonymous enum
Enumerator
NIL 

Definition at line 79 of file hashtemplate.h.

Constructor & Destructor Documentation

◆ HashTemplateClass()

template<class KeyType, class ValueType>
HashTemplateClass< KeyType, ValueType >::HashTemplateClass ( void )
inline

Definition at line 398 of file hashtemplate.h.

◆ ~HashTemplateClass()

template<class KeyType, class ValueType>
HashTemplateClass< KeyType, ValueType >::~HashTemplateClass ( void )
inline

Definition at line 403 of file hashtemplate.h.

Member Function Documentation

◆ Exists() [1/2]

template<class KeyType, class ValueType>
bool HashTemplateClass< KeyType, ValueType >::Exists ( const KeyType & s) const
inline

Definition at line 308 of file hashtemplate.h.

◆ Exists() [2/2]

template<class KeyType, class ValueType>
bool HashTemplateClass< KeyType, ValueType >::Exists ( const KeyType & s,
const ValueType & d ) const
inline

Definition at line 322 of file hashtemplate.h.

◆ Get() [1/2]

template<class KeyType, class ValueType>
ValueType HashTemplateClass< KeyType, ValueType >::Get ( const KeyType & s) const
inline

Definition at line 277 of file hashtemplate.h.

◆ Get() [2/2]

template<class KeyType, class ValueType>
bool HashTemplateClass< KeyType, ValueType >::Get ( const KeyType & s,
ValueType & d ) const
inline

Definition at line 291 of file hashtemplate.h.

◆ Get_Hash()

template<class KeyType, class ValueType>
int * HashTemplateClass< KeyType, ValueType >::Get_Hash ( )
inline

Definition at line 98 of file hashtemplate.h.

◆ Get_Size()

template<class KeyType, class ValueType>
unsigned int HashTemplateClass< KeyType, ValueType >::Get_Size ( void ) const
inline

Definition at line 191 of file hashtemplate.h.

◆ Get_Table()

template<class KeyType, class ValueType>
Entry * HashTemplateClass< KeyType, ValueType >::Get_Table ( )
inline

Definition at line 99 of file hashtemplate.h.

◆ Insert()

template<class KeyType, class ValueType>
void HashTemplateClass< KeyType, ValueType >::Insert ( const KeyType & s,
const ValueType & d )
inline

Definition at line 180 of file hashtemplate.h.

◆ Remove() [1/2]

template<class KeyType, class ValueType>
void HashTemplateClass< KeyType, ValueType >::Remove ( const KeyType & s)
inline

Definition at line 213 of file hashtemplate.h.

◆ Remove() [2/2]

template<class KeyType, class ValueType>
void HashTemplateClass< KeyType, ValueType >::Remove ( const KeyType & s,
const ValueType & d )
inline

Definition at line 237 of file hashtemplate.h.

◆ Remove_All()

template<class KeyType, class ValueType>
void HashTemplateClass< KeyType, ValueType >::Remove_All ( void )
inline

Definition at line 196 of file hashtemplate.h.

◆ Set_Value()

template<class KeyType, class ValueType>
void HashTemplateClass< KeyType, ValueType >::Set_Value ( const KeyType & s,
const ValueType & d )
inline

Definition at line 262 of file hashtemplate.h.


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