Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Tempus_String_Utilities.hpp File Reference
#include <vector>
#include <string>
#include "Teuchos_RCP.hpp"
#include "Teuchos_ParameterList.hpp"

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...
 
template<typename ScalarT >
ScalarT Tempus::getScalarParameter (const std::string &field, const Teuchos::ParameterList &plist)