The problem in C++ comes from the fact it has no reflection built-in o the
language run-time. C++ RTTI is very basic comparing to the Java and C#
reflection machinery. You can't do automatic XML serializatoin unless you
provide some service(s) helping it to obtain C++ meta data about C++
objects.

Cheers

               Radovan

----- Original Message -----
From: "C Andrade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 5:08 PM
Subject: Xerces and C++ class serialization


> Has anyone seen or written an implementation that will
> serialize the members of a C++ class automatically? I
> want to derive a C++ class from an XML base class
> (lets say cXMLBaseSerializer) which has virtuals like
> GetXML() and SetXML(). The base class assists the
> derived class in streaming XML without actually
> 'hard-coding' an implementaiton for each and every
> member.
>
> Microsoft.NET C# does this with the XMLSerialiaze
> adorment but don't want to code my mission critial
> application in c#.
>
> Thanks for any info you might have.
>
> Chris
> [EMAIL PROTECTED]
>
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to