Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MynahSA::IBinaryStream Class Reference

#include <ibinarystream.hpp>

Inheritance diagram for MynahSA::IBinaryStream:

Inheritance graph
[legend]
Collaboration diagram for MynahSA::IBinaryStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IBinaryStream (std::istream &is)
 constructor - takes an input stream
 IBinaryStream (const IBinaryStream &is)
 copy constructor
virtual ~IBinaryStream ()
 destructor - does nothing
virtual IStreamBaseoperator>> (char &)
 instream a char
virtual IStreamBaseoperator>> (unsigned char &)
 instream an unsigned char
virtual IStreamBaseoperator>> (short &)
 instream a short
virtual IStreamBaseoperator>> (unsigned short &)
 instream an unsigned short
virtual IStreamBaseoperator>> (bool &)
 instream a bool
virtual IStreamBaseoperator>> (int &)
 instream an int
virtual IStreamBaseoperator>> (unsigned int &)
 instream an unsigned int
virtual IStreamBaseoperator>> (long long &)
 instream a long long
virtual IStreamBaseoperator>> (unsigned long long &)
 instream an unsigned long long
virtual IStreamBaseoperator>> (double &)
 instream a double
virtual IStreamBaseoperator>> (float &)
 instream a float
virtual void get (char &c)
 implementation for get char

Detailed Description

Class IBinaryStream couples the archive system with a standard stream. The BinaryStream variety writes data onto the stream in a formated binary mode. Integers, floats, doubles, etc... are written directly onto the std::istream provided in class construction. Note: unlike network byte order - the default byte order for this system is Intel standard; not big endian. There are not that many big-endian platforms around anymore :(.

Definition at line 35 of file ibinarystream.hpp.


The documentation for this class was generated from the following file: