|
HDK
|
#include <OP_DataBlock.h>
Inheritance diagram for OP_DataBlock:Public Member Functions | |
| OP_DataBlock (const UT_StringHolder &type) | |
| ~OP_DataBlock () | |
| const UT_StringHolder & | type () const |
| const char * | data () const |
| exint | length () const |
| exint | getMemoryUsage () const |
| const void * | nativeData () |
| void | adoptData (const char *data, exint length) |
| void | adoptNativeData (const void *nativedata) |
| bool | saveData (std::ostream &os) const |
| bool | loadData (UT_IStream &is) |
Public Member Functions inherited from UT_IntrusiveRefCounter< OP_DataBlock > | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
| Default constructor: Sets counter to 0. More... | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
| Copy constructor: Sets counter to 0. More... | |
| UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
| Assignment operator: Does not modify counter. More... | |
| SYS_FORCE_INLINE uint32 | use_count () const noexcept |
| Return current counter. More... | |
| SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
Static Public Member Functions | |
| static const OP_DataBlockInterpreter * | getInterpreter (const UT_StringRef &blocktype) |
Additional Inherited Members | |
Protected Member Functions inherited from UT_IntrusiveRefCounter< OP_DataBlock > | |
| SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
| Destructor: Only derived classes can destruct this. More... | |
Definition at line 40 of file OP_DataBlock.h.
| OP_DataBlock::OP_DataBlock | ( | const UT_StringHolder & | type | ) |
| OP_DataBlock::~OP_DataBlock | ( | ) |
|
inline |
Definition at line 51 of file OP_DataBlock.h.
|
static |
| exint OP_DataBlock::getMemoryUsage | ( | ) | const |
Definition at line 53 of file OP_DataBlock.h.
| bool OP_DataBlock::loadData | ( | UT_IStream & | is | ) |
| const void* OP_DataBlock::nativeData | ( | ) |
| bool OP_DataBlock::saveData | ( | std::ostream & | os | ) | const |
|
inline |
Definition at line 49 of file OP_DataBlock.h.