Tempus Version of the Day
Time Integration
Loading...
Searching...
No Matches
Namespaces | Functions
Tempus_String_Utilities.cpp File Reference
#include "Tempus_String_Utilities.hpp"
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Tempus
 

Functions

void Tempus::trim (std::string &str)
 Removes whitespace at beginning and end of string.
 
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.
 
void Tempus::TokensToDoubles (std::vector< double > &values, const std::vector< std::string > &tokens)
 Turn a vector of tokens into a vector of doubles.
 
void Tempus::TokensToInts (std::vector< int > &values, const std::vector< std::string > &tokens)
 Turn a vector of tokens into a vector of ints.