2009-04-22 08:25:20 +00:00
|
|
|
This is a C++ class for reading and writing XML structures.
|
|
|
|
|
|
|
|
All informaton can be found in the generated doxygen project documentation.
|
|
|
|
|
|
|
|
Rationale: The initial idea was to map C++ data structures to XML
|
2009-05-04 12:47:57 +00:00
|
|
|
files for configuration files that can easily be edited by hand.
|
|
|
|
|
|
|
|
This library does not need any kind of C++ code parser or special pre
|
2009-04-22 08:25:20 +00:00
|
|
|
compiler. You can specify a schema entirly in native C++. The schema
|
|
|
|
is verified when XML is read and exceptions are thrown when the XML to
|
2009-05-04 12:47:57 +00:00
|
|
|
be parse is invalid. Exceptions specify exactly the location and
|
2009-04-22 08:25:20 +00:00
|
|
|
reason of the problem, so that the editor of the XML file can easily
|
|
|
|
find and correct the problem.
|
|
|
|
|
2009-05-04 12:47:57 +00:00
|
|
|
C++ classes can inherit xml::Serialize and become serializable this
|
|
|
|
way. All you need to do is to overwrite one single method, where you
|
|
|
|
declare XML tag names for the class name and for all members.
|
|
|
|
|
2009-04-22 08:25:20 +00:00
|
|
|
(More rationale: See also "related Pages" in the doxygen project documentation)
|
|
|
|
|
|
|
|
Structure of the files:
|
|
|
|
src: The source code of the library
|
|
|
|
doc/html: Doxygen documentation oft the library usage
|
|
|
|
doc/examples: Example code (included in doxygen documentation)
|
|
|
|
test: CppUnit test files - can also be taken as examples
|
|
|
|
|
|
|
|
Project URL: http://dev.swisssign.com
|