refactor(EosIO): renamed EosIO -> EOSio
This commit is contained in:
@@ -1,23 +1,24 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "eosIO.h"
|
||||
#include "EOSio.h"
|
||||
#include "helm.h"
|
||||
#include "debug.h"
|
||||
|
||||
EosIO::EosIO(const std::string filename) : m_filename(filename) {
|
||||
EOSio::EOSio(std::string filename) : m_filename(std::move(filename)) {
|
||||
load();
|
||||
}
|
||||
|
||||
std::string EosIO::getFormat() const {
|
||||
std::string EOSio::getFormat() const {
|
||||
return m_format;
|
||||
}
|
||||
|
||||
|
||||
EOSTable& EosIO::getTable() {
|
||||
EOSTable& EOSio::getTable() {
|
||||
return m_table;
|
||||
}
|
||||
|
||||
void EosIO::load() {
|
||||
void EOSio::load() {
|
||||
// Load the EOS table from the file
|
||||
// For now, just set the format to HELM
|
||||
|
||||
@@ -27,10 +28,10 @@ void EosIO::load() {
|
||||
}
|
||||
}
|
||||
|
||||
void EosIO::loadHelm() {
|
||||
void EOSio::loadHelm() {
|
||||
// Load the HELM table from the file
|
||||
auto helmTabptr = helmholtz::read_helm_table(m_filename);
|
||||
m_table = std::move(helmTabptr);
|
||||
auto helmTabPtr = helmholtz::read_helm_table(m_filename);
|
||||
m_table = std::move(helmTabPtr);
|
||||
m_loaded = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user