#include <GaudiKernel/IContainer.h>
Inheritance diagram for IContainer:
Public Types | |
| typedef TYPE** | Iterator |
| Definition of iterator type. More... | |
| typedef TYPE* const* | ConstIterator |
| Definition of iterator type. More... | |
Public Methods | |
| virtual Iterator | begin () = 0 |
| Return starting point for container iteration. | |
| virtual ConstIterator | begin () const = 0 |
| Return starting point for container iteration. | |
| virtual Iterator | end () = 0 |
| Return end elemtn if the container. | |
| virtual ConstIterator | end () const = 0 |
| Return end elemtn if the container. | |
| virtual Iterator | next ( Iterator iter ) = 0 |
| virtual ConstIterator | next ( Iterator iter ) const = 0 |
| virtual TYPE* | find ( const TYPE* obj ) = 0 |
| Try to find an object identified by its pointer. | |
| virtual const TYPE* | find ( const TYPE* obj ) const = 0 |
| Try to find an object identified by its pointer. | |
| virtual long | add ( TYPE* obj ) = 0 |
| Add object to the container. | |
| virtual long | remove ( TYPE* obj ) = 0 |
| Remove an object from the container. | |
| virtual int | size () const = 0 |
| Return the size of the container(=number of objects). | |
| virtual bool | isEmpty () const = 0 |
| Simple check if the Container is empty. | |
| virtual long | deleteElements () = 0 |
| Delete all contained elements. | |
Definition at line 13 of file IContainer.h.
|
|||
|
Definition of iterator type.
Reimplemented in IDataDirectory. Definition at line 18 of file IContainer.h. |
|
|||
|
Definition of iterator type.
Reimplemented in IDataDirectory. Definition at line 16 of file IContainer.h. |
|
||||
|
Add object to the container.
|
|
||||
|
Return starting point for container iteration.
Reimplemented in RegistryEntry. |
|
||||
|
Return starting point for container iteration.
Reimplemented in RegistryEntry. Referenced by DataObject::dirBegin(), and DataSvc::preLoad(). |
|
||||
|
Delete all contained elements.
Reimplemented in RegistryEntry. |
|
||||
|
Return end elemtn if the container.
Reimplemented in RegistryEntry. |
|
||||
|
Return end elemtn if the container.
Reimplemented in RegistryEntry. Referenced by DataObject::dirEnd(), and DataSvc::preLoad(). |
|
||||
|
Try to find an object identified by its pointer.
|
|
||||
|
Try to find an object identified by its pointer.
|
|
||||
|
Simple check if the Container is empty.
Reimplemented in RegistryEntry. |
|
||||
|
Reimplemented in RegistryEntry. |
|
||||
|
Reimplemented in RegistryEntry. |
|
||||
|
Remove an object from the container.
|
|
||||
|
Return the size of the container(=number of objects).
Reimplemented in RegistryEntry. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000