libSplash
SDCHelper.hpp
1 
23 #ifndef SDCHELPER_H
24 #define SDCHELPER_H
25 
26 #include "splash/sdc_defines.hpp"
27 #include "splash/Dimensions.hpp"
28 #include "splash/DCException.hpp"
29 
30 #include <string>
31 
32 namespace splash
33 {
34 
38  class SDCHelper
39  {
40  private:
41  SDCHelper();
42 
43  static std::string getExceptionString(std::string msg);
44 
45  public:
46 
54  static void getReferenceData(const char* filename, int32_t* maxID, Dimensions *mpiSize)
55  throw (DCException);
56 
67  static void writeHeader(hid_t file, Dimensions mpiPosition,
68  int32_t *maxID, bool *enableCompression, Dimensions *mpiSize,
69  bool master = false)
70  throw (DCException);
71  };
72 }
73 
74 #endif /* SDCHELPER_H */