MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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.

Namespaces

 moose
 

Functions

string & moose::clean_type_name (string &arg)
 
bool moose::endswith (const string &full, const string &ending)
 
std::string moose::fix (const std::string userPath, const string &delimiters)
 
string moose::random_string (const unsigned len)
 
int moose::strncasecmp (const std::string &a, const std::string &b, size_t n)
 Compares the two strings a and b for first n characters, ignoring the case of the characters. Return 0 in case both are same upto first n characters. Othere a non-zero value is returned. When n is smaller or equal to the size of both strings, positive is return if a is larger than b, or negative when a is smaller than b. More...
 
void moose::tokenize (const string &str, const string &delimiters, vector< string > &tokens)
 
std::string moose::trim (const std::string myString, const string &delimiters)
 

Variables

static const char *const moose::DELIMITERS =" \t\r\n"