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
9
Author: Antonin Portelli <antonin.portelli@me.com>
10
Author: 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
55
NAMESPACE_BEGIN
(
Grid
);
56
typedef
XmlReader
DefaultReader
;
57
typedef
XmlWriter
DefaultWriter
;
58
NAMESPACE_END
(
Grid
);
59
#endif
BaseIO.h
Hdf5IO.h
JSON_IO.h
MacroMagic.h
NAMESPACE_BEGIN
#define NAMESPACE_BEGIN(A)
Definition
Namespace.h:35
NAMESPACE_END
#define NAMESPACE_END(A)
Definition
Namespace.h:36
DefaultReader
XmlReader DefaultReader
Definition
Serialisation.h:56
DefaultWriter
XmlWriter DefaultWriter
Definition
Serialisation.h:57
TextIO.h
XmlIO.h
Grid
Definition
Deflation.h:31
BinaryIO.h
Grid
serialisation
Serialisation.h
Generated by
1.16.1