|
Mantid
|
#include "MantidAPI/CommonBinsValidator.h"#include "MantidAPI/HistogramValidator.h"#include "MantidAPI/IMDWorkspace.h"#include "MantidAPI/MDFrameValidator.h"#include "MantidAPI/NumericAxisValidator.h"#include "MantidAPI/RawCountValidator.h"#include "MantidAPI/SpectraAxisValidator.h"#include "MantidAPI/WorkspaceUnitValidator.h"#include "MantidPythonInterface/core/TypedValidatorExporter.h"#include <boost/python/class.hpp>Go to the source code of this file.
Macros | |
| #define | EXPORT_WKSP_VALIDATOR_ARG(ValidatorType, ArgType, ArgName, DocString) |
| Export a validator derived from a MatrixWorkspaceValidator that has a single-arg constructor. More... | |
| #define | EXPORT_WKSP_VALIDATOR_DEFAULT_ARG(ValidatorType, ArgType, ArgName, DefaultValue, DocString) |
| Export a validator derived from a MatrixWorkspaceValidator that has a single-arg constructor with a default argument. More... | |
| #define | EXPORT_WKSP_VALIDATOR_NO_ARG(ValidatorType, DocString) class_<ValidatorType, bases<MatrixWorkspaceValidator>, boost::noncopyable>(#ValidatorType, init<>(DocString)); |
| Export a validator derived from a MatrixWorkspaceValidator that has a no-arg constructor. More... | |
Functions | |
| void | export_MatrixWorkspaceValidator () |
| This is the base TypedValidator for most of the WorkspaceValidators. More... | |
| void | export_WorkspaceValidators () |
| #define EXPORT_WKSP_VALIDATOR_ARG | ( | ValidatorType, | |
| ArgType, | |||
| ArgName, | |||
| DocString | |||
| ) |
Export a validator derived from a MatrixWorkspaceValidator that has a single-arg constructor.
Definition at line 41 of file WorkspaceValidators.cpp.
| #define EXPORT_WKSP_VALIDATOR_DEFAULT_ARG | ( | ValidatorType, | |
| ArgType, | |||
| ArgName, | |||
| DefaultValue, | |||
| DocString | |||
| ) |
Export a validator derived from a MatrixWorkspaceValidator that has a single-arg constructor with a default argument.
Definition at line 47 of file WorkspaceValidators.cpp.
| #define EXPORT_WKSP_VALIDATOR_NO_ARG | ( | ValidatorType, | |
| DocString | |||
| ) | class_<ValidatorType, bases<MatrixWorkspaceValidator>, boost::noncopyable>(#ValidatorType, init<>(DocString)); |
Export a validator derived from a MatrixWorkspaceValidator that has a no-arg constructor.
Definition at line 37 of file WorkspaceValidators.cpp.
| void export_MatrixWorkspaceValidator | ( | ) |
This is the base TypedValidator for most of the WorkspaceValidators.
Definition at line 24 of file WorkspaceValidators.cpp.
References Mantid::PythonInterface::TypedValidatorExporter< Type >::define().
| void export_WorkspaceValidators | ( | ) |
Definition at line 51 of file WorkspaceValidators.cpp.
References EXPORT_WKSP_VALIDATOR_ARG, EXPORT_WKSP_VALIDATOR_DEFAULT_ARG, and EXPORT_WKSP_VALIDATOR_NO_ARG.