43 #ifndef PANZER_STRING_UTILITIES_HPP 
   44 #define PANZER_STRING_UTILITIES_HPP 
   54   void trim(std::string& str);
 
   58            const std::string& str,
 
   59            const std::string delimiter = 
",",
bool trim=
false);
 
   62   void TokensToDoubles(std::vector<double> & values,
const std::vector<std::string> & tokens);
 
   65   void TokensToInts(std::vector<int> & values,
const std::vector<std::string> & tokens);
 
   70   template <
typename ScalarT>
 
void TokensToInts(std::vector< int > &values, const std::vector< std::string > &tokens)
Turn a vector of tokens into a vector of ints. 
 
T & get(const std::string &name, T def_value)
 
void trim(std::string &str)
Removes whitespace at beginning and end of string. 
 
void TokensToDoubles(std::vector< double > &values, const std::vector< std::string > &tokens)
Turn a vector of tokens into a vector of doubles. 
 
PHX::MDField< ScalarT, panzer::Cell, panzer::BASIS > field
A field to which we'll contribute, or in which we'll store, the result of computing this integral...
 
ScalarT getScalarParameter(const std::string &field, const Teuchos::ParameterList &plist)
 
void StringTokenizer(std::vector< std::string > &tokens, const std::string &str, const std::string delimiters, bool trim)
Tokenize a string, put tokens in a vector.