-
Notifications
You must be signed in to change notification settings - Fork 0
/
XdmfDump.h
57 lines (40 loc) · 1.63 KB
/
XdmfDump.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*=========================================================================
Project : XdmfGenerator
Module : XdmfDump.h
Authors:
John Biddiscombe Jerome Soumagne
Copyright (C) CSCS - Swiss National Supercomputing Centre.
You may use modify and and distribute this code freely providing
1) This copyright notice appears on all copies of source code
2) An acknowledgment appears with any substantial usage of the code
3) If this code is contributed to any other open source project, it
must not be reformatted such that the indentation, bracketing or
overall style is modified significantly.
This software is distributed WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This work has received funding from the European Community's Seventh
Framework Programme (FP7/2007-2013) under grant agreement 225967 “NextMuSE”
=========================================================================*/
#ifndef __XdmfDump_h
#define __XdmfDump_h
#include "XdmfObject.h"
class H5FDdsmManager;
#include <cstring>
#include <sstream>
using namespace xdmf2;
class XDMF_EXPORT XdmfDump : public XdmfObject {
public :
XdmfDump();
~XdmfDump();
XdmfSetStringMacro(FileName);
XdmfGetStringMacro(FileName);
void Dump();
void DumpLight();
void DumpXML(std::ostringstream &);
void SetDsmManager(H5FDdsmManager* _arg);
protected:
H5FDdsmManager *DsmManager;
XdmfString FileName;
};
#endif // __XdmfDump_h