#include <IStreamer.hh>
Inheritance diagram for rovsoft::io::IStreamer:
Public Member Functions | |
virtual char | readChar ()=0 throw (IOExceptionPtr) |
Reads a single character. | |
virtual char | readByte ()=0 throw (IOExceptionPtr) |
Reads a single byte. | |
virtual unsigned char | readUByte ()=0 throw (IOExceptionPtr) |
Reads a single unsigned byte. | |
virtual short | readShort ()=0 throw (IOExceptionPtr) |
Reads a single short int. | |
virtual unsigned short | readUShort ()=0 throw (IOExceptionPtr) |
Reads a single unsigned short int. | |
virtual long | readLong ()=0 throw (IOExceptionPtr) |
Reads a single long int. | |
virtual unsigned long | readULong ()=0 throw (IOExceptionPtr) |
Reads a single unsigned long int. | |
virtual long long | readLongLong ()=0 throw (IOExceptionPtr) |
Reads a single long long int. | |
virtual unsigned long long | readULongLong ()=0 throw (IOExceptionPtr) |
Reads a single unsigned long long int. | |
virtual float | readFloat ()=0 throw (IOExceptionPtr) |
Reads a single float. | |
virtual double | readDouble ()=0 throw (IOExceptionPtr) |
Reads a single double. | |
virtual std::string | readString ()=0 throw (IOExceptionPtr) |
virtual std::string | readString (int length)=0 throw (IOExceptionPtr) |
Reads a string with fix length. | |
virtual bool | endOfStream ()=0 |
Test if we are at the end of a stream. | |
virtual | ~IStreamer () |
Virtual empty destructor. |
|
Virtual empty destructor.
|
|
Test if we are at the end of a stream.
Implemented in rovsoft::io::AsciiIStreamer, and rovsoft::io::BinaryIStreamer. |
|
Reads a single byte.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, rovsoft::io::BinaryLenSegmentIStreamer, and rovsoft::io::BinarySubstitutionIStreamer. |
|
Reads a single character. There is no difference betwenn readChar and readByte if the underlying protocol is a binary one, if the underlying protocol is string based, then readChar would return for the character '1' the character '1', readByte and readUByte would return '\1', or just 1, (The number, not the character '1'). So readByte and readUByte could actually read up to 4 characters (1 because of the '-' sign) from the stream and interprets them as number, readChar will always only read one byte interpreting it as a character. Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a single double.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a single float.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a single long int.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a single long long int.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a single short int.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a string with fix length.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a single unsigned byte.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a single unsigned long int.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a single unsigned long long int.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |
|
Reads a single unsigned short int.
Implemented in rovsoft::io::AsciiIStreamer, rovsoft::io::BinaryIStreamer, and rovsoft::io::BinaryLenSegmentIStreamer. |