SST/macro
Namespaces | Functions
basic_string_tokenizer.h File Reference
#include <string>
#include <deque>
Include dependency graph for basic_string_tokenizer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sprockit
 
 pst
 
 pst::BasicStringTokenizer
 This nested namespace contains basic functions for std::string parsing.
 

Functions

std::string sprockit::trim_str (const std::string &Src, const std::string &c=" \r\n")
 
template<class CharType , class Traits , class StrAlloc , class DqAlloc >
void pst::BasicStringTokenizer::tokenize (const typename std::basic_string< CharType, Traits, StrAlloc > &str, typename std::deque< typename std::basic_string< CharType, Traits, StrAlloc >, DqAlloc > &tok, const typename std::basic_string< CharType, Traits, StrAlloc > &space=" \t\n")
 A utility function to tokenize a std::string. More...
 
template<class CharType , class Traits , class Alloc >
std::basic_string< CharType, Traits, Alloc > pst::BasicStringTokenizer::trim (const typename std::basic_string< CharType, Traits, Alloc > &s, const typename std::basic_string< CharType, Traits, Alloc > &spaces=" \t")
 A utility function to trim spaces off a std::string. More...