string_utils.h
Go to the documentation of this file.
1 // String utilities
2 // Author: Max Schwarz <max.schwarz@ais.uni-bonn.de>
3 
4 #ifndef ROSMON_LAUNCH_STRING_UTILS_H
5 #define ROSMON_LAUNCH_STRING_UTILS_H
6 
7 #include <string>
8 
9 namespace rosmon
10 {
11 namespace launch
12 {
13 namespace string_utils
14 {
15 
24 std::string simplifyWhitespace(const std::string& input);
25 
29 bool isOnlyWhitespace(const std::string& input);
30 
31 }
32 }
33 }
34 
35 #endif
std::string simplifyWhitespace(const std::string &input)
Compress any sequence of whitespace to single spaces.
bool isOnlyWhitespace(const std::string &input)
Check if string is whitespace only (includes &#39; &#39;)


rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12