13#include <vapor/ExpatParseMgr.h>
15 #pragma warning(disable : 4251)
65 int Export(
const string &path,
size_t ts,
const string &varname,
const size_t min[3],
const size_t max[3],
const size_t timeseg[2]);
86 int Import(
string *path,
size_t *ts,
string *varname,
size_t min[3],
size_t max[3],
size_t timeseg[2]);
93 static const string _rootTag;
94 static const string _pathNameTag;
95 static const string _timeStepTag;
96 static const string _varNameTag;
97 static const string _regionTag;
98 static const string _timeSegmentTag;
100 bool elementStartHandler(ExpatParseMgr *,
int depth, std::string &tag,
const char **attr);
101 bool elementEndHandler(ExpatParseMgr *,
int depth, std::string &);
106 void _startElementHandler0(ExpatParseMgr *,
const string &tag,
const char **attrs);
107 void _startElementHandler1(ExpatParseMgr *,
const string &tag,
const char **attrs);
108 void _endElementHandler0(ExpatParseMgr *,
const string &tag);
109 void _endElementHandler1(ExpatParseMgr *,
const string &tag);
A class for managing data set metadata.
int Export(const string &path, size_t ts, const string &varname, const size_t min[3], const size_t max[3], const size_t timeseg[2])
int Import(string *path, size_t *ts, string *varname, size_t min[3], size_t max[3], size_t timeseg[2])