STK++ 1.0
STK_String_Util.h File Reference

In this file we define miscellaneous utilities functions for Strings and the global String used for handling the NA values. More...

#include "STK_String.h"
#include "STK_Stream.h"
#include "STK_Proxy.h"
Include dependency graph for STK_String_Util.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.


Functions

template<class TYPE >
bool STK::stringToType (TYPE &t, String const &s, std::ios_base &(*f)(std::ios_base &)=std::dec)
 convert a String to TYPE
template<class TYPE >
String STK::typeToString (TYPE const &t, std::ios_base &(*f)(std::ios_base &)=std::dec)
 convert a TYPE to String
template<class TYPE >
ostream & STK::operator<< (ostream &os, const ConstProxy< TYPE > &output)
 Overloading of the operator << for the type TYPE using a constant Proxy.
template<class TYPE >
istream & STK::operator>> (istream &is, Proxy< TYPE > &input)
 Overloading of the operator >> for the type TYPE using a Proxy.
istream & STK::operator>> (istream &is, Proxy< String > &input)
 Overloading of the istream >> for the type String.
String & STK::toUpperString (String &s)
 convert the characters of the String to upper case
String STK::toUpperString (String const &s)
 convert the characters of the String to upper case

Variables

static const String STK::STRING_NA = String(_T("."))
 Representation of a Not Available value.
static const int STK::STRING_NA_SIZE = 1
 Size (in number of Char) of a Not Available value.

Detailed Description

In this file we define miscellaneous utilities functions for Strings and the global String used for handling the NA values.

Definition in file STK_String_Util.h.