namespace Akenti class UtcTime

An AkentiOutputStream object is used to serialize all types of objects using a simple scheme to write the objects' string reprsentations

virtual ~AkentiObject()
Destroys this object
virtual void readObject(AkentiInputStream& source)
Reads an Akenti object from an Akenti input stream
virtual void writeObject(AkentiOutputStream& drain) const
Writes an Akenti object to an Akenti output stream
virtual string paramString() const
Returns a string representation of this object for debugging purposes

Documentation

An AkentiOutputStream object is used to serialize all types of objects using a simple scheme to write the objects' string reprsentations. For standard C++ types such as int, long, char this class just wraps the ostream methods. For string objects containing blank spaces those spaces are escaped by preceeding them by a back slash. Escaping the blank space allows the deserializing process to distinguish between blank spaces that are part of the object being deserialized and the blank spaces used as delimiters between elements. Only the object is written to the ostream by these methods. The delimiting blank space between the ojbects must be written by the caller of this class. Note: Blank spaces at the beginning and at the end of an object's representation are ignored. Those in the middle are escaped and if there is a sequence of blanks in the middle, only one is escaped and the others are ignored. Example1: "/C=US/CN=John Doe" will be written as "/C=US/CN=John\ Doe" Example2: Deserializing "Hello\ John Bye\ John" will result in two strings "Hello John" and "Bye John" It is recommended to use an AkentiInputStream object to deserialize objects.
virtual ~AkentiObject()
Destroys this object

virtual void readObject(AkentiInputStream& source)
Reads an Akenti object from an Akenti input stream. Each type of Akenti object knows what items and format to expect from an input stream that is providing the object.
Parameters:
source - the akenti input stream to read from

virtual void writeObject(AkentiOutputStream& drain) const
Writes an Akenti object to an Akenti output stream. Each type of Akenti object knows the external string format of its object.
Parameters:
drain - the akenti output stream to write to

virtual string paramString() const
Returns a string representation of this object for debugging purposes.
Returns:
debugging info

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

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