jspace/jspace/strutil.cpp File Reference

Author:
Roland Philippsen (roland DOT philippsen AT gmx DOT net)
More...

#include "strutil.hpp"

Include dependency graph for strutil.cpp:

Go to the source code of this file.

Namespaces

namespace  sfl

Functions

template<>
std::string sfl::to_string< bool > (const bool &flag)
 booleans are better represented by "true" and "false" than by 1 and 0.
template<>
bool sfl::string_to< bool > (const std::string &str, bool &foo)
 booleans are converted by string matching: "true", "True", "TRUE", "on", "On", or "ON" yield a true boolean, whereas "false", "False", "FALSE", "off", "Off", or "OFF" yield a false boolean.
bool sfl::splitstring (string const &input, char separator, string &head, string &tail)


Detailed Description

Author:
Roland Philippsen (roland DOT philippsen AT gmx DOT net)

Definition in file strutil.cpp.


Generated on Fri Aug 26 01:31:32 2011 for Stanford Whole-Body Control Framework by  doxygen 1.5.4