BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
The class is used to store the references to objects from the GLib library. It is also responsible for automatically freeing of memory. More...
#include <GlibPtr.h>
Public Member Functions | |
GlibPtr (T *ptr) | |
GlibPtr (const GlibPtr &ptr) | |
GlibPtr (GlibPtr &&ptr) | |
GlibPtr & | operator= (T *ptr) |
GlibPtr & | operator= (const GlibPtr &ptr) |
GlibPtr & | operator= (GlibPtr &&ptr) |
T * | operator-> () |
const T * | operator-> () const |
T & | operator* () |
const T & | operator* () const |
T * | raw () |
const T * | raw () const |
T ** | operator& () |
Returns reference of the m_ptr attribute. More... | |
const T ** | operator& () const |
Returns reference of the m_ptr attribute. | |
bool | operator! () const |
bool | isNull () const |
The class is used to store the references to objects from the GLib library. It is also responsible for automatically freeing of memory.
In specialization for GList are used g_object_ref and g_object_unref for its items.
T ** BeeeOn::GlibPtr< T >::operator& | ( | ) |
Returns reference of the m_ptr attribute.
IllegalStateException | in case m_ptr is not null |