Andrade,

    There is a framework called UDM, which lets you serialize C++ classes to
XML files using Xerces

    There are some conditions: The class definitions (headers and
implementations) are generated by the tool. The input is a UML classdiagram,
which can be modeled using a graphical tool.

    Then, using the generated .h, .cpp, and .dtd files, you will be able to
create instance data and dump it out to an XML file.

These are available at:
The Udm framework:
http://www.isis.vanderbilt.edu/Projects/Mobies/
The GME(meta-modelling tool:)
http://www.isis.vanderbilt.edu/Projects/gme/


     I can help you if you have problems using these tools.

Regards,
Endre.

----- Original Message -----
From: "C Andrade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 6: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