STK++ 1.0

STK_DataUtil.h File Reference

In this file we declare various methods useful for processing strings and i/o streams. More...

Include dependency graph for STK_DataUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  STK
 

STK means the Statistical ToolKit.


Defines

#define CHAR_COMMENT   _T('#')
#define CHAR_EQUAL   _T('=')
#define CHAR_BLANK   _T(' ')
#define CHAR_TAB   _T('\t')
#define CHAR_SEP   _T(',')
#define CHAR_OPENBRACKET   _T('[')
#define CHAR_CLOSEBRACKET   _T(']')

Functions

void STK::removeCharBeforeAndAfter (String &str, Char c)
String STK::getField (istream &is, Char delimiter)
void STK::getField (istream &is, Char delimiter, String &field)
template<class TYPE >
void STK::readList (String const &strBuffer, std::list< TYPE > &lst, Char sep=_T(','))
template<class TYPE >
void STK::writeList (ostream &os, std::list< TYPE > const &lst, Char sep=_T(','))

Detailed Description

In this file we declare various methods useful for processing strings and i/o streams.

Definition in file STK_DataUtil.h.


Define Documentation

#define CHAR_COMMENT   _T('#')

Definition at line 49 of file STK_DataUtil.h.

Referenced by STK::IPage::findKeyword(), and STK::IPage::read().

#define CHAR_EQUAL   _T('=')

Definition at line 50 of file STK_DataUtil.h.

Referenced by STK::IPage::processLine(), STK::IPage::read(), and STK::Option::write().

#define CHAR_BLANK   _T(' ')
#define CHAR_TAB   _T('\t')
#define CHAR_SEP   _T(',')

Definition at line 53 of file STK_DataUtil.h.

Referenced by STK::Option::write().

#define CHAR_OPENBRACKET   _T('[')

Definition at line 54 of file STK_DataUtil.h.

Referenced by STK::createKeyWord(), and STK::IPage::read().

#define CHAR_CLOSEBRACKET   _T(']')

Definition at line 55 of file STK_DataUtil.h.

Referenced by STK::createKeyWord().