#include "MantidAPI/DllConfig.h"
#include "MantidKernel/DynamicFactory.h"
#include "MantidKernel/SingletonHolder.h"
#include <vector>
Go to the source code of this file.
|
| #define | DECLARE_CONSTRAINT(classname) |
| | Macro for declaring a new type of function to be used with the FunctionFactory.
|
| |
◆ DECLARE_CONSTRAINT
| #define DECLARE_CONSTRAINT |
( |
|
classname | ) |
|
Value: namespace { \
((Mantid::API::ConstraintFactory::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 72 of file ConstraintFactory.h.