Grid 0.7.0
Serialisation.h
Go to the documentation of this file.
1/*************************************************************************************
2
3 Grid physics library, www.github.com/paboyle/Grid
4
5 Source file: ./lib/serialisation/Serialisation.h
6
7 Copyright (C) 2015
8
9Author: Antonin Portelli <antonin.portelli@me.com>
10Author: Peter Boyle <paboyle@ph.ed.ac.uk>
11
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License along
23 with this program; if not, write to the Free Software Foundation, Inc.,
24 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25
26 See the full license in the file "LICENSE" in the top level distribution directory
27*************************************************************************************/
28/* END LEGAL */
29#ifndef GRID_SERIALISATION_READER_H
30#define GRID_SERIALISATION_READER_H
31
32#include <stdint.h>
33
34#include "MacroMagic.h"
35#include "BaseIO.h"
36#include "BinaryIO.h"
37#include "TextIO.h"
38#include "XmlIO.h"
39#ifndef GRID_HIP
40#include "JSON_IO.h"
41#endif
42
43#ifdef HAVE_HDF5
44#include "Hdf5IO.h"
45#endif
46
48// Todo:
50//#include "YamlIO.h"
51
53// Select the default serialiser use ifdef's
56typedef XmlReader DefaultReader;
57typedef XmlWriter DefaultWriter;
59#endif
#define NAMESPACE_BEGIN(A)
Definition Namespace.h:35
#define NAMESPACE_END(A)
Definition Namespace.h:36
XmlReader DefaultReader
XmlWriter DefaultWriter