nidas
v1.2-1520
|
Go to the source code of this file.
Namespaces | |
nidas::util | |
General utility classes. nidas::util contains classes of general utility, like Socket, Thread, etc. The classes use only the standard Unix system libraries and libstdc++, and have no dependency on other external packages such as an XML parser, or a logging package. | |
nidas | |
Root namespace for the NCAR In-Situ Data Acquisition Software. | |
Functions | |
std::string | nidas::util::replaceBackslashSequences (const std::string &str) |
Utility function for replacing backslash sequences in a string. More... | |
std::string | nidas::util::addBackslashSequences (const std::string &str) |
Utility function for substituting backslash sequences back into a string. More... | |
void | nidas::util::trimString (std::string &str) |
Utility to remove white space characters (matching isspace()) from end of string. More... | |
void | nidas::util::replaceCharsIn (std::string &in, const std::string &pat, const std::string &rep) |
Replace all occurences of pat in string in with rep. More... | |
std::string | nidas::util::replaceChars (const std::string &in, const std::string &pat, const std::string &rep) |
std::string | nidas::util::svnStatus (const std::string &path) throw (IOException) |
Run "svn status -v --depth empty" on a path and return a concatentated string of revision + flags, where flags are the first 8 characters. More... | |
float | nidas::util::dirFromUV (float u, float v) |
Calculate wind direction in degrees from U and V wind components, or if U and V are both zero return NAN as wind direction is undefined. More... | |