1#ifndef XPED_OBSERVABLE_BASE_HPP
2#define XPED_OBSERVABLE_BASE_HPP
6#include <highfive/H5File.hpp>
12 explicit ObservableBase(
const std::string& name_in =
"",
bool MEASURE_IN =
true)
17 virtual std::string
file_name()
const {
return "Op"; };
18 virtual std::string
format()
const {
return "Op"; };
20 virtual std::string
getResString(
const std::string& offset)
const = 0;
22 virtual void toFile(HighFive::File& file,
const std::string&)
const = 0;
Definition: ObservableBase.hpp:11
virtual std::string file_name() const
Definition: ObservableBase.hpp:17
virtual void toFile(HighFive::File &file, const std::string &) const =0
std::string name
Definition: ObservableBase.hpp:24
ObservableBase(const std::string &name_in="", bool MEASURE_IN=true)
Definition: ObservableBase.hpp:12
virtual std::string format() const
Definition: ObservableBase.hpp:18
virtual std::string getResString(const std::string &offset) const =0
virtual ~ObservableBase()=default
bool MEASURE
Definition: ObservableBase.hpp:25