#include <Dictionary.h>
Public Member Functions | |
Dictionary () | |
Dictionary (const JString &xml) | |
Dictionary (XMLNode *node) | |
virtual | ~Dictionary () |
Dictionary (const Dictionary &c) | |
const Dictionary & | operator= (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 () |
Definition at line 39 of file Dictionary.h.
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.
const Dictionary & cmlabs::Dictionary::operator= | ( | const Dictionary & | c | ) |
Definition at line 66 of file Dictionary.cpp.
bool cmlabs::Dictionary::addAll | ( | const CollectionBase * | c | ) | [virtual] |
bool cmlabs::Dictionary::addAll | ( | const CollectionBase & | c | ) | [virtual] |
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.
Definition at line 80 of file Dictionary.cpp.
JString cmlabs::Dictionary::take | ( | int | pos | ) |
Definition at line 225 of file Dictionary.cpp.
Definition at line 88 of file Dictionary.cpp.
Definition at line 108 of file Dictionary.cpp.
JString cmlabs::Dictionary::operator[] | ( | int | pos | ) | const |
Definition at line 209 of file Dictionary.cpp.
Definition at line 213 of file Dictionary.cpp.
Collection cmlabs::Dictionary::getAllKeys | ( | ) |
Definition at line 186 of file Dictionary.cpp.
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 | ) |
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 | ) |
bool cmlabs::Dictionary::removeAllNoDelete | ( | ) |
void cmlabs::Dictionary::noDelete | ( | ) |
void cmlabs::Dictionary::doDelete | ( | ) |
bool cmlabs::Dictionary::unitTest | ( | ) | [virtual] |
Reimplemented from cmlabs::Object.
Reimplemented in cmlabs::SortedDictionary.
Definition at line 339 of file Dictionary.cpp.