mxmContainerInterface Class Reference
[modularMX Runtime Platform Core]

Interface to all containers. More...

#include <mxmContainerInterface.h>

Inheritance diagram for mxmContainerInterface:

mxmInterface mxmContainer mxmList mxmPerlStyleHash mxmStringList mx::Framework::ComponentDescriptor List of all members.

Public Member Functions

virtual void addItem (mxmObject *item)=0
 Adds the item to the container.
virtual mxmObjectremoveItem (void)=0
 Removes and returns an arbitrary item from the container.
virtual void clear (void)=0
 Deletes all items, leaving the container empty.
virtual int size (void) const =0
 Returns the number of items currently stored in the container.

Detailed Description

Interface to all containers.

Author:
[khe] Kai Hergenroether


Member Function Documentation

virtual void mxmContainerInterface::addItem mxmObject item  )  [pure virtual]
 

Adds the item to the container.

The container assumes ownership over the item.

Implemented in mxmList.

virtual mxmObject* mxmContainerInterface::removeItem void   )  [pure virtual]
 

Removes and returns an arbitrary item from the container.

Ownership over the item is transferred back to the calling context. The container is no longer responsible for deleting the item later.

Returns 0 if the container is empty.

Implemented in mxmList.


The documentation for this class was generated from the following file:
Generated on Fri Jun 29 17:21:04 2007 for MxPEG SDK by  doxygen 1.4.6