MIRA
|
Functions for replacing/resolving variables in strings. More...
Go to the source code of this file.
Namespaces | |
mira | |
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
Functions | |
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
| |
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 found pattern - variable combination. More... | |
MIRA_BASE_EXPORT std::string | resolveSpecialVariables (const std::string &pattern, std::string s, boost::function< std::string(const std::string &)> functor, bool ignoreErrors=true) |
Like resolveSpecialVariables above but only resolves a special pattern. More... | |
Functions for replacing/resolving variables in strings.