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

Ishtar::OutputStream Class Reference

#include <stream.h>

Inheritance diagram for Ishtar::OutputStream:

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

Detailed Description

An output stream to which we can write.


Public Member Functions

virtual ~OutputStream ()
 Destructor.
virtual void write (const void *data, const Size size)=0
 Write a data buffer, no endian conversion.
virtual void flush (void)=0
 Flush the internal buffer, be sure that datas are really written.
template<typename T>
void writeEndianIndependant (const T &v)
 Write buffer v, correct endian.
void writeInt8 (const Int8 v)
 Write a 8 bits signed integer, endian safe.
void writeUInt8 (const UInt8 v)
 Write a 8 bits unsigned integer, endian safe.
void writeInt16 (const Int16 v)
 Write a 16 bits signed integer, endian safe.
void writeUInt16 (const UInt16 v)
 Write a 16 bits unsigned integer, endian safe.
void writeInt32 (const Int32 v)
 Write a 32 bits signed integer, endian safe.
void writeUInt32 (const UInt32 v)
 Write a 32 bits unsigned integer, endian safe.
void writeFloat (const float v)
 Write a float, endian safe.
void writeDouble (const double v)
 Write 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