12 #ifndef __OP_DATABLOCK_H_INCLUDED__
13 #define __OP_DATABLOCK_H_INCLUDED__
28 virtual const void *createNativeData(
const char *
data,
30 virtual exint memoryUsedByNativeData(
31 const void *nativedata)
const = 0;
32 virtual void deleteNativeData(
const void *nativedata)
const = 0;
33 virtual void saveNativeData(
const void *nativedata,
34 std::ostream &os)
const = 0;
55 exint getMemoryUsage()
const;
57 const void *nativeData();
59 void adoptNativeData(
const void *nativedata);
60 bool saveData(std::ostream &os)
const;
65 void deleteNativeData();
70 const void *myNativeData;
71 bool myNativeDataIsValid;
74 #endif // __OP_DATABLOCK_H_INCLUDED__
GLuint GLsizei GLsizei * length
A reference counter base class for use with UT_IntrusivePtr.
GLint GLint GLsizei GLint GLenum GLenum type
const char * data() const
const UT_StringHolder & type() const