|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Implementation of utilities for working with strings. More...
Implementation of utilities for working with strings.
Definition in file stringUtils.cpp.
#include "ioutils/stringUtils.hpp"Go to the source code of this file.
Namespaces | |
| namespace | mx |
| The mxlib c++ namespace. | |
Functions | |
| template<> | |
| bool | mx::ioutils::convertFromString< bool > (const std::string &str) |
| Template specialization of convertFromString for bool. | |
| void | mx::ioutils::toLower (std::string &outstr, const std::string &instr) |
| Convert a string to all lower case. | |
| std::string | mx::ioutils::toLower (const std::string &instr) |
| Convert a string to all lower case. | |
| void | mx::ioutils::toUpper (std::string &outstr, const std::string &instr) |
| Convert a string to all upper case. | |
| std::string | mx::ioutils::toUpper (const std::string &instr) |
| Convert a string to all upper case. | |
| void | mx::ioutils::removeWhiteSpace (std::string &outstr, const std::string &instr) |
| Remove all white space from a string. | |
| std::string | mx::ioutils::removeWhiteSpace (const std::string &instr) |
| Remove all white space from a string. | |
| int | mx::ioutils::stringWrap (std::vector< std::string > &lines, const std::string &str, int width) |
| Wrap a string by breaking it into smaller sized portions of a desired width. | |