|
ADTF
|
#include <object_list.h>
Inherited by adtf::ucom::ant::object_enum_base< T, INTERFACE_TYPE, CONTAINER >.
Public Types | |
| typedef iobject_ptr< INTERFACE_TYPE > | value_type |
| value type of the contained objects | |
| typedef iobject_enum< INTERFACE_TYPE > | my_type |
| this type | |
Public Member Functions | |
| virtual tResult | PushObject (const value_type &oObject)=0 |
| virtual tResult | GetObjects (my_type &oObjectsEnum) const=0 |
| virtual size_t | GetSize () const=0 |
Protected Member Functions | |
| ~iobject_enum () | |
| hide DTOR | |
Interface definition for a container of objects.
| INTERFACE_TYPE | type of the value type (must be derived from IObject). |
|
pure virtual |
Pushes every contained value to the given container in oObjectsEnum.
| [in] | oObjectsEnum | Container where to push the objects. |
|
pure virtual |
Retrieves the current value count.
Implemented in adtf::ucom::ant::object_enum_base< T, INTERFACE_TYPE, CONTAINER >, and adtf::ucom::ant::object_enum_base< T, T, std::list >.
|
pure virtual |
Pushes a object of value_type to the container. The PushObject implementation may decide if the value is accepted or not.
| [in] | oObject | a object reference of the value |
| ERR_INVALID_INTERFACE | Returns if the value is not INTERFACE_TYPE |