Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Member Functions | Private Attributes
mrpt::utils::metaprogramming::ObjectReadFromStream Struct Reference

Detailed Description

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

Definition at line 23 of file metaprogramming_serialization.h.

#include <mrpt/utils/metaprogramming_serialization.h>

Public Member Functions

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

Private Attributes

CStreamm_stream
 

Constructor & Destructor Documentation

◆ ObjectReadFromStream()

mrpt::utils::metaprogramming::ObjectReadFromStream::ObjectReadFromStream ( mrpt::utils::CStream stream)
inline

Definition at line 28 of file metaprogramming_serialization.h.

Member Function Documentation

◆ operator()()

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

Definition at line 31 of file metaprogramming_serialization.h.

Member Data Documentation

◆ m_stream

CStream* mrpt::utils::metaprogramming::ObjectReadFromStream::m_stream
private

Definition at line 26 of file metaprogramming_serialization.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019