Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
IArchiveSearch.h File Reference
#include "MantidAPI/DllConfig.h"
#include <memory>
#include <set>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  Mantid::API::IArchiveSearch
 This class is an archive searching interface. More...
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::API
 

Macros

#define DECLARE_ARCHIVESEARCH(classname, facility)
 

Typedefs

using Mantid::API::IArchiveSearch_sptr = std::shared_ptr< IArchiveSearch >
 Typedef for a shared pointer to an IArchiveSearch. More...
 

Macro Definition Documentation

◆ DECLARE_ARCHIVESEARCH

#define DECLARE_ARCHIVESEARCH (   classname,
  facility 
)
Value:
namespace { \
Mantid::Kernel::RegistrationHelper register_archive_##facility( \
((Mantid::API::ArchiveSearchFactory::Instance().subscribe<classname>(#facility)), 0)); \
}
This class is simply used in the subscription of classes into the various factories in Mantid.
static T & Instance()
Return a reference to the Singleton instance, creating it if it does not already exist Creation is do...

Definition at line 21 of file IArchiveSearch.h.