QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
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 236 of file qgsopenclutils.h.
|
inlineexplicit |
Definition at line 241 of file qgsopenclutils.h.
|
inline |
Definition at line 243 of file qgsopenclutils.h.
|
inline |
Definition at line 277 of file qgsopenclutils.h.
|
inline |
Definition at line 260 of file qgsopenclutils.h.
|
inline |
Definition at line 272 of file qgsopenclutils.h.
|
inline |
Definition at line 265 of file qgsopenclutils.h.
|
inline |
Definition at line 248 of file qgsopenclutils.h.
|
inline |
Definition at line 255 of file qgsopenclutils.h.