ADTF
object_ptr_const_conversion< T >

Enables implicit conversion operators to iobject_ptr<const T> More...

Inheritance diagram for object_ptr_const_conversion< T >:
[legend]

Public Member Functions

 __attribute__ ((noinline)) operator const iobject_ptr< const T > &() const override
 Enable implicit conversion to const value type for pointer-like behavior. More...
 
- Public Member Functions inherited from iobject_ptr< T >
virtual operator const iobject_ptr< const T > & () const =0
 Enable implicit conversion to const value type for pointer-like behavior. More...
 
- Public Member Functions inherited from iobject_ptr_base< T >
virtual T * Get () const =0
 Get raw pointer to shared object. More...
 
virtual tResult Reset (const iobject_ptr< T > &i_oOther)=0
 Reset this object_ptr<> with the content of another iobject_ptr<> More...
 
virtual T * operator-> () const =0
 Operator-> overload to treat object_ptr<> types like real pointers. More...
 

Protected Member Functions

 object_ptr_const_conversion ()=default
 CTOR.
 
 ~object_ptr_const_conversion ()=default
 DTOR.
 
- Protected Member Functions inherited from iobject_ptr< T >
 ~iobject_ptr ()=default
 Destructor.
 
- Protected Member Functions inherited from iobject_ptr_base< T >
 ~iobject_ptr_base ()=default
 Destructor.
 

Additional Inherited Members

- Public Types inherited from iobject_ptr< T >
typedef IObject object_type
 Provided for single point of const correct type access.
 
- Public Types inherited from iobject_ptr_base< T >
typedef T element_type
 Contained type to manage an object of.
 

Detailed Description

template<typename T>
class adtf::ucom::ant::object_ptr_const_conversion< T >

Enables implicit conversion operators to iobject_ptr<const T>

Definition at line 24 of file object_ptr.h.

Member Function Documentation

◆ __attribute__()

__attribute__ ( (noinline)  ) const &
inlineoverride

Enable implicit conversion to const value type for pointer-like behavior.

Returns
Reference to iobject_ptr containing const value type

Definition at line 39 of file object_ptr.h.