8 #include <pugixml/pugixml.hpp> 17 const QString DatasetName;
18 const QString Location;
23 NODISCARD std::optional<pugi::xml_document> readXML(
const QString& path);
28 void appendDatasetToCatalog(pugi::xml_document& doc,
const QString& datasetName);
33 bool addDataset(
const QString& rootCatalogFolder,
const QString& datasetName,
const QString& dataPath);
38 void removeDataset(
const QString& rootCatalogFolder,
const QString& datasetName,
const QString& dataPath);
42 NODISCARD
bool datasetExists(
const QString& threddsCatalogLoc,
const QString& datasetName);
46 void createNewPrimaryCatalog(
const QString& threddsContentPath);
50 void createNewCatalogFile(
const QString& threddsContentPath,
const DatasetScanDesc& dataset);
54 NODISCARD pugi::xml_document createNewAggregateFile();
58 NODISCARD QStringList getTHREDDSDatasetList(
const pugi::xml_document& doc);
Definition: ioutils.cpp:17