ADTF
|
Interface definition for a container of objects. More...
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 |
Pushes a object of value_type to the container. More... | |
virtual tResult | GetObjects (my_type &oObjectsEnum) const =0 |
Pushes every contained value to the given container in oObjectsEnum . More... | |
virtual size_t | GetSize () const =0 |
Retrieves the current value count. More... | |
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). |
Definition at line 21 of file object_list.h.
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 object_enum_base< T, INTERFACE_TYPE, CONTAINER >, and 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 |
Referenced by adtf::streaming::hollow::get_data_binding_objects(), adtf::streaming::hollow::get_graph_objects(), adtf::streaming::hollow::get_interface_binding_objects(), and adtf::streaming::hollow::get_runner_objects().