Separate specific Excel methods to ExcelFile

This commit is contained in:
2023-09-28 13:07:11 +02:00
parent 82acb3cab5
commit 85202260f3
8 changed files with 247 additions and 174 deletions

View File

@@ -5,7 +5,7 @@
namespace platform {
void Datasets::load()
{
ifstream catalog(path + "/all.txt");
ifstream catalog(path + "all.txt");
if (catalog.is_open()) {
string line;
while (getline(catalog, line)) {
@@ -16,7 +16,7 @@ namespace platform {
}
catalog.close();
} else {
throw invalid_argument("Unable to open catalog file. [" + path + "/all.txt" + "]");
throw invalid_argument("Unable to open catalog file. [" + path + "all.txt" + "]");
}
}
vector<string> Datasets::getNames()