RMF
|
Manage a shared buffer for loading a RMF. More...
#include <RMF/BufferConstHandle.h>
Public Member Functions | |
BufferConstHandle (std::string r) | |
BufferConstHandle (const std::vector< char > &r) | |
BufferConstHandle (const std::vector< uint8_t > &r) | |
BufferConstHandle (std::shared_ptr< std::vector< char > > r) | |
std::shared_ptr< std::vector < char > > | get () const |
const std::vector< char > & | get_buffer () const |
std::string | get_string () const |
get the buffer encoded in a string | |
std::pair< const uint8_t *, size_t > | get_uint8_t () const |
Protected Member Functions | |
int | compare (BufferConstHandle o) const |
Protected Attributes | |
std::shared_ptr< std::vector < char > > | data_ |
Buffers are pickleable in python and can be created from a wide range of sources.
See buffers.py for an example.
Definition at line 29 of file BufferConstHandle.h.