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

Ishtar::InputStream Class Reference

#include <stream.h>

Inheritance diagram for Ishtar::InputStream:

Ishtar::FileInputStream Ishtar::Socket List of all members.

Detailed Description

An input stream from which we can read.


Public Member Functions

virtual ~InputStream ()
 Destructor.
virtual void read (void *data, Size size)=0
 Read a data buffer, no endian conversion.
template<typename T>
readEndianIndependant ()
 Read buffer v, correct endian for size 2, 4, and 8 (2*4).
Int8 readInt8 (void)
 Read a 8 bits signed integer, endian safe.
UInt8 readUInt8 (void)
 Read a 8 bits unsigned integer, endian safe.
Int16 readInt16 (void)
 Read a 16 bits signed integer, endian safe.
UInt16 readUInt16 (void)
 Read a 16 bits unsigned integer, endian safe.
Int32 readInt32 (void)
 Read a 32 bits signed integer, endian safe.
UInt32 readUInt32 (void)
 Read a 32 bits unsigned integer, endian safe.
float readFloat (void)
 Read a float, endian safe.
double readDouble (void)
 Read a double, endian safe.


The documentation for this class was generated from the following file:
Generated on Mon Oct 24 17:30:54 2005 for libishtarnet by  doxygen 1.4.2