STK++ 0.9.13
STK_DManager_Util.cpp File Reference

In this file we implement various methods useful for processing strings and i/o streams in the DManager project. More...

#include <algorithm>
#include "../include/STK_DManager_Util.h"
Include dependency graph for STK_DManager_Util.cpp:

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
 

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.
 
istreamSTK::DManager::getField (istream &is, String &value, Char delimiter)
 Get the current field from the input stream.
 
int STK::DManager::nbEndOfLine (istream &is)
 

Detailed Description

In this file we implement various methods useful for processing strings and i/o streams in the DManager project.

Definition in file STK_DManager_Util.cpp.