MRPT  2.0.1
List of all members | Public Member Functions | Private Attributes
mrpt::serialization::metaprogramming::ObjectReadFromStream Struct Reference

Detailed Description

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

Definition at line 20 of file metaprogramming_serialization.h.

#include <mrpt/serialization/metaprogramming_serialization.h>

Public Member Functions

 ObjectReadFromStream (mrpt::serialization::CArchive *stream)
 
template<typename T >
void operator() (T &obj)
 

Private Attributes

mrpt::serialization::CArchivem_stream
 

Constructor & Destructor Documentation

◆ ObjectReadFromStream()

mrpt::serialization::metaprogramming::ObjectReadFromStream::ObjectReadFromStream ( mrpt::serialization::CArchive stream)
inline

Definition at line 26 of file metaprogramming_serialization.h.

Member Function Documentation

◆ operator()()

template<typename T >
void mrpt::serialization::metaprogramming::ObjectReadFromStream::operator() ( T &  obj)
inline

Definition at line 33 of file metaprogramming_serialization.h.

Member Data Documentation

◆ m_stream

mrpt::serialization::CArchive* mrpt::serialization::metaprogramming::ObjectReadFromStream::m_stream
private

Definition at line 23 of file metaprogramming_serialization.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020