Public Member Functions | Static Public Member Functions
String Class Reference

String help functions. More...

#include <String.h>

List of all members.

Public Member Functions

 String ()
 The constructor.
 ~String ()
 The destructor.

Static Public Member Functions

template<class T >
static std::vector< T > convertTo (std::vector< std::string > strVec)
template<class T >
static T convertTo (std::string str)
 convert a string to some kind of variable example: int i = String::convertTo<int>( "16" );
static std::string downCase (std::string text)
static std::vector< std::string > explode (const std::string &text, const std::string &separators, bool keepSeparators=false)
 splits a string into substrings at certain separators
template<class C >
static std::string implode (C &container, const std::string &separator)
static std::string removeCharacters (std::string text, std::string characters)
template<class T >
static std::string toString (T value)
 convert a variable of arbitrary type T to a string (must be writable to a stream)
static std::string upCase (std::string text)

Detailed Description

String help functions.

Author:
David Gossow (RX)

Definition at line 24 of file String.h.


Constructor & Destructor Documentation

The constructor.

The destructor.


Member Function Documentation

template<class T >
static std::vector<T> String::convertTo ( std::vector< std::string >  strVec) [inline, static]

Definition at line 68 of file String.h.

template<class T >
static T String::convertTo ( std::string  str) [inline, static]

convert a string to some kind of variable example: int i = String::convertTo<int>( "16" );

Definition at line 85 of file String.h.

static std::string String::downCase ( std::string  text) [static]
static std::vector<std::string> String::explode ( const std::string &  text,
const std::string &  separators,
bool  keepSeparators = false 
) [static]

splits a string into substrings at certain separators

Parameters:
separatorsstring containing all possible separators
template<class C >
static std::string String::implode ( C &  container,
const std::string &  separator 
) [inline, static]

Definition at line 46 of file String.h.

static std::string String::removeCharacters ( std::string  text,
std::string  characters 
) [static]
template<class T >
static std::string String::toString ( value) [inline, static]

convert a variable of arbitrary type T to a string (must be writable to a stream)

Definition at line 96 of file String.h.

static std::string String::upCase ( std::string  text) [static]

The documentation for this class was generated from the following file:


robbie_architecture
Author(s): Viktor Seib
autogenerated on Mon Oct 6 2014 02:53:09