#include <mtx/datablock.h>
Public Types | |
enum | init_policy { ZEROS, NO_INIT } |
enum | storage_policy { COPY, BORROW, REFER } |
Public Member Functions | |
data_ref_holder (data_holder *ref) | |
Construct with a pointee. | |
data_ref_holder (const data_ref_holder &other) | |
Copy constructor. | |
~data_ref_holder () | |
Destructor. | |
void | swap (data_ref_holder &other) |
Swap contents with another data_ref_holder. | |
const double * | storage () const |
Get a pointer to const underlying data. | |
double * | storage_nc () |
Get a pointer to non-const underlying data. | |
int | storage_length () const |
Get the allocated length of underlying data array. |
Definition at line 185 of file datablock.h.