xml-streams in C++ ?
Hi!
I saw specialized file readers/writers in a game engine once. They derived their own variations of ifstream and ofstream. Addin a few functions to give the data some control. Using blocks of { and }.
Well my idea is to do a similar thing. An XML-stream, or rather a ifXMLstream and ofXMLstream (name suggestions are welcome). That would be great for the game I''m making!
One thing hit me though... I can''t possible be the first one wanting to do this?..
Has anyone of you seen any xml formating streams in C++? I think Java has something for it but... Any articles or libraries made in C++?
Thanx!
"No lies of sugar can sweeten the sournes of reality"
}+TITANIUM+{ A.K.A. DXnewbie[onMIRC]
shouldn''t be very hard to make one. At least if you''re using a xml parser lib that has already been made... Then just make a stream wrapper or sumthin
.NET makes great use of XML classes. Take a look at XMLReader, XMLWriter, XMLDocument, they are really good, even have support for XPath and of course they do both SAX and DOM.
Kind regards,
Steve
Kind regards,
Steve
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement