#include "MantidAPI/DllConfig.h"
#include "MantidAPI/IPeakFunction.h"
#include "MantidKernel/DynamicFactory.h"
#include "MantidKernel/SingletonHolder.h"
#include <vector>
#include <mutex>
Go to the source code of this file.
|
| #define | DECLARE_FUNCTION(classname) |
| | Macro for declaring a new type of function to be used with the FunctionFactory.
|
| |
◆ DECLARE_FUNCTION
| #define DECLARE_FUNCTION |
( |
|
classname | ) |
|
Value: namespace { \
Mantid::Kernel::RegistrationHelper \
register_function_##classname(((Mantid::API::FunctionFactory::Instance().subscribe<classname>(#classname)), 0)); \
}
Macro for declaring a new type of function to be used with the FunctionFactory.
Definition at line 151 of file FunctionFactory.h.