ZeusBase-Library
2.0.4
|
#include <IXObjectCollection.hpp>
Public Member Functions | |
virtual void MQUALIFIER | addObject (IXObject &pObject)=0 |
virtual void MQUALIFIER | addObjects (IXObjectCollection &pObjects)=0 |
virtual Int MQUALIFIER | getCount () const =0 |
virtual Retval MQUALIFIER | getObject (Int iIndex, IXObject *&rpObject) const =0 |
virtual Retval MQUALIFIER | getCastedObject (Int iIndex, const InterfaceID &rInterfaceID, IZUnknown *&rpObject) const =0 |
virtual Retval MQUALIFIER | getNextObject (IXObject *&rpObject) const =0 |
virtual Retval MQUALIFIER | getNextCastedObject (const InterfaceID &rInterfaceID, IZUnknown *&rpObject) const =0 |
virtual Int MQUALIFIER | getIndex (const IXObject &rXObject) const =0 |
virtual void MQUALIFIER | reset () const =0 |
Public Member Functions inherited from zeus::IZUnknown | |
virtual Retval MQUALIFIER | askForInterface (const InterfaceID &rInterfaceID, IZUnknown *&rpIface)=0 |
virtual void MQUALIFIER | addRef () const =0 |
virtual void MQUALIFIER | release () const =0 |
This interface defines a collection of XObjects. This may be used as a query result of getting objects out of a tree.
|
pure virtual |
This adds a object to this collection
pObject | IXObject zum hinzufügen |
Implemented in zeus::TXObjectCollection.
|
pure virtual |
This adds objects to this collection
pObject | IXObjectCollection mit IXObject's zum hinzufügen |
Implemented in zeus::TXObjectCollection.
|
pure virtual |
This method returns an indexed object out of the collection. The object will be casted with the corresponding interface ID.
iIndex | Index of the requested object |
rInterfaceID | ID of the interface |
rpObject | Return parameter |
RET_NOERROR | Object returned |
RET_REQUEST_FAILED | Could not find object |
Implemented in zeus::TXObjectCollection.
|
pure virtual |
This returns the number of objects inside this collection
Implemented in zeus::TXObjectCollection.
|
pure virtual |
Get the index of a given X object in this collection.
rXObject | The given X object. |
>= | 0: Index in this collection. |
-1 | rXObject is no member of this collection. |
Implemented in zeus::TXObjectCollection.
|
pure virtual |
This gets the next object using an internal iterator of the collection. The object will be casted with the corresponding interface ID. If the cast fails, automatically the next matching object will be returned.
rInterfaceID | ID of the interface |
rpObject | Return parameter |
RET_NOERROR | Object returned |
RET_REQUEST_FAILED | Could not find next object |
Implemented in zeus::TXObjectCollection.
|
pure virtual |
This gets the next object using an internal iterator of the collection.
rpObject | Return parameter |
RET_NOERROR | Object returned |
RET_REQUEST_FAILED | Could not find next object |
Implemented in zeus::TXObjectCollection.
|
pure virtual |
This method returns an indexed object out of the collection
iIndex | Index of the object |
rpObject | Return parameter |
RET_NOERROR | Object returned |
RET_REQUEST_FAILED | Could not find indexed object |
Implemented in zeus::TXObjectCollection.
|
pure virtual |
Resets the internal iterator
Implemented in zeus::TXObjectCollection.