A descriptor for data on which references can point. More...
Public Member Functions | |
Referenced_data (std::shared_ptr< Referenced_buffer > buffer, void *data, Datatype_sptr type) | |
Constructs a new data descriptor from an already referenced buffer. | |
Referenced_data (void *data, std::function< void(void *)> freefunc, Datatype_sptr type, bool readable, bool writable) | |
Constructs a new data descriptor. | |
Referenced_data ()=delete | |
Referenced_data (const Referenced_data &)=delete | |
Referenced_data (Referenced_data &&)=delete | |
Public Attributes | |
std::shared_ptr< Referenced_buffer > | m_buffer |
The buffer in which the data lives. | |
void * | m_data |
In-memory location of the data. | |
Datatype_sptr | m_type |
Type of the data. | |
A descriptor for data on which references can point.
The content type is handled at this granularity
|
inline |
Constructs a new data descriptor from an already referenced buffer.
buffer | the buffer containing the data |
data | the data location |
type | the type of the data |
|
inline |
Constructs a new data descriptor.
data | the data location |
freefunc | the function to use to free the data buffer |
type | the type of the data |
readable | the maximum allowed access to the underlying content |
writable | the maximum allowed access to the underlying content |
|
delete |
|
delete |
|
delete |
|
mutable |
The buffer in which the data lives.
void* PDI::Reference_base::Referenced_data::m_data |
In-memory location of the data.
Datatype_sptr PDI::Reference_base::Referenced_data::m_type |
Type of the data.