A descriptor for data on which references can point. More...
Public Member Functions | |
| Referenced_data (Referenced_buffer *buffer, void *data, Datatype_uptr type) | |
| Constructs a new data descriptor from an already referenced buffer. More... | |
| Referenced_data (void *data, std::function< void(void *)> freefunc, Datatype_uptr type, bool readable, bool writable) | |
| Constructs a new data descriptor. More... | |
| Referenced_data ()=delete | |
| Referenced_data (const Referenced_data &)=delete | |
| Referenced_data (Referenced_data &&)=delete | |
| ~Referenced_data () | |
Public Attributes | |
| Referenced_buffer * | m_buffer |
| The buffer in which the data lives. More... | |
| void * | m_data |
| In-memory location of the data. More... | |
| Datatype_uptr | m_type |
| Type of the data. More... | |
| int | m_owners |
| Number of references to this data. More... | |
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 |
|
inline |
|
mutable |
The buffer in which the data lives.
| void* PDI::Reference_base::Referenced_data::m_data |
In-memory location of the data.
| Datatype_uptr PDI::Reference_base::Referenced_data::m_type |
Type of the data.
| int PDI::Reference_base::Referenced_data::m_owners |
Number of references to this data.