#include <CollectionBase.h>


Public Member Functions | |
| CollectionBase () | |
| CollectionBase (const JString &xml) | |
| CollectionBase (XMLNode *node) | |
| virtual | ~CollectionBase () |
| virtual Object * | clone () const |
| bool | isCollection () const |
| virtual unsigned long | getPayloadSize () const |
| Get total size of payload. | |
| virtual bool | addAll (const CollectionBase *c) |
| virtual bool | copyAll (const CollectionBase *c) |
| virtual bool | takeAll (CollectionBase *c) |
| virtual bool | addAll (const CollectionBase &c) |
| virtual bool | copyAll (const CollectionBase &c) |
| virtual bool | takeAll (CollectionBase &c) |
| bool | equals (const Object *o2) const |
| virtual bool | operator== (CollectionBase &c) |
| virtual bool | operator!= (CollectionBase &c) |
| int | getCount () const |
| int | length () const |
| bool | removeFirst () |
| bool | removeLast () |
| bool | remove (int pos) |
| bool | removeAll () |
| JString | toHTML () |
| JString | toXML () |
| bool | fromXML (const JString &xml) |
| bool | fromXML (XMLNode *node) |
| JString | print () const |
| JString | printListLine (const JString &separator, const JString &equalsign=" = ", const JString "es="") const |
| bool | sortKeys () |
| bool | sortValues () |
| bool | sortKeysReverse () |
| Get the binary data containing objects. | |
| bool | sortValuesReverse () |
| bool | sortRandomMix () |
| bool | removeNoDelete (int pos) |
| bool | removeAllNoDelete () |
| void | noDelete () |
| void | doDelete () |
| long | getBinarySize (int chunk) |
| Get the size of binary data chunk, -1 for all chunks. | |
| int | getBinaryChunkCount () |
| Get the number of data chunks. | |
| long | toBinaryBuffer (int chunk, char *buffer, int maxlen) |
| Write binary data to buffer at chunk number 'chunk'. | |
| bool | fromBinaryBuffer (int chunk, char *buffer, long len) |
| Set the data after separate reception. | |
Public Attributes | |
| ObjectTable | objectTable |
Definition at line 34 of file CollectionBase.h.
| cmlabs::CollectionBase::CollectionBase | ( | ) |
Definition at line 33 of file CollectionBase.cpp.
| cmlabs::CollectionBase::CollectionBase | ( | const JString & | xml | ) |
Definition at line 41 of file CollectionBase.cpp.
| cmlabs::CollectionBase::CollectionBase | ( | XMLNode * | node | ) |
Definition at line 45 of file CollectionBase.cpp.
| cmlabs::CollectionBase::~CollectionBase | ( | ) | [virtual] |
Definition at line 50 of file CollectionBase.cpp.
| Object * cmlabs::CollectionBase::clone | ( | ) | const [virtual] |
| bool cmlabs::CollectionBase::isCollection | ( | ) | const [virtual] |
| unsigned long cmlabs::CollectionBase::getPayloadSize | ( | ) | const [virtual] |
Get total size of payload.
Reimplemented from cmlabs::Object.
Definition at line 60 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::addAll | ( | const CollectionBase * | c | ) | [virtual] |
Reimplemented in cmlabs::Collection, and cmlabs::Dictionary.
Definition at line 163 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::copyAll | ( | const CollectionBase * | c | ) | [virtual] |
Definition at line 170 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::takeAll | ( | CollectionBase * | c | ) | [virtual] |
Definition at line 177 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::addAll | ( | const CollectionBase & | c | ) | [virtual] |
Reimplemented in cmlabs::Collection, and cmlabs::Dictionary.
Definition at line 184 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::copyAll | ( | const CollectionBase & | c | ) | [virtual] |
Definition at line 189 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::takeAll | ( | CollectionBase & | c | ) | [virtual] |
Definition at line 194 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::equals | ( | const Object * | o2 | ) | const [virtual] |
| bool cmlabs::CollectionBase::operator== | ( | CollectionBase & | c | ) | [virtual] |
Definition at line 77 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::operator!= | ( | CollectionBase & | c | ) | [virtual] |
Definition at line 81 of file CollectionBase.cpp.
| int cmlabs::CollectionBase::getCount | ( | ) | const |
Definition at line 98 of file CollectionBase.cpp.
| int cmlabs::CollectionBase::length | ( | ) | const |
Definition at line 102 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::removeFirst | ( | ) |
Definition at line 112 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::removeLast | ( | ) |
Definition at line 116 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::remove | ( | int | pos | ) |
Reimplemented in cmlabs::Collection, cmlabs::Dictionary, cmlabs::ObjectCollection, and cmlabs::ObjectDictionary.
Definition at line 120 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::removeAll | ( | ) |
Definition at line 93 of file CollectionBase.cpp.
| JString cmlabs::CollectionBase::toHTML | ( | ) | [virtual] |
| JString cmlabs::CollectionBase::toXML | ( | ) | [virtual] |
| bool cmlabs::CollectionBase::fromXML | ( | const JString & | xml | ) | [virtual] |
| bool cmlabs::CollectionBase::fromXML | ( | XMLNode * | node | ) | [virtual] |
| JString cmlabs::CollectionBase::print | ( | ) | const |
Definition at line 149 of file CollectionBase.cpp.
| JString cmlabs::CollectionBase::printListLine | ( | const JString & | separator, | |
| const JString & | equalsign = " = ", |
|||
| const JString & | quotes = "" | |||
| ) | const |
Definition at line 153 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::sortKeys | ( | ) |
Definition at line 236 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::sortValues | ( | ) |
Definition at line 240 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::sortKeysReverse | ( | ) |
| bool cmlabs::CollectionBase::sortValuesReverse | ( | ) |
Definition at line 244 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::sortRandomMix | ( | ) |
Definition at line 249 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::removeNoDelete | ( | int | pos | ) |
Reimplemented in cmlabs::Collection, cmlabs::Dictionary, cmlabs::ObjectCollection, and cmlabs::ObjectDictionary.
Definition at line 254 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::removeAllNoDelete | ( | ) |
Reimplemented in cmlabs::Collection, and cmlabs::Dictionary.
Definition at line 258 of file CollectionBase.cpp.
| void cmlabs::CollectionBase::noDelete | ( | ) |
Reimplemented in cmlabs::Collection, and cmlabs::Dictionary.
Definition at line 262 of file CollectionBase.cpp.
| void cmlabs::CollectionBase::doDelete | ( | ) |
Reimplemented in cmlabs::Collection, and cmlabs::Dictionary.
Definition at line 266 of file CollectionBase.cpp.
| long cmlabs::CollectionBase::getBinarySize | ( | int | chunk | ) | [virtual] |
Get the size of binary data chunk, -1 for all chunks.
Get the size of any binary data.
Reimplemented from cmlabs::Object.
Definition at line 206 of file CollectionBase.cpp.
| int cmlabs::CollectionBase::getBinaryChunkCount | ( | ) | [virtual] |
Get the number of data chunks.
Reimplemented from cmlabs::Object.
Definition at line 211 of file CollectionBase.cpp.
| long cmlabs::CollectionBase::toBinaryBuffer | ( | int | chunk, | |
| char * | buffer, | |||
| int | maxlen | |||
| ) | [virtual] |
Write binary data to buffer at chunk number 'chunk'.
Get a pointer to the binary data at chunk number 'chunk'.
Reimplemented from cmlabs::Object.
Definition at line 216 of file CollectionBase.cpp.
| bool cmlabs::CollectionBase::fromBinaryBuffer | ( | int | chunk, | |
| char * | buffer, | |||
| long | len | |||
| ) | [virtual] |
Set the data after separate reception.
Reimplemented from cmlabs::Object.
Definition at line 221 of file CollectionBase.cpp.
Definition at line 43 of file CollectionBase.h.
1.5.6