STK++ 0.9.13
STK_Sign.h File Reference

In this file we define the fundamental type Sign. More...

#include <map>
Include dependency graph for STK_Sign.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  STK::Arithmetic< Sign >
 Specialization for Sign. More...
 
struct  STK::IdTypeImpl< Sign >
 Specialization of the IdTypeImpl for the Type Sign. More...
 

Namespaces

namespace  STK
 The namespace STK is the main domain space of the Statistical ToolKit project.
 

Enumerations

enum  STK::Sign { STK::negative_ =-1 , STK::positive_ = 1 , STK::signNA_ = INT_MIN }
 STK fundamental type of a sign. More...
 

Functions

ostreamSTK::operator<< (ostream &os, const Sign &value)
 Overloading of the ostream << for the type Sign.
 
istreamSTK::operator>> (istream &is, Sign &value)
 Overloading of the istream >> for the type Sign.
 
Sign STK::stringToSign (String const &str)
 Convert a String to a Sign.
 
Sign STK::stringToSign (String const &str, std::map< String, Sign > const &mapping)
 Convert a String to a Sign using a map.
 
String STK::signToString (Sign const &value, std::ios_base &(*f)(std::ios_base &)=std::dec)
 Convert a Sign to a String.
 
String STK::signToString (Sign const &value, std::map< Sign, String > mapping)
 Convert a Sign to a String.
 
template<>
Sign STK::stringToType< Sign > (String const &str)
 specialization for Sign
 
template<>
String STK::typeToString< Sign > (Sign const &t, std::ios_base &(*f)(std::ios_base &))
 specialization for Sign
 

Detailed Description

In this file we define the fundamental type Sign.

Definition in file STK_Sign.h.