Main MRPT website > C++ reference for MRPT 1.5.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"
Include dependency graph for CStream.cpp:

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 354 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:45
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
Definition: CStream.h:38
std::ostream & operator<<(std::ostream &out, MD5 md5)
Definition: md5.cpp:419
BASE_IMPEXP ::mrpt::utils::CStream & operator>>(mrpt::utils::CStream &in, CMatrixPtr &pObj)
GLuint in
Definition: glext.h:6301
GLubyte GLubyte GLubyte a
Definition: glext.h:5575

Definition at line 100 of file CStream.cpp.

◆ SERIALIZATION_END_FLAG

#define SERIALIZATION_END_FLAG   0x88



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