Reputation: 24160
Is there any good automatic xml to C++ object library ?
With good benchmark and Multi - Platform support (if not at-least linux )
Edit : More Description
I want to library like http://www.codesynthesis.com/products/xsd/ where I can use any xml as c++ object.
XMLOBJECT x=new XMLOBJECT("my.xml");
x->root
x->root->child
Means XML Data Binding in C++
Upvotes: 8
Views: 9120
Reputation: 4184
boost::serialization provides that functionality, you can serialize your object to xml and back as well as to the other formats.
Upvotes: 2
Reputation: 11431
We use Codalogic LMX; a bit expensive, but they have a free "express" edition that might be good enough.
Upvotes: 1
Reputation: 64283
If I understand correctly, you are looking for something like pococapsule
Upvotes: 1
Reputation: 11140
There are many. Please see some of them
Upvotes: 0
Reputation: 14692
I think that you refer to what is called XML Data Binding.
gsoap is a free tool that does it. There are of course many commercial tools - XML Spy and others. Here is a nice list of resources.
Upvotes: 7