#include "MantidAPI/DllConfig.h"
#include "MantidKernel/DynamicFactory.h"
#include "MantidKernel/SingletonHolder.h"
#include <vector>
Go to the source code of this file.
|
| #define | DECLARE_SCRIPTREPOSITORY(classname) |
| | Macro for declaring a new type of function to be used with the FunctionFactory.
|
| |
◆ DECLARE_SCRIPTREPOSITORY
| #define DECLARE_SCRIPTREPOSITORY |
( |
|
classname | ) |
|
Value: namespace { \
((Mantid::API::ScriptRepositoryFactory::Instance().subscribe<classname>(#classname)), 0)); \
}
This class is simply used in the subscription of classes into the various factories in Mantid.
Macro for declaring a new type of function to be used with the FunctionFactory.
Definition at line 69 of file ScriptRepositoryFactory.h.