cmlabs::Collection Class Reference

#include <Collection.h>

Inheritance diagram for cmlabs::Collection:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Collection ()
 Collection (const JString &xml)
 Collection (XMLNode *node)
virtual ~Collection ()
 Collection (const Collection &c)
const Collectionoperator= (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 ()


Detailed Description

Definition at line 38 of file Collection.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Definition at line 66 of file Collection.cpp.

bool cmlabs::Collection::addAll ( const CollectionBase c  )  [virtual]

Reimplemented from cmlabs::CollectionBase.

Definition at line 52 of file Collection.cpp.

bool cmlabs::Collection::addAll ( const CollectionBase c  )  [virtual]

Reimplemented from cmlabs::CollectionBase.

Definition at line 56 of file Collection.cpp.

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  ) 

Reimplemented in cmlabs::SortedCollection.

Definition at line 154 of file Collection.cpp.

bool cmlabs::Collection::addLast ( const JString value  ) 

Reimplemented in cmlabs::SortedCollection.

Definition at line 164 of file Collection.cpp.

bool cmlabs::Collection::addAfter ( int  pos,
const JString value 
)

Reimplemented in cmlabs::SortedCollection.

Definition at line 174 of file Collection.cpp.

bool cmlabs::Collection::addBefore ( int  pos,
const JString value 
)

Reimplemented in cmlabs::SortedCollection.

Definition at line 184 of file Collection.cpp.

bool cmlabs::Collection::replace ( int  pos,
const JString value 
)

Reimplemented in cmlabs::SortedCollection.

Definition at line 194 of file Collection.cpp.

int cmlabs::Collection::replace ( const JString oldvalue,
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  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 222 of file Collection.cpp.

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

Reimplemented from cmlabs::CollectionBase.

Definition at line 226 of file Collection.cpp.

bool cmlabs::Collection::removeAllNoDelete (  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 230 of file Collection.cpp.

void cmlabs::Collection::noDelete (  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 234 of file Collection.cpp.

void cmlabs::Collection::doDelete (  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 238 of file Collection.cpp.


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

Generated on Tue Jul 7 16:22:34 2009 for CoreLibrary by  doxygen 1.5.6