#include <SerializationHelper.h>
Helper class for converting primitive datatypes into string representations and vice versa.
Definition at line 39 of file SerializationHelper.h.
ProbabilisticSceneRecognition::SerializationHelper::SerializationHelper |
( |
| ) |
|
ProbabilisticSceneRecognition::SerializationHelper::~SerializationHelper |
( |
| ) |
|
void ProbabilisticSceneRecognition::SerializationHelper::convertMatrixToString |
( |
boost::shared_ptr< Eigen::MatrixXd > & |
mat, |
|
|
std::string & |
str |
|
) |
| |
|
static |
Converts am Eigen matrix into a string.
- Parameters
-
mat | The Eigen matrix to convert to string. |
str | The string to fill with the content of the matrix. |
Definition at line 89 of file SerializationHelper.cpp.
void ProbabilisticSceneRecognition::SerializationHelper::convertStringToMatrix |
( |
unsigned int |
size, |
|
|
std::string & |
str, |
|
|
boost::shared_ptr< Eigen::MatrixXd > & |
mat |
|
) |
| |
|
static |
Converts a string into an Eigen matrix.
- Parameters
-
size | The size of rows and colums of the matrix. |
str | The string to convert to an Eigen matrix. |
mat | The matrix to fill with the content of the string. |
Definition at line 100 of file SerializationHelper.cpp.
void ProbabilisticSceneRecognition::SerializationHelper::convertStringToVector |
( |
std::string & |
str, |
|
|
std::vector< double > & |
vec |
|
) |
| |
|
static |
Converts a vector of doubles into a string.
- Parameters
-
str | The string to convert to a vector. |
vec | The vector to fill with the content of the string. |
Definition at line 42 of file SerializationHelper.cpp.
void ProbabilisticSceneRecognition::SerializationHelper::convertStringToVector |
( |
unsigned int |
size, |
|
|
std::string & |
str, |
|
|
boost::shared_ptr< Eigen::VectorXd > & |
vec |
|
) |
| |
|
static |
Converts a string into an Eigen vector.
- Parameters
-
size | The size of the vector. |
str | The string to convert to a vector. |
vec | The vector to fill with the content of the string. |
Definition at line 68 of file SerializationHelper.cpp.
void ProbabilisticSceneRecognition::SerializationHelper::convertVectorToString |
( |
std::vector< double > & |
vec, |
|
|
std::string & |
str |
|
) |
| |
|
static |
Converts a vector of doubles into a string.
- Parameters
-
vec | The vector to convert to string. |
str | The string to fill with the content of the vector. |
Definition at line 30 of file SerializationHelper.cpp.
void ProbabilisticSceneRecognition::SerializationHelper::convertVectorToString |
( |
boost::shared_ptr< Eigen::VectorXd > & |
vec, |
|
|
std::string & |
str |
|
) |
| |
|
static |
Converts an Eigen vector into a string.
- Parameters
-
vec | The vector to convert to string. |
str | The string to fill with the content of the vector. |
Definition at line 58 of file SerializationHelper.cpp.
The documentation for this class was generated from the following files:
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09