Main MRPT website > C++ reference for MRPT 1.9.9
Namespaces | Macros | Functions
CStream.cpp File Reference
#include "base-precomp.h"
#include <mrpt/utils/CStream.h>
#include <mrpt/system/os.h>
#include <mrpt/utils/CSerializable.h>
#include <mrpt/utils/types_math.h>
#include <map>
#include <iostream>
#include <cstdarg>
#include "internal_class_registry.h"

Go to the source code of this file.

Namespaces

 mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::utils
 Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
 
 mrpt::utils::detail
 

Macros

#define SERIALIZATION_END_FLAG   0x88
 
#define IMPLEMENT_CSTREAM_READ_WRITE_SIMPLE_TYPE(T)
 
#define CSTREAM_VERBOSE   0
 

Functions

template<typename VEC >
CStreammrpt::utils::detail::writeStdVectorToStream (mrpt::utils::CStream &s, const VEC &v)
 
template<typename VEC >
CStreammrpt::utils::detail::readStdVectorToStream (mrpt::utils::CStream &s, VEC &v)
 

Macro Definition Documentation

◆ CSTREAM_VERBOSE

#define CSTREAM_VERBOSE   0

Definition at line 418 of file CStream.cpp.

◆ IMPLEMENT_CSTREAM_READ_WRITE_SIMPLE_TYPE

#define IMPLEMENT_CSTREAM_READ_WRITE_SIMPLE_TYPE (   T)
Value:
{ \
out.WriteBuffer((void*)&a, sizeof(a)); \
return out; \
} \
{ \
in.ReadBuffer((void*)&a, sizeof(a)); \
return in; \
}
size_t ReadBuffer(void *Buffer, size_t Count)
Reads a block of bytes from the stream into Buffer.
Definition: CStream.cpp:40
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
Definition: CStream.h:41
std::ostream & operator<<(std::ostream &out, MD5 md5)
Definition: md5.cpp:423
mrpt::utils::CStream & operator>>(mrpt::utils::CStream &in, CMatrix::Ptr &pObj)
GLuint in
Definition: glext.h:7274
GLubyte GLubyte GLubyte a
Definition: glext.h:6279

Definition at line 94 of file CStream.cpp.

◆ SERIALIZATION_END_FLAG

#define SERIALIZATION_END_FLAG   0x88



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