cmlabs::Dictionary Class Reference

#include <Dictionary.h>

Inheritance diagram for cmlabs::Dictionary:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::Dictionary:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Dictionary ()
 Dictionary (const JString &xml)
 Dictionary (XMLNode *node)
virtual ~Dictionary ()
 Dictionary (const Dictionary &c)
const Dictionaryoperator= (const Dictionary &c)
bool addAll (const CollectionBase *c)
bool addAll (const CollectionBase &c)
bool contains (const JString &key) const
bool containsIgnoreCase (const JString &key) const
JString get (int pos)
JString get (int pos) const
JString get (const JString &key) const
JString take (int pos)
JString take (const JString &key)
JString getIgnoreCase (const JString &key) const
JString operator[] (int pos) const
JString operator[] (const JString &key) const
Collection getAllKeys ()
bool put (const JString &key, const JString &value)
bool remove (const JString &key)
bool remove (int pos)
bool putFirst (const JString &key, const JString &value)
bool putLast (const JString &key, const JString &value)
bool putAfter (int pos, const JString &key, const JString &value)
JString getFirst ()
JString getLast ()
JString getNext ()
JString getPrevious ()
int getPos (const JString &value) const
int getPosKey (const JString &key) const
JString getKey (int pos)
JString getKey (int pos) const
JString getFirstKey ()
JString getLastKey ()
JString getNextKey ()
JString getPreviousKey ()
bool removeNoDelete (int pos)
bool removeAllNoDelete ()
void noDelete ()
void doDelete ()
bool unitTest ()


Detailed Description

Definition at line 39 of file Dictionary.h.


Constructor & Destructor Documentation

cmlabs::Dictionary::Dictionary (  ) 

Definition at line 33 of file Dictionary.cpp.

cmlabs::Dictionary::Dictionary ( const JString xml  ) 

Definition at line 38 of file Dictionary.cpp.

cmlabs::Dictionary::Dictionary ( XMLNode node  ) 

Definition at line 42 of file Dictionary.cpp.

cmlabs::Dictionary::~Dictionary (  )  [virtual]

Definition at line 47 of file Dictionary.cpp.

cmlabs::Dictionary::Dictionary ( const Dictionary c  ) 

Definition at line 60 of file Dictionary.cpp.


Member Function Documentation

const Dictionary & cmlabs::Dictionary::operator= ( const Dictionary c  ) 

Definition at line 66 of file Dictionary.cpp.

bool cmlabs::Dictionary::addAll ( const CollectionBase c  )  [virtual]

Reimplemented from cmlabs::CollectionBase.

Definition at line 52 of file Dictionary.cpp.

bool cmlabs::Dictionary::addAll ( const CollectionBase c  )  [virtual]

Reimplemented from cmlabs::CollectionBase.

Definition at line 56 of file Dictionary.cpp.

bool cmlabs::Dictionary::contains ( const JString key  )  const

Definition at line 75 of file Dictionary.cpp.

bool cmlabs::Dictionary::containsIgnoreCase ( const JString key  )  const

Definition at line 96 of file Dictionary.cpp.

JString cmlabs::Dictionary::get ( int  pos  ) 

Definition at line 201 of file Dictionary.cpp.

JString cmlabs::Dictionary::get ( int  pos  )  const

Definition at line 217 of file Dictionary.cpp.

JString cmlabs::Dictionary::get ( const JString key  )  const

Definition at line 80 of file Dictionary.cpp.

JString cmlabs::Dictionary::take ( int  pos  ) 

Definition at line 225 of file Dictionary.cpp.

JString cmlabs::Dictionary::take ( const JString key  ) 

Definition at line 88 of file Dictionary.cpp.

JString cmlabs::Dictionary::getIgnoreCase ( const JString key  )  const

Definition at line 108 of file Dictionary.cpp.

JString cmlabs::Dictionary::operator[] ( int  pos  )  const

Definition at line 209 of file Dictionary.cpp.

JString cmlabs::Dictionary::operator[] ( const JString key  )  const

Definition at line 213 of file Dictionary.cpp.

Collection cmlabs::Dictionary::getAllKeys (  ) 

Definition at line 186 of file Dictionary.cpp.

bool cmlabs::Dictionary::put ( const JString key,
const JString value 
)

Definition at line 120 of file Dictionary.cpp.

bool cmlabs::Dictionary::remove ( const JString key  ) 

Definition at line 134 of file Dictionary.cpp.

bool cmlabs::Dictionary::remove ( int  pos  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 138 of file Dictionary.cpp.

bool cmlabs::Dictionary::putFirst ( const JString key,
const JString value 
)

Reimplemented in cmlabs::SortedDictionary.

Definition at line 142 of file Dictionary.cpp.

bool cmlabs::Dictionary::putLast ( const JString key,
const JString value 
)

Reimplemented in cmlabs::SortedDictionary.

Definition at line 156 of file Dictionary.cpp.

bool cmlabs::Dictionary::putAfter ( int  pos,
const JString key,
const JString value 
)

Reimplemented in cmlabs::SortedDictionary.

Definition at line 170 of file Dictionary.cpp.

JString cmlabs::Dictionary::getFirst (  ) 

Definition at line 234 of file Dictionary.cpp.

JString cmlabs::Dictionary::getLast (  ) 

Definition at line 242 of file Dictionary.cpp.

JString cmlabs::Dictionary::getNext (  ) 

Definition at line 250 of file Dictionary.cpp.

JString cmlabs::Dictionary::getPrevious (  ) 

Definition at line 258 of file Dictionary.cpp.

int cmlabs::Dictionary::getPos ( const JString value  )  const

Definition at line 266 of file Dictionary.cpp.

int cmlabs::Dictionary::getPosKey ( const JString key  )  const

Definition at line 270 of file Dictionary.cpp.

JString cmlabs::Dictionary::getKey ( int  pos  ) 

Definition at line 274 of file Dictionary.cpp.

JString cmlabs::Dictionary::getKey ( int  pos  )  const

Definition at line 281 of file Dictionary.cpp.

JString cmlabs::Dictionary::getFirstKey (  ) 

Definition at line 288 of file Dictionary.cpp.

JString cmlabs::Dictionary::getLastKey (  ) 

Definition at line 295 of file Dictionary.cpp.

JString cmlabs::Dictionary::getNextKey (  ) 

Definition at line 302 of file Dictionary.cpp.

JString cmlabs::Dictionary::getPreviousKey (  ) 

Definition at line 309 of file Dictionary.cpp.

bool cmlabs::Dictionary::removeNoDelete ( int  pos  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 316 of file Dictionary.cpp.

bool cmlabs::Dictionary::removeAllNoDelete (  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 320 of file Dictionary.cpp.

void cmlabs::Dictionary::noDelete (  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 324 of file Dictionary.cpp.

void cmlabs::Dictionary::doDelete (  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 328 of file Dictionary.cpp.

bool cmlabs::Dictionary::unitTest (  )  [virtual]

Reimplemented from cmlabs::Object.

Reimplemented in cmlabs::SortedDictionary.

Definition at line 339 of file Dictionary.cpp.


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

Generated on Tue Jul 7 16:22:38 2009 for CoreLibrary by  doxygen 1.5.6