Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

TestIntSharedTbl.C File Reference

#include <Basics.H>
#include "IntKey.H"
#include "SharedTable.H"

Go to the source code of this file.

Typedefs

typedef SharedTable< IntKey,
int >::KVPair 
IntIntPair
typedef SharedTable< IntKey,
int >::T 
IntIntSTbl
typedef SharedTable< IntKey,
int >::Iterator 
IntIntSIter

Functions

void RunTest (IntIntSTbl &tbl, Word numEntries) throw ()
int main ()

Variables

const Word Factor = 2
const Word MinEntries = 10
const Word MaxEntries = 170000


Typedef Documentation

typedef SharedTable<IntKey,int>::KVPair IntIntPair
 

Definition at line 34 of file TestIntSharedTbl.C.

typedef SharedTable<IntKey,int>::Iterator IntIntSIter
 

Definition at line 36 of file TestIntSharedTbl.C.

typedef SharedTable<IntKey,int>::T IntIntSTbl
 

Definition at line 35 of file TestIntSharedTbl.C.


Function Documentation

int main void   ) 
 

Definition at line 93 of file TestIntSharedTbl.C.

References Factor, MaxEntries, MinEntries, and RunTest().

void RunTest IntIntSTbl tbl,
Word  numEntries
throw ()
 

Definition at line 38 of file TestIntSharedTbl.C.

References SharedTable< K, V >::KVPair::key, NEW_CONSTR, NEW_PTRFREE_ARRAY, SharedTable< K, V >::Iterator::Next(), SharedTable< K, V >::Iterator::Reset(), and SharedTable< K, V >::KVPair::val.

Referenced by main().


Variable Documentation

const Word Factor = 2
 

Definition at line 30 of file TestIntSharedTbl.C.

Referenced by main().

const Word MaxEntries = 170000
 

Definition at line 32 of file TestIntSharedTbl.C.

Referenced by main().

const Word MinEntries = 10
 

Definition at line 31 of file TestIntSharedTbl.C.

Referenced by main().


Generated on Mon May 8 00:49:00 2006 for Vesta by  doxygen 1.4.2