#include <Collection.h>
Public Member Functions | |
Collection () | |
Collection (const JString &xml) | |
Collection (XMLNode *node) | |
virtual | ~Collection () |
Collection (const Collection &c) | |
const Collection & | operator= (const Collection &c) |
bool | addAll (const CollectionBase *c) |
bool | addAll (const CollectionBase &c) |
bool | unitTest () |
bool | contains (const JString &value) const |
int | getPos (const JString &value) const |
JString | getFirst () |
JString | getLast () |
JString | getNext () |
JString | getPrevious () |
JString | get (int pos) |
JString | get (int pos) const |
JString | take (int pos) |
JString | operator[] (int pos) const |
bool | add (const JString &value) |
bool | addFirst (const JString &value) |
bool | addLast (const JString &value) |
bool | addAfter (int pos, const JString &value) |
bool | addBefore (int pos, const JString &value) |
bool | replace (int pos, const JString &value) |
int | replace (const JString &oldvalue, const JString &value) |
int | removeEntries (const JString &value) |
bool | remove (const JString &value) |
bool | remove (int pos) |
bool | removeNoDelete (int pos) |
bool | removeAllNoDelete () |
void | noDelete () |
void | doDelete () |
Definition at line 38 of file Collection.h.
cmlabs::Collection::Collection | ( | ) |
Definition at line 33 of file Collection.cpp.
cmlabs::Collection::Collection | ( | const JString & | xml | ) |
Definition at line 38 of file Collection.cpp.
cmlabs::Collection::Collection | ( | XMLNode * | node | ) |
Definition at line 42 of file Collection.cpp.
cmlabs::Collection::~Collection | ( | ) | [virtual] |
Definition at line 47 of file Collection.cpp.
cmlabs::Collection::Collection | ( | const Collection & | c | ) |
Definition at line 60 of file Collection.cpp.
const Collection & cmlabs::Collection::operator= | ( | const Collection & | c | ) |
Definition at line 66 of file Collection.cpp.
bool cmlabs::Collection::addAll | ( | const CollectionBase * | c | ) | [virtual] |
bool cmlabs::Collection::addAll | ( | const CollectionBase & | c | ) | [virtual] |
bool cmlabs::Collection::unitTest | ( | ) | [virtual] |
Reimplemented from cmlabs::Object.
Reimplemented in cmlabs::SortedCollection.
Definition at line 244 of file Collection.cpp.
bool cmlabs::Collection::contains | ( | const JString & | value | ) | const |
Definition at line 75 of file Collection.cpp.
int cmlabs::Collection::getPos | ( | const JString & | value | ) | const |
Definition at line 79 of file Collection.cpp.
JString cmlabs::Collection::getFirst | ( | ) |
Definition at line 84 of file Collection.cpp.
JString cmlabs::Collection::getLast | ( | ) |
Definition at line 92 of file Collection.cpp.
JString cmlabs::Collection::getNext | ( | ) |
Definition at line 100 of file Collection.cpp.
JString cmlabs::Collection::getPrevious | ( | ) |
Definition at line 108 of file Collection.cpp.
JString cmlabs::Collection::get | ( | int | pos | ) |
Definition at line 128 of file Collection.cpp.
JString cmlabs::Collection::get | ( | int | pos | ) | const |
Definition at line 120 of file Collection.cpp.
JString cmlabs::Collection::take | ( | int | pos | ) |
Definition at line 136 of file Collection.cpp.
JString cmlabs::Collection::operator[] | ( | int | pos | ) | const |
Definition at line 116 of file Collection.cpp.
bool cmlabs::Collection::add | ( | const JString & | value | ) |
Definition at line 144 of file Collection.cpp.
bool cmlabs::Collection::addFirst | ( | const JString & | value | ) |
bool cmlabs::Collection::addLast | ( | const JString & | value | ) |
bool cmlabs::Collection::addAfter | ( | int | pos, | |
const JString & | value | |||
) |
bool cmlabs::Collection::addBefore | ( | int | pos, | |
const JString & | value | |||
) |
bool cmlabs::Collection::replace | ( | int | pos, | |
const JString & | value | |||
) |
Definition at line 204 of file Collection.cpp.
int cmlabs::Collection::removeEntries | ( | const JString & | value | ) |
Definition at line 214 of file Collection.cpp.
bool cmlabs::Collection::remove | ( | const JString & | value | ) |
Definition at line 218 of file Collection.cpp.
bool cmlabs::Collection::remove | ( | int | pos | ) |
bool cmlabs::Collection::removeNoDelete | ( | int | pos | ) |
bool cmlabs::Collection::removeAllNoDelete | ( | ) |
void cmlabs::Collection::noDelete | ( | ) |
void cmlabs::Collection::doDelete | ( | ) |