47 #ifndef _MIRA_RESOLVEVARIABLE_H_ 48 #define _MIRA_RESOLVEVARIABLE_H_ 52 #include <boost/function.hpp> 75 boost::function<std::string (
const std::string&)> functor,
76 bool ignoreErrors =
true);
90 boost::function<std::string (
const std::string&,
91 const std::string&)> functor,
92 bool ignoreErrors =
true);
108 boost::function<std::string (
const std::string&)> functor,
109 bool ignoreErrors =
true);
Typedefs for OS independent basic data types.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
MIRA_BASE_EXPORT std::string resolveSpecialVariables(std::string s, boost::function< std::string(const std::string &, const std::string &)> functor, bool ignoreErrors=true)
Resolves all occurrences of ${PATTERN variable} in a string by calling the given functor for each fou...
MIRA_BASE_EXPORT std::string resolveVariables(std::string s, boost::function< std::string(const std::string &)> functor, bool ignoreErrors=true)
Resolves all variables in a string: It replaces$VARIABLE${VARIABLE}VARIABLE% by calling the given fun...