----- Original Message -----
From: "Dean Michael Berris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 31, 2003 11:52 AM
Subject: Re: [plug] unified way of data exchange


> one question: will a streamable object stored by a C++ app be available
> to a C app?

Yes.  You will have to override the "operator::>>" and "operator::<<"
functions to store a regular C structure, or even text, in your C++ program.
Usually, a C structure is preferred to avoid the overhead of having to parse
text.  All BDB examples use C structures in both C and C++ programs.

>how about a Java app? does it store|transmit it in a
> standard format, or does it do the conversion for you?

I only use C/C++ so I'm not sure how to implement it in other languages.
However, the brute force method of making it work in all scenarios/languages
is to simply store streamable text (metadata) in the file that will be the
basis for instatiating your JAVA class.







_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
PROTECTED]

Reply via email to