#include <CNCL/PIO.h>
CN_PIO
CNCL
None
None
CNPIO
provides the format of storing and reading the
persistent objects on/from a stream.The format convention can be
described as follows:
classname
delimitation character
data
delimitation character
The functions provided by CNPIO
are:
static int store_object(CNPstream& stream, CNObject& obj, bool no_ptr_check = FALSE);
static CNObject* read_object(CNPstream& stream);
CNObject
on the
stream
. A CNObject
is recognized to be persistent if it is
registered at the actual Reader Table
. no_ptr_check
determines if the objects are checked for multiple appearence
(no_ptr_check = FALSE
) or not (TRUE
).
Stores the id of the persistent object obj
to the given stream.
static CNPID read_id(CNPstream& stream);
Go to the first, previous, next, last section, table of contents.