473,385 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Creating XML from existing C++ classes

Hi

I have a complex data model within an exisitng C++ OOD Application.

I am trying to think of a nice way to create XML based on these C++ classes?

Anybody got any ideas?

Cheers

Steve
Jul 19 '05 #1
3 3207

"Doogle" <st**********@hotmail.com> wrote in message
news:c3**************************@posting.google.c om...
I have a complex data model within an exisitng C++ OOD Application.
I am trying to think of a nice way to create XML based on these C++

classes?

Use a tool that can read the class definitions,
use those definitions to define XML structures
and generate XML reader/writer code for those classes.

The DMS Software Reengineering Toolkit is generalized
compiler technology that has a full C++ front end.
It could be used to do this.
See http://www.semanticdesigns.com/Produ...MSToolkit.html.
--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Jul 19 '05 #2
Doogle,

You could use SOAP serialization and borrow from some of the web service
libraries - here is the SoapSerializer from apache - ws-axis.
http://www.koders.com/cpp/fid605674E...=xml+serialize

There are also a handful of xml libraries to choose from:
http://www.koders.com/?s=xml%20serialize&la=Cpp&li=*
"Doogle" <st**********@hotmail.com> wrote in message
news:c3**************************@posting.google.c om...
Hi

I have a complex data model within an exisitng C++ OOD Application.

I am trying to think of a nice way to create XML based on these C++ classes?
Anybody got any ideas?

Cheers

Steve

Jul 22 '05 #3
> You could use SOAP serialization and borrow from some of the web service
libraries - here is the SoapSerializer from apache - ws-axis.
http://www.koders.com/cpp/fid605674E...=xml+serialize


How do you think about to use the tool "OpenC++" for introspection?
http://en.wikipedia.org/wiki/OpenC_Plus_Plus
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
by: Sean R. Lynch | last post by:
I've been playing around with Zope's RestrictedPython, and I think I'm on the way to making the modifications necessary to create a capabilities-based restricted execution system. The idea is to...
2
by: Brad Wood | last post by:
Using VS2003, I can't add an existing class to a project w/o the IDE creating a copy of it. I want multiple projects to be able to share a central copy of a class. I can't compile the shared...
3
by: Kiran | last post by:
Hi, I want to back up my data in some table in SQL server and import it back using Bulk Load of SQL server 2K. I can use the following code to backup the data in XML ...
0
by: John Mott | last post by:
Hello all, I'm trying to break up a large CodeFile .cs file into multiple pieces using partial classes. I'm getting compiler errors which act as if it didn't merge the multiple files. in...
2
by: maykut | last post by:
Hi everybody! I have a problem with creating classes in a java source code.I don't know is it possible. creating an non-existing class and filling it with its constructor java source code?After all...
26
by: nyathancha | last post by:
Hi, How Do I create an instance of a derived class from an instance of a base class, essentially wrapping up an existing base class with some additional functionality. The reason I need this is...
31
by: JoeC | last post by:
I have read books and have ideas on how to create objects. I often create my own projects and programs. They end up getting pretty complex and long. I often use objects in my programs they are...
2
by: Polaris431 | last post by:
I need to implement a tree structure that can accept various types of classes or structs. When the tree is created, all of its nodes are based on a single type and not a mixture of types. ...
3
by: Bartholomew Simpson | last post by:
I am writing some C++ wrappers around some legacy C ones - more specifically, I am providing ctors, dtors and assignment operators for the C structs. I have a ton of existing C code that uses...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.