|
QGIS API Documentation 3.99.0-Master (09f76ad7019)
|
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 249 of file qgsopenclutils.h.
|
inlineexplicit |
Definition at line 254 of file qgsopenclutils.h.
|
inline |
Definition at line 256 of file qgsopenclutils.h.
|
inline |
Definition at line 291 of file qgsopenclutils.h.
|
inline |
Definition at line 273 of file qgsopenclutils.h.
|
inline |
Definition at line 286 of file qgsopenclutils.h.
|
inline |
Definition at line 279 of file qgsopenclutils.h.
|
inline |
Definition at line 261 of file qgsopenclutils.h.
|
inline |
Definition at line 268 of file qgsopenclutils.h.