Main MRPT website > C++ reference for MRPT 1.9.9
Namespaces | Functions | Variables
base/src/utils/CSerializable_unittest.cpp File Reference
#include <mrpt/utils/CSerializable.h>
#include <mrpt/utils/CFileInputStream.h>
#include <mrpt/utils/CMemoryStream.h>
#include <mrpt/utils/stl_serialization.h>
#include <mrpt/utils/TStereoCamera.h>
#include <mrpt/random.h>
#include <mrpt/math/ops_vectors.h>
#include <mrpt/system/filesystem.h>
#include <mrpt/poses.h>
#include <gtest/gtest.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.
 

Functions

 TEST (SerializeTestBase, LoadDemoFile)
 
 TEST (SerializeTestBase, WriteReadToMem)
 
 TEST (SerializeTestBase, CopyOperator)
 
 TEST (SerializeTestBase, CArray)
 
 TEST (SerializeTestBase, STL_serialization)
 
 TEST (SerializeTestBase, CastSmartPointers)
 

Variables

std::string mrpt::utils::MRPT_GLOBAL_UNITTEST_SRC_DIR
 
const mrpt::utils::TRuntimeClassIdlstClasses []
 

Function Documentation

◆ TEST() [1/6]

TEST ( SerializeTestBase  ,
LoadDemoFile   
)

Definition at line 37 of file base/src/utils/CSerializable_unittest.cpp.

References mrpt::system::fileExists(), mrpt::utils::MRPT_GLOBAL_UNITTEST_SRC_DIR, and R.

Here is the call graph for this function:

◆ TEST() [2/6]

TEST ( SerializeTestBase  ,
WriteReadToMem   
)

◆ TEST() [3/6]

TEST ( SerializeTestBase  ,
CopyOperator   
)

Definition at line 130 of file base/src/utils/CSerializable_unittest.cpp.

References mrpt::utils::TRuntimeClassId::className, mrpt::utils::TRuntimeClassId::createObject(), and lstClasses.

Here is the call graph for this function:

◆ TEST() [4/6]

TEST ( SerializeTestBase  ,
CArray   
)

Definition at line 155 of file base/src/utils/CSerializable_unittest.cpp.

References mrpt::utils::CMemoryStream::Seek().

Here is the call graph for this function:

◆ TEST() [5/6]

TEST ( SerializeTestBase  ,
STL_serialization   
)

◆ TEST() [6/6]

TEST ( SerializeTestBase  ,
CastSmartPointers   
)

Definition at line 233 of file base/src/utils/CSerializable_unittest.cpp.

References IS_CLASS.

Variable Documentation

◆ lstClasses

const mrpt::utils::TRuntimeClassId* lstClasses[]
Initial value:
= {
Declares a class that represents a Probability Density function (PDF) of a 3D pose using a quaternion...
Structure to hold the parameters of a pinhole stereo camera model.
Definition: TStereoCamera.h:25
#define CLASS_ID(T)
Access to runtime class ID for a defined class name.
Definition: CObject.h:85
A class used to store a 3D pose as a translation (x,y,z) and a quaternion (qr,qx,qy,qz).
Definition: CPose3DQuat.h:48
A class used to store a 2D point.
Definition: CPoint2D.h:36
A class used to store a 3D point.
Definition: CPoint3D.h:32
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
Definition: CPose2D.h:40
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Definition: CPose3D.h:88
Declares a class that represents a Probability Density function (PDF) of a 3D pose ...

Definition at line 91 of file base/src/utils/CSerializable_unittest.cpp.

Referenced by mrpt::utils::CListOfClasses::fromString(), and TEST().




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