container type template for a set of object_ptr This template will provide a container for object_ptr with type T
and implements a filtered interface for iobject_enum wtih type INTERFACE_TYPE
More...
#include <object_list.h>
Public Types | |
typedef object_enum_base< T, INTERFACE_TYPE, CONTAINER > | base_type |
typedef base_type::container_type | container_type |
typedef base_type::interface_type | interface_type |
typedef object_ptr< T > | value_type |
typedef iobject_ptr< T > | value_interface_type |
typedef container_type::const_iterator | const_iterator |
short typedefinition for cString lists iterators | |
typedef container_type::const_reverse_iterator | const_reverse_iterator |
short typedefinition for cString lists reverse iterators | |
typedef container_type::iterator | iterator |
short typedefinition for cString lists iterators | |
typedef container_type::reverse_iterator | reverse_iterator |
short typedefinition for cString lists reverse iterators | |
![]() | |
typedef std::list< object_ptr< T > > | container_type |
container type | |
typedef iobject_enum< T > | base_type |
base type | |
typedef base_type | interface_type |
interface type | |
typedef object_ptr< T > | value_type |
internal value type | |
![]() | |
typedef iobject_ptr< T > | value_type |
value type of the contained objects | |
typedef iobject_enum< T > | my_type |
this type | |
typedef iobject_ptr< T > | value_type |
value type of the contained objects | |
typedef iobject_enum< T > | my_type |
this type | |
typedef iobject_ptr< T > | value_type |
value type of the contained objects | |
typedef iobject_enum< T > | my_type |
this type | |
Public Member Functions | |
iterator | begin () |
begin iterator | |
iterator | end () |
end iterator | |
const_iterator | cbegin () const |
const begin iterator | |
const_iterator | cend () const |
const end iterator | |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
object_enum () | |
CTOR. | |
object_enum (const object_enum &oOther) | |
copy CTOR | |
object_enum (object_enum &&oOther) | |
move CTOR | |
object_enum (const container_type &oResetContainerContent) | |
special copy CTOR to copy container content of same value_type | |
object_enum (std::initializer_list< value_type > lstValues) | |
special initializer CTOR to create container content | |
object_enum & | operator= (const object_enum &oOther) |
copy operator | |
object_enum & | operator= (object_enum &&oOther) |
move operator | |
object_enum & | operator= (const container_type &oResetContainerContent) |
special copy operator | |
container_type & | GetContainer () |
this method is ONLY for your convenience to use this in other templates ! | |
void | PushBack (const value_type &oObjectValue) |
void | PushFront (const value_type &oObjectValue) |
void | Clear () |
void | DeleteObject (const value_interface_type &oObject) |
![]() | |
object_enum_base (container_type *pContainer) | |
CTOR. | |
void | Reset () |
void | SetPushOption (uint32_t ui32PushOption) |
tResult | PushObject (const typename interface_type::value_type &oObject) override |
tResult | GetObjects (base_type &oObjectsEnum) const override |
size_t | GetSize () const override |
Retrieves the current value count. | |
![]() | |
virtual tResult | PushObject (const value_type &oObject)=0 |
Pushes a object of value_type to the container. | |
virtual tResult | PushObject (const value_type &oObject)=0 |
Pushes a object of value_type to the container. | |
virtual tResult | PushObject (const value_type &oObject)=0 |
Pushes a object of value_type to the container. | |
virtual tResult | PushObject (const value_type &oObject)=0 |
Pushes a object of value_type to the container. | |
Public Attributes | |
container_type | m_oContainer |
container implementation | |
Private Member Functions | |
void | Reset () |
Additional Inherited Members | |
![]() | |
~iobject_enum () | |
hide DTOR | |
~iobject_enum () | |
hide DTOR | |
~iobject_enum () | |
hide DTOR | |
~iobject_enum () | |
hide DTOR | |
container type template for a set of object_ptr This template will provide a container for object_ptr with type T
and implements a filtered interface for iobject_enum wtih type INTERFACE_TYPE
T | the Object Interface type for the object_ptr |
INTERFACE_TYPE | the Object Interface type for the iobject_enum interface. |
CONTAINER | the container type for |
Definition at line 215 of file object_list.h.
typedef object_enum_base<T, INTERFACE_TYPE, CONTAINER> base_type |
Definition at line 218 of file object_list.h.
typedef container_type::const_iterator const_iterator |
short typedefinition for cString lists iterators
Definition at line 229 of file object_list.h.
typedef container_type::const_reverse_iterator const_reverse_iterator |
short typedefinition for cString lists reverse iterators
Definition at line 231 of file object_list.h.
typedef base_type::container_type container_type |
Definition at line 219 of file object_list.h.
typedef base_type::interface_type interface_type |
Definition at line 220 of file object_list.h.
typedef container_type::iterator iterator |
short typedefinition for cString lists iterators
Definition at line 233 of file object_list.h.
typedef container_type::reverse_iterator reverse_iterator |
short typedefinition for cString lists reverse iterators
Definition at line 235 of file object_list.h.
typedef iobject_ptr<T> value_interface_type |
Definition at line 222 of file object_list.h.
typedef object_ptr<T> value_type |
Definition at line 221 of file object_list.h.
|
inline |
CTOR.
Definition at line 281 of file object_list.h.
|
inline |
copy CTOR
Definition at line 286 of file object_list.h.
|
inline |
move CTOR
Definition at line 291 of file object_list.h.
|
inline |
special copy CTOR to copy container content of same value_type
[in] | oResetContainerContent | container content to copy |
Definition at line 298 of file object_list.h.
|
inline |
special initializer CTOR to create container content
[in] | lstValues | initializer list of object pointer references |
Definition at line 306 of file object_list.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 357 of file object_list.h.
|
inline |
Definition at line 270 of file object_list.h.
|
inline |
Definition at line 274 of file object_list.h.
|
inline |
Definition at line 362 of file object_list.h.
|
inline |
|
inline |
this method is ONLY for your convenience to use this in other templates !
! AND to use optimized emplacement etc.
Definition at line 342 of file object_list.h.
|
inline |
special copy operator
[in] | oResetContainerContent | cointer of value_type |
Definition at line 330 of file object_list.h.
|
inline |
|
inline |
|
inline |
Definition at line 347 of file object_list.h.
|
inline |
Definition at line 352 of file object_list.h.
|
inline |
Definition at line 262 of file object_list.h.
|
inline |
Definition at line 266 of file object_list.h.
|
inlineprivate |
Definition at line 123 of file object_list.h.
container_type m_oContainer |
container implementation
Definition at line 225 of file object_list.h.
Referenced by object_enum< T, INTERFACE_TYPE, std::list >::operator=().