STK++ 0.9.13
|
In this file we define the fundamental type Binary. More...
#include <map>
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 | |
ostream & | STK::operator<< (ostream &os, Binary const &value) |
Overloading of the ostream << for the type Binary. | |
istream & | STK::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 | |
In this file we define the fundamental type Binary.
Definition in file STK_Binary.h.