1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-11 03:46:55 +01:00

XMLReader implementation and a virtual Reader/Writer template framework.

Test_serialisation has an example of *code* *free* object serialisation
to both ostream and to XML using macro magic.

Implementing TextReader/TextWriter, YAML, JSON etc.. should be trivial
and we can use configure time options to select the default "Reader" typedef.

Present done with

"using XMLPolicy::Reader"

to pick up the default serialisation strategy.
This commit is contained in:
Peter Boyle
2015-08-20 16:21:26 +01:00
parent fdfe194c41
commit ab81a25073
10 changed files with 348 additions and 7 deletions

View File

@ -14,7 +14,7 @@
#ifndef SOURCE_PUGIXML_CPP
#define SOURCE_PUGIXML_CPP
#include "pugixml.hpp"
#include <pugixml/pugixml.h>
#include <stdlib.h>
#include <stdio.h>

View File

@ -17,7 +17,7 @@
#endif
// Include user configuration file (this can define various configuration macros)
#include "pugiconfig.hpp"
#include <pugixml/pugiconfig.hpp>
#ifndef HEADER_PUGIXML_HPP
#define HEADER_PUGIXML_HPP