|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
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 245 of file qgsopenclutils.h.
|
inlineexplicit |
Definition at line 250 of file qgsopenclutils.h.
|
inline |
Definition at line 252 of file qgsopenclutils.h.
|
inline |
Definition at line 287 of file qgsopenclutils.h.
|
inline |
Definition at line 269 of file qgsopenclutils.h.
|
inline |
Definition at line 282 of file qgsopenclutils.h.
|
inline |
Definition at line 275 of file qgsopenclutils.h.
|
inline |
Definition at line 257 of file qgsopenclutils.h.
|
inline |
Definition at line 264 of file qgsopenclutils.h.