FlowEngine 7.530
Photogrammetry Software Development Kit
|
Dynamic memory buffer utility used to marshall variable amount of data. More...
#include <DynamicBufferInterface.h>
Public Member Functions | |
virtual FLE_DLL | ~DynamicBufferInterface ()=default |
Default virtual destructor. | |
virtual FLE_DLL Result | setContent (ConstBuffer< char > buffer)=0 |
virtual FLE_DLL Size | getContentSize () const =0 |
virtual FLE_DLL Result | getContent (Buffer< char > buffer) const =0 |
Dynamic memory buffer utility used to marshall variable amount of data.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
Copies the content of the buffer to the supplied buffer.
buffer | a buffer that will receive the data. |
buffer
is not a valid buffer.buffer
is not big enough to receive all data. See getContentSize.
|
pure virtual |
|
pure virtual |
Set the content of the buffer. Data is copied.
buffer | a buffer containing the data to be copied. |
buffer
is not a valid buffer.