STK++ 0.9.13
|
In this file we define useful constant and method specific to the DManager project. More...
Go to the source code of this file.
Namespaces | |
namespace | STK |
The namespace STK is the main domain space of the Statistical ToolKit project. | |
namespace | STK::DManager |
Enumerations | |
enum | STK::DManager::TypeDataFile { STK::DManager::unknown_ =0 , STK::DManager::csv_ } |
type of the data file we handle. More... | |
Functions | |
TypeDataFile | STK::DManager::stringToTypeDataFile (String const &type) |
convert a String to a TypeDataFile. | |
String | STK::DManager::TypeDataFileToString (TypeDataFile const &type) |
convert a TypeDataFile to a String. | |
bool | STK::DManager::checkStringToBoolean (String const &str) |
check if a string represent a boolean. | |
bool | STK::DManager::StringToBoolean (String const &str) |
convert a string to a boolean. | |
void | STK::DManager::removeCharBeforeAndAfter (String &str, Char c) |
remove all occurrences of the char c at the beginning and the end of the string str . | |
istream & | STK::DManager::getField (istream &is, String &value, Char delimiter) |
Get the current field from the input stream. | |
template<class TYPE > | |
void | STK::DManager::readList (String const &strBuffer, std::list< TYPE > &lst, Char sep=CHAR_SEP) |
Read a list of value of type TYPE stored in a line. | |
template<class TYPE > | |
void | STK::DManager::writeList (ostream &os, std::list< TYPE > const &lst, Char sep=CHAR_SEP) |
Write a list of value of type TYPE stored in a line. | |
int | STK::DManager::nbEndOfLine (istream &is) |
In this file we define useful constant and method specific to the DManager project.
Definition in file STK_DManager_Util.h.