WvStreams
ptr.h File Reference

Smart pointer for XPLC interfaces. More...

#include <xplc/IObject.h>
Include dependency graph for debian/libwvstreams-dev/usr/include/wvstreams/xplc/ptr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  xplc_ptr< T >
 Smart pointer class for XPLC interfaces. More...

Functions

template<class T>
T * do_addRef (T *obj)
 Used to addRef an object before passing it to something that would otherwise "steal" the reference.

Detailed Description

Smart pointer for XPLC interfaces.

Definition in file debian/libwvstreams-dev/usr/include/wvstreams/xplc/ptr.h.

Function Documentation

◆ do_addRef()

template<class T>
T * do_addRef ( T * obj)

Used to addRef an object before passing it to something that would otherwise "steal" the reference.

Definition at line 139 of file debian/libwvstreams-dev/usr/include/wvstreams/xplc/ptr.h.

Referenced by XPLC::XPLC().