Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Tempus_String_Utilities.cpp File Reference
#include "Tempus_String_Utilities.hpp"
#include <sstream>

Go to the source code of this file.

Namespaces

 Tempus
 

Functions

void Tempus::trim (std::string &str)
 Removes whitespace at beginning and end of string. More...
 
void Tempus::StringTokenizer (std::vector< std::string > &tokens, const std::string &str, const std::string delimiter=",", bool trim=false)
 Tokenize a string, put tokens in a vector. More...
 
void Tempus::TokensToDoubles (std::vector< double > &values, const std::vector< std::string > &tokens)
 Turn a vector of tokens into a vector of doubles. More...
 
void Tempus::TokensToInts (std::vector< int > &values, const std::vector< std::string > &tokens)
 Turn a vector of tokens into a vector of ints. More...