cmlabs::ObjectCollection Class Reference

#include <ObjectCollection.h>

Inheritance diagram for cmlabs::ObjectCollection:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjectCollection ()
 ObjectCollection (const JString &xml)
 ObjectCollection (XMLNode *node)
virtual ~ObjectCollection ()
 ObjectCollection (const ObjectCollection &c)
const ObjectCollectionoperator= (const ObjectCollection &c)
bool unitTest ()
bool contains (Object *obj) const
int getPos (Object *obj) const
ObjectgetFirst ()
ObjectgetLast ()
ObjectgetNext ()
ObjectgetPrevious ()
Objectget (int pos)
Objectget (int pos) const
Objecttake (int pos)
Objectoperator[] (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)


Detailed Description

Definition at line 38 of file ObjectCollection.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

int cmlabs::ObjectCollection::replace ( Object oldobj,
Object obj 
)

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  ) 

Reimplemented from cmlabs::CollectionBase.

Definition at line 144 of file ObjectCollection.cpp.

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

Reimplemented from cmlabs::CollectionBase.

Definition at line 148 of file ObjectCollection.cpp.

int cmlabs::ObjectCollection::removeNoDelete ( Object obj  ) 

Definition at line 152 of file ObjectCollection.cpp.


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

Generated on Tue Jul 7 16:23:37 2009 for CoreLibrary by  doxygen 1.5.6