An auxiliary data structure for helping to control the garbage collection of C++ objects. More...
#include <Holder.h>
Public Member Functions | |
| T * | get () const |
| Holder (T *handle, bool isOwner) | |
| Initializes a new garbage collection helper object. More... | |
| T & | operator* () const |
| T * | operator-> () const |
| ~Holder () | |
| The destructor will check if it is necessary to release the C++ object handle. More... | |
Public Attributes | |
| T * | m_handle |
| A pointer to a C++ object. More... | |
| bool | m_isOwner |
| If true it specifies that JsObject has the ownership of the C++ handle. More... | |
An auxiliary data structure for helping to control the garbage collection of C++ objects.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| T* te::common::Holder< T >::m_handle |
A pointer to a C++ object.
Definition at line 45 of file Holder.h.
Referenced by te::common::Holder< te::da::DataSet >::get(), te::common::Holder< te::da::DataSet >::operator*(), te::common::Holder< te::da::DataSet >::operator->(), and te::common::Holder< te::da::DataSet >::~Holder().
| bool te::common::Holder< T >::m_isOwner |