#include <ObjectCollection.h>
Public Member Functions | |
ObjectCollection () | |
ObjectCollection (const JString &xml) | |
ObjectCollection (XMLNode *node) | |
virtual | ~ObjectCollection () |
ObjectCollection (const ObjectCollection &c) | |
const ObjectCollection & | operator= (const ObjectCollection &c) |
bool | unitTest () |
bool | contains (Object *obj) const |
int | getPos (Object *obj) const |
Object * | getFirst () |
Object * | getLast () |
Object * | getNext () |
Object * | getPrevious () |
Object * | get (int pos) |
Object * | get (int pos) const |
Object * | take (int pos) |
Object * | operator[] (int pos) const |
bool | add (Object *obj) |
bool | addFirst (Object *obj) |
bool | addLast (Object *obj) |
bool | addAfter (int pos, Object *obj) |
bool | addBefore (int pos, Object *obj) |
bool | replace (int pos, Object *obj) |
int | replace (Object *oldobj, Object *obj) |
int | removeEntries (Object *obj) |
bool | remove (Object *obj) |
bool | remove (int pos) |
bool | removeNoDelete (int pos) |
int | removeNoDelete (Object *obj) |
Definition at line 38 of file ObjectCollection.h.
cmlabs::ObjectCollection::ObjectCollection | ( | ) |
Definition at line 33 of file ObjectCollection.cpp.
cmlabs::ObjectCollection::ObjectCollection | ( | const JString & | xml | ) |
Definition at line 38 of file ObjectCollection.cpp.
cmlabs::ObjectCollection::ObjectCollection | ( | XMLNode * | node | ) |
Definition at line 42 of file ObjectCollection.cpp.
cmlabs::ObjectCollection::~ObjectCollection | ( | ) | [virtual] |
Definition at line 46 of file ObjectCollection.cpp.
cmlabs::ObjectCollection::ObjectCollection | ( | const ObjectCollection & | c | ) |
Definition at line 50 of file ObjectCollection.cpp.
const ObjectCollection & cmlabs::ObjectCollection::operator= | ( | const ObjectCollection & | c | ) |
Definition at line 57 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::unitTest | ( | ) | [virtual] |
Reimplemented from cmlabs::Object.
Reimplemented in cmlabs::SortedObjectCollection.
Definition at line 161 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::contains | ( | Object * | obj | ) | const |
Definition at line 67 of file ObjectCollection.cpp.
int cmlabs::ObjectCollection::getPos | ( | Object * | obj | ) | const |
Definition at line 71 of file ObjectCollection.cpp.
Object * cmlabs::ObjectCollection::getFirst | ( | ) |
Definition at line 76 of file ObjectCollection.cpp.
Object * cmlabs::ObjectCollection::getLast | ( | ) |
Definition at line 80 of file ObjectCollection.cpp.
Object * cmlabs::ObjectCollection::getNext | ( | ) |
Definition at line 84 of file ObjectCollection.cpp.
Object * cmlabs::ObjectCollection::getPrevious | ( | ) |
Definition at line 88 of file ObjectCollection.cpp.
Object * cmlabs::ObjectCollection::get | ( | int | pos | ) |
Definition at line 92 of file ObjectCollection.cpp.
Object * cmlabs::ObjectCollection::get | ( | int | pos | ) | const |
Definition at line 96 of file ObjectCollection.cpp.
Object * cmlabs::ObjectCollection::take | ( | int | pos | ) |
Definition at line 100 of file ObjectCollection.cpp.
Object * cmlabs::ObjectCollection::operator[] | ( | int | pos | ) | const |
Definition at line 104 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::add | ( | Object * | obj | ) |
Definition at line 108 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::addFirst | ( | Object * | obj | ) |
Definition at line 112 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::addLast | ( | Object * | obj | ) |
Definition at line 116 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::addAfter | ( | int | pos, | |
Object * | obj | |||
) |
Definition at line 120 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::addBefore | ( | int | pos, | |
Object * | obj | |||
) |
Definition at line 124 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::replace | ( | int | pos, | |
Object * | obj | |||
) |
Definition at line 128 of file ObjectCollection.cpp.
Definition at line 132 of file ObjectCollection.cpp.
int cmlabs::ObjectCollection::removeEntries | ( | Object * | obj | ) |
Definition at line 136 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::remove | ( | Object * | obj | ) |
Definition at line 140 of file ObjectCollection.cpp.
bool cmlabs::ObjectCollection::remove | ( | int | pos | ) |
bool cmlabs::ObjectCollection::removeNoDelete | ( | int | pos | ) |
int cmlabs::ObjectCollection::removeNoDelete | ( | Object * | obj | ) |
Definition at line 152 of file ObjectCollection.cpp.