Main MRPT website > C++ reference for MRPT 1.5.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 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.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020