cmlabs::ObjectDictionary Class Reference

#include <ObjectDictionary.h>

Inheritance diagram for cmlabs::ObjectDictionary:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjectDictionary ()
 ObjectDictionary (const JString &xml)
 ObjectDictionary (XMLNode *node)
virtual ~ObjectDictionary ()
 ObjectDictionary (const ObjectDictionary &c)
const ObjectDictionaryoperator= (const ObjectDictionary &c)
bool contains (const JString &key) const
bool containsIgnoreCase (const JString &key) const
Objectget (int pos)
Objectget (int pos) const
Objectoperator[] (int pos) const
Objectoperator[] (const JString &key) const
Objectget (const JString &key) const
ObjectgetIgnoreCase (const JString &key) const
ObjectgetFirst ()
ObjectgetNext ()
ObjectgetLast ()
ObjectgetPrevious ()
Collection getAllKeys ()
Objecttake (int pos)
Objecttake (const JString &key)
bool put (const JString &key, Object *obj)
bool remove (const JString &key)
bool remove (int pos)
bool putFirst (const JString &key, Object *obj)
bool putLast (const JString &key, Object *obj)
bool putAfter (int pos, const JString &key, Object *obj)
int getPos (Object *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 (const JString &key)
bool removeNoDelete (int pos)
bool unitTest ()


Detailed Description

Definition at line 38 of file ObjectDictionary.h.


Constructor & Destructor Documentation

cmlabs::ObjectDictionary::ObjectDictionary (  ) 

Definition at line 34 of file ObjectDictionary.cpp.

cmlabs::ObjectDictionary::ObjectDictionary ( const JString xml  ) 

Definition at line 44 of file ObjectDictionary.cpp.

cmlabs::ObjectDictionary::ObjectDictionary ( XMLNode node  ) 

Definition at line 48 of file ObjectDictionary.cpp.

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

Definition at line 39 of file ObjectDictionary.cpp.

cmlabs::ObjectDictionary::ObjectDictionary ( const ObjectDictionary c  ) 

Definition at line 53 of file ObjectDictionary.cpp.


Member Function Documentation

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

Definition at line 60 of file ObjectDictionary.cpp.

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

Definition at line 71 of file ObjectDictionary.cpp.

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

Definition at line 142 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::get ( int  pos  ) 

Definition at line 114 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::get ( int  pos  )  const

Definition at line 126 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::operator[] ( int  pos  )  const

Definition at line 118 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::operator[] ( const JString key  )  const

Definition at line 122 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::get ( const JString key  )  const

Definition at line 130 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::getIgnoreCase ( const JString key  )  const

Definition at line 155 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::getFirst (  ) 

Definition at line 230 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::getNext (  ) 

Definition at line 238 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::getLast (  ) 

Definition at line 234 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::getPrevious (  ) 

Definition at line 242 of file ObjectDictionary.cpp.

Collection cmlabs::ObjectDictionary::getAllKeys (  ) 

Definition at line 99 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::take ( int  pos  ) 

Definition at line 134 of file ObjectDictionary.cpp.

Object * cmlabs::ObjectDictionary::take ( const JString key  ) 

Definition at line 138 of file ObjectDictionary.cpp.

bool cmlabs::ObjectDictionary::put ( const JString key,
Object obj 
)

Definition at line 168 of file ObjectDictionary.cpp.

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

Definition at line 214 of file ObjectDictionary.cpp.

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

Reimplemented from cmlabs::CollectionBase.

Definition at line 218 of file ObjectDictionary.cpp.

bool cmlabs::ObjectDictionary::putFirst ( const JString key,
Object obj 
)

Definition at line 178 of file ObjectDictionary.cpp.

bool cmlabs::ObjectDictionary::putLast ( const JString key,
Object obj 
)

Definition at line 190 of file ObjectDictionary.cpp.

bool cmlabs::ObjectDictionary::putAfter ( int  pos,
const JString key,
Object obj 
)

Definition at line 202 of file ObjectDictionary.cpp.

int cmlabs::ObjectDictionary::getPos ( Object value  )  const

Definition at line 75 of file ObjectDictionary.cpp.

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

Definition at line 79 of file ObjectDictionary.cpp.

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

Definition at line 83 of file ObjectDictionary.cpp.

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

Definition at line 91 of file ObjectDictionary.cpp.

JString cmlabs::ObjectDictionary::getFirstKey (  ) 

Definition at line 246 of file ObjectDictionary.cpp.

JString cmlabs::ObjectDictionary::getLastKey (  ) 

Definition at line 254 of file ObjectDictionary.cpp.

JString cmlabs::ObjectDictionary::getNextKey (  ) 

Definition at line 262 of file ObjectDictionary.cpp.

JString cmlabs::ObjectDictionary::getPreviousKey (  ) 

Definition at line 270 of file ObjectDictionary.cpp.

bool cmlabs::ObjectDictionary::removeNoDelete ( const JString key  ) 

Definition at line 222 of file ObjectDictionary.cpp.

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

Reimplemented from cmlabs::CollectionBase.

Definition at line 226 of file ObjectDictionary.cpp.

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

Reimplemented from cmlabs::Object.

Reimplemented in cmlabs::SortedObjectDictionary.

Definition at line 295 of file ObjectDictionary.cpp.


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

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