25 #ifndef PDI_DATA_DESCRIPTOR_H_ 26 #define PDI_DATA_DESCRIPTOR_H_ 32 #include <pdi/pdi_fwd.h> 33 #include <pdi/datatype_template.h> 34 #include <pdi/ref_any.h> 61 virtual bool metadata()
const = 0;
67 virtual void metadata(
bool metadata) = 0;
71 virtual const std::string& name()
const = 0;
75 virtual Ref ref() = 0;
81 virtual bool empty() = 0;
88 virtual void share(
void* data,
bool read,
bool write) = 0;
96 virtual void* share(
Ref ref,
bool read,
bool write) = 0;
101 virtual void release() = 0;
107 virtual void* reclaim() = 0;
113 #endif // PDI_DATA_DESCRIPTOR_H_ A dynamically typed reference to data with automatic memory management and read/write locking semanti...
Definition: pdi_fwd.h:93
std::unique_ptr< Datatype_template > Datatype_template_uptr
Definition: pdi_fwd.h:74
Definition: data_descriptor.h:39
Definition: array_datatype.h:37