STK++ 0.9.13
STK_Binary.h File Reference

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

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

Go to the source code of this file.

Classes

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

Namespaces

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

Enumerations

enum  STK::Binary { STK::zero_ =0 , STK::one_ =1 , STK::binaryNA_ =INT_MIN }
 STK fundamental type of a binary. More...
 

Functions

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

Detailed Description

In this file we define the fundamental type Binary.

Definition in file STK_Binary.h.