#include #include #include "EOSio.h" #include "helm.h" #include "debug.h" EOSio::EOSio(std::string filename) : m_filename(std::move(filename)) { load(); } std::string EOSio::getFormat() const { return m_format; } EOSTable& EOSio::getTable() { return m_table; } void EOSio::load() { // Load the EOS table from the file // For now, just set the format to HELM m_format = "helm"; if (m_format == "helm") { loadHelm(); } } void EOSio::loadHelm() { // Load the HELM table from the file auto helmTabPtr = helmholtz::read_helm_table(m_filename); m_table = std::move(helmTabPtr); m_loaded = true; }