MRPT  1.9.9
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
mrpt::serialization::CSchemeArchiveBase_impl Class Referenceabstract

Detailed Description

Pure virtual class carrying the implementation of CSchemeArchiveBase as per the PIMPL idiom.

Definition at line 25 of file CSchemeArchiveBase.h.

#include <mrpt/serialization/CSchemeArchiveBase.h>

Inheritance diagram for mrpt::serialization::CSchemeArchiveBase_impl:

Public Member Functions

virtual ~CSchemeArchiveBase_impl ()=default
 
virtual CSchemeArchiveBaseoperator= (const int32_t)=0
 
virtual CSchemeArchiveBaseoperator= (const uint32_t)=0
 
virtual CSchemeArchiveBaseoperator= (const int64_t)=0
 
virtual CSchemeArchiveBaseoperator= (const uint64_t)=0
 
virtual CSchemeArchiveBaseoperator= (const float)=0
 
virtual CSchemeArchiveBaseoperator= (const double)=0
 
virtual CSchemeArchiveBaseoperator= (const std::nullptr_t)=0
 
virtual CSchemeArchiveBaseoperator= (const std::string)=0
 
virtual CSchemeArchiveBaseoperator= (bool)=0
 
virtual operator int32_t () const =0
 
virtual operator uint32_t () const =0
 
virtual operator int64_t () const =0
 
virtual operator uint64_t () const =0
 
virtual operator float () const =0
 
virtual operator double () const =0
 
virtual operator bool () const =0
 
virtual operator std::string () const =0
 
virtual void readTo (CSerializable &obj)=0
 Reads object from the archive. More...
 
virtual CSchemeArchiveBaseoperator= (const mrpt::serialization::CSerializable &)=0
 Writes object to archive, with synxtax out["name"] = obj; More...
 
virtual std::ostream & writeToStream (std::ostream &out) const =0
 Writes the scheme to a plain-text output. More...
 
virtual std::istream & readFromStream (std::istream &in)=0
 Reads the scheme from a plain-text input. More...
 
virtual CSchemeArchiveBase operator[] (size_t)=0
 
virtual CSchemeArchiveBase operator[] (std::string)=0
 
void setParent (CSchemeArchiveBase *parent)
 

Protected Member Functions

void ReadObject (CSchemeArchiveBase &out, const CSerializable &obj)
 
void WriteObject (CSchemeArchiveBase &in, CSerializable &obj)
 

Protected Attributes

CSchemeArchiveBasem_parent
 

Constructor & Destructor Documentation

◆ ~CSchemeArchiveBase_impl()

virtual mrpt::serialization::CSchemeArchiveBase_impl::~CSchemeArchiveBase_impl ( )
virtualdefault

Member Function Documentation

◆ operator bool()

virtual mrpt::serialization::CSchemeArchiveBase_impl::operator bool ( ) const
explicitpure virtual

◆ operator double()

virtual mrpt::serialization::CSchemeArchiveBase_impl::operator double ( ) const
explicitpure virtual

◆ operator float()

virtual mrpt::serialization::CSchemeArchiveBase_impl::operator float ( ) const
explicitpure virtual

◆ operator int32_t()

virtual mrpt::serialization::CSchemeArchiveBase_impl::operator int32_t ( ) const
explicitpure virtual

◆ operator int64_t()

virtual mrpt::serialization::CSchemeArchiveBase_impl::operator int64_t ( ) const
explicitpure virtual

◆ operator std::string()

virtual mrpt::serialization::CSchemeArchiveBase_impl::operator std::string ( ) const
explicitpure virtual

◆ operator uint32_t()

virtual mrpt::serialization::CSchemeArchiveBase_impl::operator uint32_t ( ) const
explicitpure virtual

◆ operator uint64_t()

virtual mrpt::serialization::CSchemeArchiveBase_impl::operator uint64_t ( ) const
explicitpure virtual

◆ operator=() [1/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( const int32_t  )
pure virtual

◆ operator=() [2/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( const uint32_t  )
pure virtual

◆ operator=() [3/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( const int64_t  )
pure virtual

◆ operator=() [4/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( const uint64_t  )
pure virtual

◆ operator=() [5/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( const float  )
pure virtual

◆ operator=() [6/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( const double  )
pure virtual

◆ operator=() [7/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( const std::nullptr_t  )
pure virtual

◆ operator=() [8/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( const std::string  )
pure virtual

◆ operator=() [9/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( bool  )
pure virtual

◆ operator=() [10/10]

virtual CSchemeArchiveBase& mrpt::serialization::CSchemeArchiveBase_impl::operator= ( const mrpt::serialization::CSerializable )
pure virtual

Writes object to archive, with synxtax out["name"] = obj;

Implemented in mrpt::serialization::CSchemeArchive< SCHEME_CAPABLE >.

◆ operator[]() [1/2]

virtual CSchemeArchiveBase mrpt::serialization::CSchemeArchiveBase_impl::operator[] ( size_t  )
pure virtual

◆ operator[]() [2/2]

virtual CSchemeArchiveBase mrpt::serialization::CSchemeArchiveBase_impl::operator[] ( std::string  )
pure virtual

◆ readFromStream()

virtual std::istream& mrpt::serialization::CSchemeArchiveBase_impl::readFromStream ( std::istream &  in)
pure virtual

Reads the scheme from a plain-text input.

Implemented in mrpt::serialization::CSchemeArchive< SCHEME_CAPABLE >.

◆ ReadObject()

void CSchemeArchiveBase_impl::ReadObject ( CSchemeArchiveBase out,
const CSerializable obj 
)
protected

Definition at line 8 of file CSchemeArchiveBase.cpp.

References out, and mrpt::serialization::CSchemeArchiveBase::ReadObject().

Referenced by mrpt::serialization::CSchemeArchive< SCHEME_CAPABLE >::operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readTo()

virtual void mrpt::serialization::CSchemeArchiveBase_impl::readTo ( CSerializable obj)
pure virtual

Reads object from the archive.

Implemented in mrpt::serialization::CSchemeArchive< SCHEME_CAPABLE >.

◆ setParent()

void mrpt::serialization::CSchemeArchiveBase_impl::setParent ( CSchemeArchiveBase parent)
inline

Definition at line 65 of file CSchemeArchiveBase.h.

References m_parent.

◆ WriteObject()

void CSchemeArchiveBase_impl::WriteObject ( CSchemeArchiveBase in,
CSerializable obj 
)
protected

Definition at line 13 of file CSchemeArchiveBase.cpp.

References mrpt::serialization::CSchemeArchiveBase::WriteObject().

Referenced by mrpt::serialization::CSchemeArchive< SCHEME_CAPABLE >::readTo().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeToStream()

virtual std::ostream& mrpt::serialization::CSchemeArchiveBase_impl::writeToStream ( std::ostream &  out) const
pure virtual

Writes the scheme to a plain-text output.

Implemented in mrpt::serialization::CSchemeArchive< SCHEME_CAPABLE >.

Member Data Documentation

◆ m_parent

CSchemeArchiveBase* mrpt::serialization::CSchemeArchiveBase_impl::m_parent
protected



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: d655b8ca0 Wed Dec 4 23:23:44 2019 +0100 at miƩ dic 4 23:30:15 CET 2019