14#include <boost/algorithm/string/predicate.hpp>
48 virtual const std::string&
structureType()
const {
return processedStructureName; }
93 const std::string processedStructureName =
"none";
Interface class for the model structure.
virtual ModelState getModelState(const std::string &filePath)=0
Dumps the data to a file path.
virtual const std::string & structureType() const
Returns the structure name that this class will process.
static const std::string typeNodeName()
The name of the node holding the name of the structure type processed by this class.
static const std::string dataNodeName()
Returns the name of the data node.
virtual void dumpModelState(const ModelState &state, const ModelMetadata &metadata, const std::string &filePath, bool isRestart) const =0
Dumps the data to a file path.
static const std::string structureNodeName()
The name of the group holding the definitive structure type.
virtual int nIceLayers() const =0
The number of ice layers in this data structure.
static const std::string metadataNodeName()
Returns the name of the metadata node.
bool structureTypeCheck(const std::string &str) const
Checks if the passed string matches (ignoring case) the name of the structure that this class constru...