Main MRPT website > C++ reference for MRPT 1.9.9
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 24 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 30 of file metaprogramming_serialization.h.

Member Function Documentation

◆ operator()()

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

Definition at line 36 of file metaprogramming_serialization.h.

Member Data Documentation

◆ m_stream

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

Definition at line 27 of file metaprogramming_serialization.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019