struct mrpt::serialization::metaprogramming::ObjectReadFromStream

Overview

An object for reading objects from a stream, intended for being used in STL algorithms.

#include <mrpt/serialization/metaprogramming_serialization.h>

struct ObjectReadFromStream
{
    // construction

    ObjectReadFromStream(mrpt::serialization::CArchive* stream);

    // methods

    template <typename T>
    void operator () (T& obj);
};