Name
bonobo-object-io -- routines to assist component serialization
Description
This code is as yet little used in Bonobo.
Details
enum GnomeIOStatus
typedef enum {
GNOME_IO_OK,
/* Generic error */
GNOME_IOERR_GENERAL,
/* PersistStorage interface not supported by object */
GNOME_IOERR_PERSIST_NOT_SUPPORTED
} GnomeIOStatus; |
bonobo_persist_stream_save_object_iid ()
void bonobo_persist_stream_save_object_iid
(Bonobo_Stream target,
const CORBA_char *object_iid,
CORBA_Environment *ev); |
This routine saves the object_iid in the target stream.
bonobo_persist_stream_load_object_iid ()
char* bonobo_persist_stream_load_object_iid
(Bonobo_Stream source); |
Loads a OBJECT ID from the source Bonobo_Stream CORBA object reference.
bonobo_persiststream_save_to_stream ()
GnomeIOStatus bonobo_persiststream_save_to_stream
(Bonobo_PersistStream pstream,
Bonobo_Stream target,
const char *object_iid); |
Queries the object_iid for the pstream object, and saves this on object in the
stream and then the object in pstream is saved.
bonobo_object_save_to_stream ()
Saves the BonoboObject object in the stream.