|
Mantid
|
PolSANSWorkspaceValidator : Validator for SANS polarized transmission runs. More...
#include <PolSANSWorkspaceValidator.h>
Public Member Functions | |
| Kernel::IValidator_sptr | clone () const override |
| Clone the current state. | |
| std::string | getType () const |
| Gets the type of the validator. | |
| PolSANSWorkspaceValidator (bool expectHistogramData=true, bool allowMultiPeriodData=false, const std::unordered_set< int > &allowedNumberOfPeriods={4}) | |
Private Member Functions | |
| std::string | checkValidity (const WorkspaceGroup_sptr &workspace) const override |
| Check for validity. | |
| std::string | validateGroupItem (API::MatrixWorkspace_sptr const &workspace) const |
Private Attributes | |
| const std::unordered_set< int > | m_allowedNumberOfPeriods |
| const bool | m_allowMultiPeriodData |
| const bool | m_expectHistogramData |
PolSANSWorkspaceValidator : Validator for SANS polarized transmission runs.
Definition at line 19 of file PolSANSWorkspaceValidator.h.
|
explicit |
Definition at line 16 of file PolSANSWorkspaceValidator.cpp.
|
overrideprivate |
Check for validity.
Definition at line 55 of file PolSANSWorkspaceValidator.cpp.
References m_allowedNumberOfPeriods, validateGroupItem(), and workspace.
|
override |
Clone the current state.
Definition at line 21 of file PolSANSWorkspaceValidator.cpp.
|
inline |
Gets the type of the validator.
Definition at line 24 of file PolSANSWorkspaceValidator.h.
|
private |
Definition at line 25 of file PolSANSWorkspaceValidator.cpp.
References Mantid::Kernel::Strings::join(), m_allowMultiPeriodData, m_expectHistogramData, and workspace.
Referenced by checkValidity().
|
private |
Definition at line 35 of file PolSANSWorkspaceValidator.h.
Referenced by checkValidity().
|
private |
Definition at line 34 of file PolSANSWorkspaceValidator.h.
Referenced by validateGroupItem().
|
private |
Definition at line 33 of file PolSANSWorkspaceValidator.h.
Referenced by validateGroupItem().