|
QGIS API Documentation 4.1.0-Master (376402f9aeb)
|
Tiny smart-pointer-like wrapper around CPLMalloc and CPLFree: this is needed because OpenCL C++ API may throw exceptions. More...
#include <qgsopenclutils.h>
Public Member Functions | |
| CPLAllocator (unsigned long size) | |
| ~CPLAllocator () | |
| T * | get () |
| T & | operator* () |
| T & | operator[] (const int index) |
| T * | release () |
| void | reset (T *newData) |
| void | reset (unsigned long size) |
Tiny smart-pointer-like wrapper around CPLMalloc and CPLFree: this is needed because OpenCL C++ API may throw exceptions.
Definition at line 253 of file qgsopenclutils.h.
|
inlineexplicit |
Definition at line 256 of file qgsopenclutils.h.
|
inline |
Definition at line 260 of file qgsopenclutils.h.
|
inline |
Definition at line 286 of file qgsopenclutils.h.
|
inline |
Definition at line 271 of file qgsopenclutils.h.
|
inline |
Definition at line 284 of file qgsopenclutils.h.
|
inline |
Definition at line 277 of file qgsopenclutils.h.
|
inline |
Definition at line 262 of file qgsopenclutils.h.
|
inline |
Definition at line 269 of file qgsopenclutils.h.