class mrpt::serialization::CSchemeArchiveBase_impl

Overview

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

#include <mrpt/serialization/CSchemeArchiveBase.h>

class CSchemeArchiveBase_impl
{
public:
    // methods

    virtual CSchemeArchiveBase& operator = (const int32_t) = 0;
    virtual CSchemeArchiveBase& operator = (const uint32_t) = 0;
    virtual CSchemeArchiveBase& operator = (const int64_t) = 0;
    virtual CSchemeArchiveBase& operator = (const uint64_t) = 0;
    virtual CSchemeArchiveBase& operator = (const float) = 0;
    virtual CSchemeArchiveBase& operator = (const double) = 0;
    virtual CSchemeArchiveBase& operator = (const std::string) = 0;
    virtual CSchemeArchiveBase& operator = (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;
    virtual CSchemeArchiveBase& operator = (const mrpt::serialization::CSerializable&) = 0;
    virtual std::ostream& writeToStream(std::ostream& out) const = 0;
    virtual std::istream& readFromStream(std::istream& in) = 0;
    virtual CSchemeArchiveBase operator [] (size_t) = 0;
    virtual CSchemeArchiveBase operator [] (std::string) = 0;
    void setParent(CSchemeArchiveBase* parent);
};

// direct descendants

template <typename SCHEME_CAPABLE>
class CSchemeArchive;

Methods

virtual void readTo(CSerializable& obj) = 0

Reads object from the archive.

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

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

virtual std::ostream& writeToStream(std::ostream& out) const = 0

Writes the scheme to a plain-text output.

virtual std::istream& readFromStream(std::istream& in) = 0

Reads the scheme from a plain-text input.