MRPT  1.9.9
CArchive.cpp File Reference
Include dependency graph for CArchive.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::serialization
 
 mrpt::serialization::detail
 

Macros

#define IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE(T)
 
#define CARCHIVE_VERBOSE   0
 

Functions

 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (bool)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (uint8_t)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (int8_t)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (uint16_t)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (int16_t)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (uint32_t)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (int32_t)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (uint64_t)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (int64_t)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (float)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (double)
 
 IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (long double)
 
template<typename VEC >
CArchivemrpt::serialization::detail::writeStdVectorToStream (CArchive &s, const VEC &v)
 
template<typename VEC >
CArchivemrpt::serialization::detail::readStdVectorToStream (CArchive &s, VEC &v)
 

Variables

const uint8_t SERIALIZATION_END_FLAG = 0x88
 

Macro Definition Documentation

◆ CARCHIVE_VERBOSE

#define CARCHIVE_VERBOSE   0

Definition at line 390 of file CArchive.cpp.

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE

#define IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE (   T)
Value:
{ \
out.WriteBuffer((void*)&a, sizeof(a)); \
return out; \
} \
{ \
in.ReadBuffer((void*)&a, sizeof(a)); \
return in; \
}
void WriteBuffer(const void *Buffer, size_t Count)
Writes a block of bytes to the stream from Buffer.
Definition: CArchive.cpp:48
CArchive & operator>>(CArchive &s, mrpt::aligned_std_vector< float > &a)
Definition: CArchive.cpp:303
Virtual base class for "archives": classes abstracting I/O streams.
Definition: CArchive.h:52
GLuint in
Definition: glext.h:7274
CArchive & operator<<(CArchive &s, const mrpt::aligned_std_vector< float > &a)
Definition: CArchive.cpp:252
size_t ReadBuffer(void *Buffer, size_t Count)
Reads a block of bytes from the stream into Buffer.
Definition: CArchive.cpp:24
GLubyte GLubyte GLubyte a
Definition: glext.h:6279

Definition at line 78 of file CArchive.cpp.

Function Documentation

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [1/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( bool  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [2/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( uint8_t  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [3/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( int8_t  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [4/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( uint16_t  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [5/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( int16_t  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [6/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( uint32_t  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [7/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( int32_t  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [8/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( uint64_t  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [9/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( int64_t  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [10/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( float  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [11/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( double  )

◆ IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE() [12/12]

IMPLEMENT_CArchive_READ_WRITE_SIMPLE_TYPE ( long  double)

Variable Documentation

◆ SERIALIZATION_END_FLAG

const uint8_t SERIALIZATION_END_FLAG = 0x88



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020