SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Functions
strutil.hpp File Reference
#include <string>
#include <sstream>
Include dependency graph for strutil.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename displayable_t , typename prefix_t >
std::string sclnet::displayString (displayable_t const &displayable, prefix_t const &prefix)
 
template<typename Foo >
std::string sfl::to_string (const Foo &foo)
 
template<>
std::string sfl::to_string< bool > (const bool &flag)
 
template<typename Foo >
bool sfl::string_to (const std::string &str, Foo &foo)
 
template<>
bool sfl::string_to< bool > (const std::string &str, bool &foo)
 
template<typename Foo >
bool sfl::string_to_bool (const std::string &str, Foo &foo)
 
bool sfl::splitstring (string const &input, char separator, string &head, string &tail)
 
template<typename tokenlist_t >
size_t sfl::tokenize (std::string const &input, char separator, tokenlist_t &output)
 
template<typename tokenlist_t , typename value_t >
bool sfl::token_to (tokenlist_t const &tokenlist, size_t index, value_t &value)
 

Detailed Description

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