Epetra Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
Epetra_HashTable< value_type > Class Template Reference

#include <Epetra_HashTable.h>

Inheritance diagram for Epetra_HashTable< value_type >:

Classes

struct  Node

Public Member Functions

 Epetra_HashTable (const int size, const unsigned int seed=(2654435761U))
 Epetra_HashTable (const Epetra_HashTable &obj)
 ~Epetra_HashTable ()
void Add (const long long key, const value_type value)
value_type Get (const long long key)
virtual void Print (std::ostream &os) const
virtual int ReportError (const std::string Message, int ErrorCode) const
 Error reporting method.
 Epetra_Object (int TracebackModeIn=-1, bool set_label=true)
 Epetra_Object Constructor.
 Epetra_Object (const char *const Label, int TracebackModeIn=-1)
 Epetra_Object Constructor.
 Epetra_Object (const Epetra_Object &Object)
 Epetra_Object Copy Constructor.
virtual ~Epetra_Object ()
 Epetra_Object Destructor.
virtual void SetLabel (const char *const Label)
 Epetra_Object Label definition using char *.
virtual const char * Label () const
 Epetra_Object Label access funtion.

Private Member Functions

int Func (const long long key)
Epetra_HashTableoperator= (const Epetra_HashTable &src)

Private Attributes

Node ** Container_
long long Size_
unsigned int Seed_

Additional Inherited Members

static void SetTracebackMode (int TracebackModeValue)
 Set the value of the Epetra_Object error traceback report mode.
static int GetTracebackMode ()
 Get the value of the Epetra_Object error report mode.
static std::ostream & GetTracebackStream ()
 Get the output stream for error reporting.
static int TracebackMode
std::string toString (const int &x) const
std::string toString (const long long &x) const
std::string toString (const double &x) const

Detailed Description

template<typename value_type>
class Epetra_HashTable< value_type >

Definition at line 50 of file Epetra_HashTable.h.

Constructor & Destructor Documentation

◆ Epetra_HashTable() [1/2]

template<typename value_type>
Epetra_HashTable< value_type >::Epetra_HashTable ( const int size,
const unsigned int seed = (2654435761U) )
inline

Definition at line 80 of file Epetra_HashTable.h.

◆ Epetra_HashTable() [2/2]

template<typename value_type>
Epetra_HashTable< value_type >::Epetra_HashTable ( const Epetra_HashTable< value_type > & obj)
inline

Definition at line 92 of file Epetra_HashTable.h.

◆ ~Epetra_HashTable()

template<typename value_type>
Epetra_HashTable< value_type >::~Epetra_HashTable ( )
inline

Definition at line 106 of file Epetra_HashTable.h.

Member Function Documentation

◆ Func()

template<typename value_type>
int Epetra_HashTable< value_type >::Func ( const long long key)
inlineprivate

Definition at line 73 of file Epetra_HashTable.h.

◆ Add()

template<typename value_type>
void Epetra_HashTable< value_type >::Add ( const long long key,
const value_type value )
inline

Definition at line 119 of file Epetra_HashTable.h.

◆ Get()

template<typename value_type>
value_type Epetra_HashTable< value_type >::Get ( const long long key)
inline

Definition at line 126 of file Epetra_HashTable.h.

◆ operator=()

template<typename value_type>
Epetra_HashTable & Epetra_HashTable< value_type >::operator= ( const Epetra_HashTable< value_type > & src)
inlineprivate

Definition at line 135 of file Epetra_HashTable.h.

Member Data Documentation

◆ Container_

template<typename value_type>
Node** Epetra_HashTable< value_type >::Container_
private

Definition at line 69 of file Epetra_HashTable.h.

◆ Size_

template<typename value_type>
long long Epetra_HashTable< value_type >::Size_
private

Definition at line 70 of file Epetra_HashTable.h.

◆ Seed_

template<typename value_type>
unsigned int Epetra_HashTable< value_type >::Seed_
private

Definition at line 71 of file Epetra_HashTable.h.


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