HOPS
HOPS class reference
MHO_Mk4InputConverter.hh
Go to the documentation of this file.
1 #ifndef MHO_Mk4InputConverter_HH__
2 #define MHO_Mk4InputConverter_HH__
3 
4 #include "hops_version.hh"
5 
6 //utilities
8 #include "MHO_Message.hh"
9 #include "MHO_Profiler.hh"
10 #include "MHO_Tokenizer.hh"
11 
12 //data/config passing classes
13 #include "MHO_ContainerStore.hh"
14 #include "MHO_JSONHeaderWrapper.hh"
15 #include "MHO_ParameterStore.hh"
16 
17 namespace hops
18 {
19 
32 {
33 
34  public:
37 
38  public:
47  static std::string convert_mk4_input(MHO_ParameterStore* paramStore);
48 
55  static void cleanup_mk4_temp_dir(const std::string& temp_dir);
56 };
57 
58 //RAII guard for the temp directory created by -K conversion.
59 //to be declared static so its destructor is called even when std::exit() is used.
60 //makes sure the tmp files are cleaned up if they exist
62 {
63  std::string path;
64 
66 };
67 
68 } // namespace hops
69 
70 #endif
Class MHO_Mk4InputConverter.
Definition: MHO_Mk4InputConverter.hh:32
static std::string convert_mk4_input(MHO_ParameterStore *paramStore)
Converts a mark4 scan or experiment directory to HOPS format in a temporary directory,...
Definition: MHO_Mk4InputConverter.cc:20
static void cleanup_mk4_temp_dir(const std::string &temp_dir)
Recursively removes the temporary directory created by convert_mk4_input.
Definition: MHO_Mk4InputConverter.cc:112
virtual ~MHO_Mk4InputConverter()
Definition: MHO_Mk4InputConverter.hh:36
MHO_Mk4InputConverter()
Definition: MHO_Mk4InputConverter.hh:35
Class MHO_ParameterStore.
Definition: MHO_ParameterStore.hh:52
HOPS - Haystack Observatory Post-processing software.
Definition: MHO_AdhocFlagging.hh:18
Definition: MHO_Mk4InputConverter.hh:62
~MK4TempDirGuard()
Definition: MHO_Mk4InputConverter.hh:65
std::string path
Definition: MHO_Mk4InputConverter.hh:63