#include <mxmContainerInterface.h>
Inheritance diagram for mxmContainerInterface:
Public Member Functions | |
virtual void | addItem (mxmObject *item)=0 |
Adds the item to the container. | |
virtual mxmObject * | removeItem (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. |
[khe]
Kai Hergenroether
|
Adds the item to the container. The container assumes ownership over the item. Implemented in mxmList. |
|
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 Implemented in mxmList. |