#include <notQt.h>
Static Public Member Functions |
static string | simplify (string &input) |
static void | splitString (string &line, char token, vector< string > &rtn) |
static void | splitString (string &line, char token, list< string > &rtn) |
static int | ensureUnixNewlines (std::string &input) |
Detailed Description
A few useful utility functions.
Definition at line 248 of file notQt.h.
Member Function Documentation
static int nxcl::notQtUtilities::ensureUnixNewlines |
( |
std::string & |
input | ) |
|
|
static |
Run through input and replace any DOS newlines with unix newlines.
static string nxcl::notQtUtilities::simplify |
( |
string & |
input | ) |
|
|
static |
The same (more or less) as Qt QString::simplified
static void nxcl::notQtUtilities::splitString |
( |
string & |
line, |
|
|
char |
token, |
|
|
vector< string > & |
rtn |
|
) |
| |
|
static |
Split a string 'line' based on token, placing the portions in the vector rtn
static void nxcl::notQtUtilities::splitString |
( |
string & |
line, |
|
|
char |
token, |
|
|
list< string > & |
rtn |
|
) |
| |
|
static |
Split a string 'line' based on token, placing the portions in the list rtn
The documentation for this class was generated from the following file: