An AkentiOutputStream object is used to serialize all types of objects using a simple scheme to write the objects' string reprsentations
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.
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