mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
ab81a25073
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.
7 lines
123 B
C
7 lines
123 B
C
#ifndef GRID_SERIALISATION_H
|
|
#define GRID_SERIALISATION_H
|
|
|
|
#include <serialisation/Reader.h> // subdir aggregate
|
|
|
|
#endif
|