54 virtual std::string
getName(
const std::string& file) = 0;
66 virtual std::string
getParameter(
const std::string& file,
const std::string& key_word)= 0;
76 virtual std::unique_ptr<XYDataset>
getDataset(
const std::string& file) = 0;
97 #endif // FILEPARSER_H_ virtual std::string getParameter(const std::string &file, const std::string &key_word)=0
Get the parameter identified by a given key_word value from a file.
virtual std::unique_ptr< XYDataset > getDataset(const std::string &file)=0
Get the dataset from a file.
virtual bool isDatasetFile(const std::string &file)=0
Check that we are in presence of a dataset file.
virtual ~FileParser()=default
Default destructor.
virtual std::string getName(const std::string &file)=0
Get the dataset name or identifier from a file.