Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Dasher::alphabet_map Class Reference

#include </home/clem/local/src/opie/inputmethods/dasher/AlphabetMap.h>

List of all members.

Public Member Functions

 alphabet_map (uint InitialTableSize=255)
void Add (const std::string &Key, symbol Value)
symbol Get (const std::string &Key, bool *KeyIsPrefix=0) const

Private Member Functions

void RecursiveAdd (const std::string &Key, symbol Value, bool PrefixFlag)
uint Hash (const std::string &Input) const

Private Attributes

std::vector< EntryEntries
std::vector< Entry * > HashTable
const symbol Undefined

Classes

class  Entry


Constructor & Destructor Documentation

Dasher::alphabet_map::alphabet_map uint  InitialTableSize = 255  ) 
 


Member Function Documentation

void alphabet_map::Add const std::string &  Key,
symbol  Value
 

Definition at line 21 of file AlphabetMap.cpp.

References RecursiveAdd().

Referenced by Dasher::CAlphabet::AddChar().

symbol alphabet_map::Get const std::string &  Key,
bool *  KeyIsPrefix = 0
const
 

Definition at line 72 of file AlphabetMap.cpp.

References Hash(), HashTable, i, and Undefined.

Referenced by Dasher::CAlphabet::GetSymbols().

uint Dasher::alphabet_map::Hash const std::string &  Input  )  const [inline, private]
 

Definition at line 82 of file AlphabetMap.h.

References end, and HashTable.

Referenced by Get(), and RecursiveAdd().

void alphabet_map::RecursiveAdd const std::string &  Key,
symbol  Value,
bool  PrefixFlag
[private]
 

Definition at line 27 of file AlphabetMap.cpp.

References Entries, Hash(), HashTable, i, and Undefined.

Referenced by Add().


Member Data Documentation

std::vector<Entry> Dasher::alphabet_map::Entries [private]
 

Definition at line 105 of file AlphabetMap.h.

Referenced by RecursiveAdd().

std::vector<Entry*> Dasher::alphabet_map::HashTable [private]
 

Definition at line 106 of file AlphabetMap.h.

Referenced by Get(), Hash(), and RecursiveAdd().

const symbol Dasher::alphabet_map::Undefined [private]
 

Definition at line 107 of file AlphabetMap.h.

Referenced by Get(), and RecursiveAdd().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:58:23 2005 for OPIE by  doxygen 1.4.2