void mcobservables_load(alps::mcobservables & self, alps::hdf5::archive & ar, std::string const & path) { std::string current = ar.get_context(); ar.set_context(path); self.load(ar); ar.set_context(current); }
/// Load from HDF5 void load(alps::hdf5::archive &ar) { load(ar, ar.get_context()); }
/// Save to HDF5 void save(alps::hdf5::archive &ar) const { save(ar, ar.get_context()); }
from_archive(alps::hdf5::archive& ar) : ar_(ar), context_(ar.get_context()) {}