Some utility functions for manipulating std::strings. More...
#include <map>#include <sstream>#include <string>#include "DataTypes.h"

Go to the source code of this file.
Namespaces | |
| namespace | StringOps | 
Some utility functions for manipulating std::strings.  | |
Functions | |
| template<typename Number > | |
| std::string | StringOps::NumToString (const Number &aNumber) | 
| Write the number as a String.   | |
| std::string | StringOps::ToLower (const std::string &str) | 
| Convert std::string to lower case.   | |
| void | StringOps::split (const std::string &str, char sep, StringMap &words) | 
| void | StringOps::splitDoublet (const std::string &str, std::string &value1, std::string &value2) | 
| Split a xx.yy std::string into xx and yy.   | |
| void | StringOps::parseTextFile (const std::string &fileName, std::map< int, StringMap > &text) | 
| bool | StringOps::hasSubstr (const std::string &name, const std::string &substr) | 
| Returns true if the given name contains the given substring.   | |
Some utility functions for manipulating std::strings.
 1.6.3