/export/zimmerman/mjafari/ners590-project/fresh-copy/molecularGSM/GSM/stringtools.h File Reference
#include <string>
#include <cctype>
#include <vector>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <stdio.h>
#include <cmath>
#include <cstdlib>
Go to the source code of this file.
Namespaces |
namespace | StringTools |
Defines |
#define | WS_CHARS " \n\r\t" |
#define | PATH_SEPARATOR_CHAR '/' |
#define | PATH_SEPARATOR_STR "/" |
Functions |
string | StringTools::genfilename (const string &pref, const string &suff, int nfields, int nxyz) |
string | StringTools::lowerCase (const string &s) |
double | StringTools::atod (const string &s) |
int | StringTools::str2int (string &s) |
string | StringTools::int2str (int integer, int size=0, const string spaceStr=" ") |
string | StringTools::double2str (double val, int precision) |
bool | StringTools::isAlpha (unsigned char c) |
int | StringTools::str2int (unsigned char *s) |
string | StringTools::trimRight (const string &) |
unsigned char | StringTools::getNextNonWs (const string &line, int index=0) |
unsigned int | StringTools::getNextNonWsPos (const string &line, int index=0) |
string | StringTools::validateDirPath (const string &path) |
int | StringTools::cleanstring (string &line) |
string | StringTools::newCleanString (string line) |
vector< string > | StringTools::tokenize (string str, string delims) |
bool | StringTools::findstr (ifstream &fstr, string tag) |
bool | StringTools::findstr (ifstream &fstr, string tag, string &outstring) |
bool | StringTools::contains (string s1, string s2) |
bool | StringTools::iscomment (string s) |
Define Documentation
#define PATH_SEPARATOR_CHAR '/' |
#define PATH_SEPARATOR_STR "/" |
#define WS_CHARS " \n\r\t" |