20 #ifndef VARIABLE_LENGTH_RECORD_H 21 #define VARIABLE_LENGTH_RECORD_H 23 #ifndef SHEAF_DLL_SPEC_H 24 #include "SheafSystem/sheaf_dll_spec.h" 28 #include "SheafSystem/record.h" 66 virtual bool invariant()
const;
71 virtual bool is_ancestor_of(
const any* other)
const;
88 size_t buf_ub()
const;
100 void put_buf(
const void* xbuf,
size_t xub);
107 return _delete_buffer;
115 _delete_buffer = xval;
123 inline void*
item(
size_t xoffset)
const 125 return reinterpret_cast<char*
>(_buf) + xoffset;
143 _is_internal = xis_internal;
161 _is_external = xis_external;
191 #endif // ifndef VARIABLE_LENGTH_RECORD_H void * item(size_t xoffset) const
Pointer to record item beginning at offset xoffset.
bool delete_buffer()
True if this allocated the buffer and the dtor should delete it.
The general variable length record wrapper/adapter for transferring data between the kernel and the i...
void put_delete_buffer(bool xval)
Sets delete_buffer to value xval.
Abstract base class with useful features for all objects.
bool is_internal() const
True if the internal buffer has been initialized.
The general variable length record wrapper/adapter for transferring data between the kernel and the i...
void put_is_internal(bool xis_internal)
Sets is_internal to xis_internal.
Namespace for the sheaves component of the sheaf system.
A poset specific collection of data converters, various buffers and other data used while transferrin...
bool is_external() const
True if the external buffer has been initialized.
void put_is_external(bool xis_external)
Sets is_external to xis_external.