Skip to content
Snippets Groups Projects
Commit b6cc82ce authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm fcts isIntFile etc

parent abf1cd54
No related branches found
No related tags found
1 merge request!1629IO further cleanup
......@@ -75,22 +75,6 @@ bool DataUtil::Format::isBZipped(const std::string& name)
return BaseUtil::Filesystem::hasExtension(name, BzipExtension);
}
bool DataUtil::Format::isIntFile(const std::string& file_name)
{
return BaseUtil::Filesystem::hasExtension(uncompressedFilename(file_name), IntExtension);
}
bool DataUtil::Format::isNicosFile(const std::string& file_name)
{
return BaseUtil::Filesystem::hasExtension(uncompressedFilename(file_name), NicosExtension);
}
bool DataUtil::Format::isTiffFile(const std::string& file_name)
{
return BaseUtil::Filesystem::hasExtension(uncompressedFilename(file_name), TiffExtension)
|| BaseUtil::Filesystem::hasExtension(uncompressedFilename(file_name), TiffExtension2);
}
//! Creates axis of certain type from input stream
Scale* DataUtil::Format::parseScale(std::istream& input_stream)
{
......
......@@ -39,15 +39,6 @@ bool isGZipped(const std::string& name);
//! Returns true if name contains *.bz2 extension
bool isBZipped(const std::string& name);
//! Returns true if file name corresponds to BornAgain native format (compressed or not)
bool isIntFile(const std::string& file_name);
//! Returns true if file name corresponds to Nicos format (compressed or not)
bool isNicosFile(const std::string& file_name);
//! Returns true if file name corresponds to tiff file (can be also compressed)
bool isTiffFile(const std::string& file_name);
Scale* parseScale(std::istream& input_stream);
void fillDatafield(Datafield* data, std::istream& input_stream);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment