A memory buffer (implements CStream) which can be itself serialized.
Definition at line 23 of file CMemoryChunk.h.
#include <mrpt/serialization/CMemoryChunk.h>
Public Member Functions | |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
void | operator delete (void *ptr) noexcept |
void | operator delete[] (void *ptr) noexcept |
void | operator delete (void *memory, void *ptr) noexcept |
void * | operator new (size_t size, const std::nothrow_t &) noexcept |
void | operator delete (void *ptr, const std::nothrow_t &) noexcept |
Static Public Member Functions | |
static void * | operator new (size_t size, void *ptr) |
Protected Member Functions | |
Derived & | derived () |
const Derived & | derived () const |
CSerializable virtual methods | |
uint8_t | serializeGetVersion () const override |
void | serializeTo (mrpt::serialization::CArchive &out) const override |
void | serializeFrom (mrpt::serialization::CArchive &in, uint8_t serial_version) override |
RTTI stuff | |
using | Ptr = std::shared_ptr< CMemoryChunk > |
using | ConstPtr = std::shared_ptr< const CMemoryChunk > |
using | UniquePtr = std::unique_ptr< CMemoryChunk > |
using | ConstUniquePtr = std::unique_ptr< const CMemoryChunk > |
static mrpt::rtti::CLASSINIT | _init_CMemoryChunk |
static const mrpt::rtti::TRuntimeClassId | runtimeClassId |
static constexpr const char * | className = "CMemoryChunk" |
static const mrpt::rtti::TRuntimeClassId * | _GetBaseClass () |
static constexpr auto | getClassName () |
static const mrpt::rtti::TRuntimeClassId & | GetRuntimeClassIdStatic () |
static mrpt::rtti::CObject * | CreateObject () |
template<typename... Args> | |
static Ptr | Create (Args &&... args) |
template<typename... Args> | |
static UniquePtr | CreateUnique (Args &&... args) |
virtual const mrpt::rtti::TRuntimeClassId * | GetRuntimeClass () const override |
virtual mrpt::rtti::CObject * | clone () const override |
using mrpt::serialization::CMemoryChunkBase< Derived >::ConstPtr = std::shared_ptr<const CMemoryChunk > |
Definition at line 35 of file CMemoryChunk.h.
using mrpt::serialization::CMemoryChunkBase< Derived >::ConstUniquePtr = std::unique_ptr<const CMemoryChunk > |
Definition at line 35 of file CMemoryChunk.h.
using mrpt::serialization::CMemoryChunkBase< Derived >::Ptr = std::shared_ptr< CMemoryChunk > |
A type for the associated smart pointer
Definition at line 35 of file CMemoryChunk.h.
using mrpt::serialization::CMemoryChunkBase< Derived >::UniquePtr = std::unique_ptr< CMemoryChunk > |
Definition at line 35 of file CMemoryChunk.h.
|
staticprotected |
Definition at line 32 of file CMemoryChunk_impl.cpp.
References CLASS_ID_NAMESPACE.
|
overridevirtual |
Definition at line 59 of file CMemoryChunk_impl.cpp.
|
inlinestatic |
Definition at line 35 of file CMemoryChunk.h.
|
static |
Definition at line 25 of file CMemoryChunk_impl.cpp.
|
inlinestatic |
Definition at line 35 of file CMemoryChunk.h.
|
inlineprotected |
Definition at line 37 of file CMemoryChunk.h.
|
inlineprotected |
Definition at line 38 of file CMemoryChunk.h.
|
inlinestaticconstexpr |
Definition at line 35 of file CMemoryChunk.h.
|
overridevirtual |
Definition at line 50 of file CMemoryChunk_impl.cpp.
References CLASS_ID_NAMESPACE.
|
static |
Definition at line 38 of file CMemoryChunk_impl.cpp.
|
inlinenoexcept |
Definition at line 35 of file CMemoryChunk.h.
|
inlinenoexcept |
Definition at line 35 of file CMemoryChunk.h.
|
inlinenoexcept |
Definition at line 35 of file CMemoryChunk.h.
|
inlinenoexcept |
Definition at line 35 of file CMemoryChunk.h.
|
inline |
Definition at line 35 of file CMemoryChunk.h.
|
inlinenoexcept |
Definition at line 35 of file CMemoryChunk.h.
|
inlinestatic |
Definition at line 35 of file CMemoryChunk.h.
|
inline |
Definition at line 35 of file CMemoryChunk.h.
|
overrideprotected |
Definition at line 61 of file CMemoryChunk.h.
References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION.
|
overrideprotected |
Definition at line 45 of file CMemoryChunk.h.
|
overrideprotected |
Definition at line 50 of file CMemoryChunk.h.
References ASSERT_, and mrpt::serialization::CArchive::WriteBuffer().
|
staticprotected |
Definition at line 35 of file CMemoryChunk.h.
|
staticconstexpr |
Definition at line 35 of file CMemoryChunk.h.
|
staticprotected |
Definition at line 35 of file CMemoryChunk.h.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |