36 #ifndef INCLUDE_NRT_CORE_MODEL_PARAMETERSTRINGCONVERSION_H
37 #define INCLUDE_NRT_CORE_MODEL_PARAMETERSTRINGCONVERSION_H
45 #include <nrt/config.h>
47 #ifdef NRT_HAVE_EIGEN3
49 #endif // NRT_HAVE_EIGEN3
87 void paramStringToVal(std::string
const & valstring, std::vector<Q> & result);
91 template <
class K,
class V>
97 template <
class K,
class V>
98 void paramStringToVal(std::string
const & valstring, std::map<K,V> & result);
124 void paramValToString<std::string>(std::string
const & val, std::string & result);
129 void paramStringToVal<std::string>(std::string
const & valstring, std::string & result);
131 #ifdef NRT_HAVE_EIGEN3
134 template <
typename _Scalar,
int _Rows,
int _Cols,
int _Options,
int _MaxRows,
int _MaxCols>
135 void paramValToString(Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>
const & val,
136 std::string & result);
139 template <
typename _Scalar,
int _Rows,
int _Cols,
int _Options,
int _MaxRows,
int _MaxCols>
141 Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> & result);
143 #endif // NRT_HAVE_EIGEN3
153 #endif // INCLUDE_NRT_CORE_MODEL_PARAMETERSTRINGCONVERSION_H