Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
string_util Namespace ReferenceDetailed Descriptionsome common string processing functions, for std::string
Function Documentation
uses the standard library's "locale" to convert case of a single character
Definition at line 19 of file string_util.cc.
uses the standard library's "locale" to convert case of a single character
Definition at line 15 of file string_util.cc.
returns lower case version of s
Definition at line 29 of file string_util.cc. Referenced by ConfigurationEditor::NewCollectionEntry::doSelect(), EchoBehavior::intersect(), EchoBehavior::processEvent(), and ControlBase::takeInput().
returns upper case version of s
Definition at line 23 of file string_util.cc. Referenced by WalkCalibration::setupReady().
parses the input string into an arg list, with corresponding offsets of each arg in the original input
Definition at line 78 of file string_util.cc. Referenced by EchoBehavior::processEvent(), ControlBase::takeInput(), and Controller::takeLine().
returns true if str matches re (with optional flags to control interpretation), false otherwise and throws std::string message on error
Definition at line 139 of file string_util.cc.
returns true if str matches re (assumes 'extended' regular expression, not 'basic'), false otherwise and throws std::string message on error
Definition at line 135 of file string_util.cc. Referenced by PostureEngine::loadLine().
returns str with pre removed - if pre is not fully matched, str is returned unchanged
Definition at line 35 of file string_util.cc.
replaces ~USER prefix with specified user's home directory, or ~ prefix with current HOME environment setting; returns str if no valid expansion is found
Definition at line 41 of file string_util.cc.
removes whitespace (as defined by isspace()) from the beginning and end of str, and returns the result
Definition at line 66 of file string_util.cc. Referenced by Config::parseLine(), and Controller::setConfig().
Variable Documentation
reference to the current standard library 'locale'
Definition at line 13 of file string_util.cc. Referenced by localeToLower(), Config::localeToLower(), and localeToUpper().
|
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:59 2007 by Doxygen 1.5.4 |