- 3.0.2 core module.
InfoFileParser.h File Reference
#include <iostream>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/info_parser.hpp>

Go to the source code of this file.

Namespaces

 ct
 
 ct::core
 

Functions

template<typename SCALAR >
void ct::core::loadScalar (const std::string &filename, const std::string &scalarName, SCALAR &scalar, const std::string &ns="")
 Loads a scalar file from an .info file. More...
 
template<typename SCALAR >
void ct::core::loadScalarOptional (const std::string &filename, const std::string &scalarName, SCALAR &scalar, const SCALAR &defaultValue, const std::string &ns="")
 Tries to load a scalar from an .info file. Falls back to default value if not found. More...
 
template<typename SCALAR , int ROW, int COL>
void ct::core::loadMatrix (const std::string &filename, const std::string &matrixName, Eigen::Matrix< SCALAR, ROW, COL > &matrix, const std::string &ns="")
 Loads a matrix/vector file from an .info file. More...