nxcl @VERSION@
Static Public Member Functions | List of all members
nxcl::notQtUtilities Class Reference

#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

◆ ensureUnixNewlines()

static int nxcl::notQtUtilities::ensureUnixNewlines ( std::string &  input)
static

Run through input and replace any DOS newlines with unix newlines.

◆ simplify()

static string nxcl::notQtUtilities::simplify ( string &  input)
static

The same (more or less) as Qt QString::simplified

◆ splitString() [1/2]

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

◆ splitString() [2/2]

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


The documentation for this class was generated from the following file: