Functions
rosmon::launch::string_utils Namespace Reference

Functions

bool isOnlyWhitespace (const std::string &input)
 Check if string is whitespace only (includes '
') More...
 
std::string simplifyWhitespace (const std::string &input)
 Compress any sequence of whitespace to single spaces. More...
 

Function Documentation

bool rosmon::launch::string_utils::isOnlyWhitespace ( const std::string &  input)

Check if string is whitespace only (includes '
')

Definition at line 47 of file string_utils.cpp.

std::string rosmon::launch::string_utils::simplifyWhitespace ( const std::string &  input)

Compress any sequence of whitespace to single spaces.

Since we switch of space condensing in TinyXML to be able to properly parse <rosparam> tags, this function can be used for attributes.

roslaunch also strips whitespace at begin/end, so we do that as well.

Definition at line 13 of file string_utils.cpp.



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