Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::API::IArchiveSearch Class Referenceabstract

This class is an archive searching interface. More...

#include <IArchiveSearch.h>

Inheritance diagram for Mantid::API::IArchiveSearch:
Mantid::DataHandling::ISISDataArchive Mantid::DataHandling::ORNLDataArchive

Public Member Functions

virtual std::string getArchivePath (const std::set< std::string > &filenames, const std::vector< std::string > &exts) const =0
 Return the full path to a data file in an archive. More...
 
virtual ~IArchiveSearch ()=default
 Virtual destructor. More...
 

Detailed Description

This class is an archive searching interface.

Author
Roman Tolchenov, Tessella plc
Date
27/07/2010

Definition at line 36 of file IArchiveSearch.h.

Constructor & Destructor Documentation

◆ ~IArchiveSearch()

virtual Mantid::API::IArchiveSearch::~IArchiveSearch ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ getArchivePath()

virtual std::string Mantid::API::IArchiveSearch::getArchivePath ( const std::set< std::string > &  filenames,
const std::vector< std::string > &  exts 
) const
pure virtual

Return the full path to a data file in an archive.

The first match is returned

Parameters
filenames:: A list of filenames (without extensions) to pass to the archive
exts:: A list of extensions to check for in turn against each file

Implemented in Mantid::DataHandling::ORNLDataArchive, and Mantid::DataHandling::ISISDataArchive.


The documentation for this class was generated from the following file: