Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
Mantid::API::WorkspaceHasDxValidator Class Referencefinal

WorkspaceHasDxValidator : A validator which checks that all histograms in a workspace have Dx values. More...

#include <WorkspaceHasDxValidator.h>

Inheritance diagram for Mantid::API::WorkspaceHasDxValidator:
Mantid::API::MatrixWorkspaceValidator

Public Member Functions

Kernel::IValidator_sptr clone () const override
 Return a deep clone of this validator. More...
 

Private Member Functions

std::string checkValidity (MatrixWorkspace_sptr const &ws) const override
 Return an error string if not all histograms in ws have Dx, otherwise an empty string. More...
 

Detailed Description

WorkspaceHasDxValidator : A validator which checks that all histograms in a workspace have Dx values.

Definition at line 19 of file WorkspaceHasDxValidator.h.

Member Function Documentation

◆ checkValidity()

std::string Mantid::API::WorkspaceHasDxValidator::checkValidity ( MatrixWorkspace_sptr const &  ws) const
overrideprivate

Return an error string if not all histograms in ws have Dx, otherwise an empty string.

Definition at line 18 of file WorkspaceHasDxValidator.cpp.

◆ clone()

Kernel::IValidator_sptr Mantid::API::WorkspaceHasDxValidator::clone ( ) const
override

Return a deep clone of this validator.

Definition at line 12 of file WorkspaceHasDxValidator.cpp.


The documentation for this class was generated from the following files: