namespace Akenti class AkentiInputStream

This class is a pure abstract class that is the superclass of all Akenti objects

AkentiInputStream(istream& is)
Constructs this AkentiInputStream given a reference to an input stream specified by is
~AkentiInputStream()
Destructor
AkentiInputStream& operator>>(char& c)
Reads a char from the underlying input stream
AkentiInputStream& operator>>(int& n)
Reads a int from the underlying input stream
AkentiInputStream& operator>>(bool& b)
Reads a bool from the underlying input stream
AkentiInputStream& operator>>(long& l)
Reads a long from the underlying input stream
AkentiInputStream& operator>>(double& d)
Reads a double from the underlying input stream
char get()
Reads one char using the istream::get method from the underlying input stream
AkentiInputStream& read(char* buffer, int len)
Reads len chararacters from the underlying input stream into the buffer specified by buffer
AkentiInputStream& operator>>(string& s)
Reads a string from the underlying input stream
AkentiInputStream& operator>>(UtcTime& utcTime)
Reads a UtcTime from the underlying input stream
AkentiInputStream& operator>>(URL& utcTime)
Reads a URL from the underlying input stream
AkentiInputStream& operator>>(DistinguishedName& dn)
Reads a DistinguishedName from the underlying input stream
AkentiInputStream& operator>>(AkentiObject& obj)
Read an AkentiObject from the underlying input stream

Documentation

This class is a pure abstract class that is the superclass of all Akenti objects. It defines three virtual methods that all Akenti Ojects must implement: readObject, writeObject and paramString.
AkentiInputStream(istream& is)
Constructs this AkentiInputStream given a reference to an input stream specified by is.
Parameters:
is - istream the underlying input stream
See Also:
Error

~AkentiInputStream()
Destructor

AkentiInputStream& operator>>(char& c)
Reads a char from the underlying input stream.
Throws:
IOException if reading from the stream fails
Returns:
this AkentiInputStream for chaining
Parameters:
c - char an out parameter
See Also:
IOException

AkentiInputStream& operator>>(int& n)
Reads a int from the underlying input stream.
Throws:
IOException if reading from the stream fails
Returns:
this AkentiInputStream for chaining
Parameters:
n - int out parameter
See Also:
IOException

AkentiInputStream& operator>>(bool& b)
Reads a bool from the underlying input stream.
Throws:
IOException if reading from the stream fails
Returns:
this AkentiInputStream for chaining
Parameters:
b - bool an out parameter
See Also:
IOException

AkentiInputStream& operator>>(long& l)
Reads a long from the underlying input stream.
Throws:
IOException if reading from the stream fails
Returns:
this AkentiInputStream for chaining
Parameters:
l - long an out parameter
See Also:
IOException

AkentiInputStream& operator>>(double& d)
Reads a double from the underlying input stream.
Throws:
IOException if reading from the stream fails
Returns:
this AkentiInputStream for chaining
Parameters:
d - double an out parameter
See Also:
IOException

char get()
Reads one char using the istream::get method from the underlying input stream.
Returns:
the char read

AkentiInputStream& read(char* buffer, int len)
Reads len chararacters from the underlying input stream into the buffer specified by buffer. Uses the istream::read method.
Parameters:
buffer - char* out parameter
len - number of chars to be read

AkentiInputStream& operator>>(string& s)
Reads a string from the underlying input stream. Implements the convention that the stream representation of a single string consists of ASCII characters terminated by a space unless the space is preceeded by a '\'. In that case the space is considered to be part of the string, and scanning continues until an non-escaped space is found.
Throws:
IOException if reading from the stream fails
Returns:
this AkentiInputStream for chaining
Parameters:
s - string out parameter
See Also:
IOException
AkentiOutputStream::write(string &s);

AkentiInputStream& operator>>(UtcTime& utcTime)
Reads a UtcTime from the underlying input stream.
Throws:
IOException if reading from the stream fails
Parameters:
utcTime - UtcTime out parameter
See Also:
UtcTime for the for external format
IOException

AkentiInputStream& operator>>(URL& utcTime)
Reads a URL from the underlying input stream.
Throws:
IOException if reading from the stream fails
Returns:
this AkentiInputStream for chaining
Parameters:
url - URL out parameter
See Also:
URL for the for external format
IOException

AkentiInputStream& operator>>(DistinguishedName& dn)
Reads a DistinguishedName from the underlying input stream.
Throws:
IOException if reading from the stream fails
Returns:
this AkentiInputStream for chaining
Parameters:
dn - DistinguishedName out parameter
See Also:
DistinguishedName for the for external format
IOException

AkentiInputStream& operator>>(AkentiObject& obj)
Read an AkentiObject from the underlying input stream. Calls the readObject method on the object handing it the AkentiInputStream.
Throws:
IOException if reading from the stream fails
Returns:
this AkentiInputStream for chaining
Parameters:
obj - AkentiObject out parameter
See Also:
AkentiObject

Author:
Srilekha Mudumbai Abdelilah Essiari Xiang Sun
Version:
1.1 00/05/01
See Also:
AkentiInputStream
AkentiOutputStream

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de