utility/strutil.h File Reference

#include <string>
#include <vector>
Include dependency graph for strutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void tokenize (const std::string &str, const std::string &delimiters, std::vector< std::string > &tokens)
std::string trim (const std::string myString, const std::string &delimiters=" \t\r\n")
std::string fix (const std::string myString, const std::string &delimiters=" \t\r\n")
std::string & clean_type_name (std::string &arg)
bool endswith (const std::string &full, const std::string &ending)

Function Documentation

std::string& clean_type_name ( std::string &  arg  ) 
bool endswith ( const std::string &  full,
const std::string &  ending 
)
std::string fix ( const std::string  myString,
const std::string &  delimiters = " \t\r\n" 
)

Fix the user-given path whenever possible

References c, and trim().

Here is the call graph for this function:

void tokenize ( const std::string &  str,
const std::string &  delimiters,
std::vector< std::string > &  tokens 
)

Splits given string into tokens

Referenced by ReadCell::addChannelMessage().

std::string trim ( const std::string  myString,
const std::string &  delimiters = " \t\r\n" 
)

trims the leading and trailing white spaces

Referenced by chopLine(), findModelType(), fix(), innerLoadXplot(), Function::reinit(), Func::reinit(), and testTrim().


Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1