HOPS
HOPS class reference
MHO_MK4VexInterface.hh
Go to the documentation of this file.
1 #ifndef MHO_MK4VexInterface_HH__
2 #define MHO_MK4VexInterface_HH__
3 
4 #include <iostream>
5 #include <string>
6 
8 #include "MHO_VexParser.hh"
9 
10 namespace hops
11 {
12 
22 {
23  public:
25  virtual ~MHO_MK4VexInterface();
26 
32  void OpenVexFile(std::string file_path);
38  mho_json GetVex();
39 
46  bool ExportVexFileToJSON(mho_json& json_obj);
47 
48  private:
49  bool fHaveVex;
50  mho_json fVex;
51 };
52 
53 } // namespace hops
54 
55 #endif
nlohmann::json mho_json
Definition: MHO_JSONHeaderWrapper.hh:5
MHO_MK4VexInterface convers root (ovex) file to json file for HOPS4 consumption.
Definition: MHO_MK4VexInterface.hh:22
MHO_MK4VexInterface()
Definition: MHO_MK4VexInterface.cc:8
void OpenVexFile(std::string file_path)
Opens a VEX file and parses its contents into an internal JSON representation.
Definition: MHO_MK4VexInterface.cc:15
virtual ~MHO_MK4VexInterface()
Definition: MHO_MK4VexInterface.cc:13
bool ExportVexFileToJSON(mho_json &json_obj)
Exports Vex file data to a JSON object if available.
Definition: MHO_MK4VexInterface.cc:36
mho_json GetVex()
Getter for vex as JSON object.
Definition: MHO_MK4VexInterface.cc:23
Definition: MHO_ChannelLabeler.hh:17