Mantid
Loading...
Searching...
No Matches
Framework
API
inc
MantidAPI
SampleShapeValidator.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2014 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
8
9
#include "MantidAPI/DllConfig.h"
10
#include "
MantidAPI/ExperimentInfo.h
"
11
12
#include "
MantidKernel/TypedValidator.h
"
13
14
namespace
Mantid
{
15
namespace
API
{
16
20
class
MANTID_API_DLL
SampleShapeValidator
:
public
Kernel::TypedValidator<std::shared_ptr<ExperimentInfo>> {
21
public
:
22
std::string getType()
const
;
23
Kernel::IValidator_sptr
clone()
const override
;
24
25
private
:
26
std::string checkValidity(
const
std::shared_ptr<ExperimentInfo> &
value
)
const override
;
27
};
28
29
}
// namespace API
30
}
// namespace Mantid
ExperimentInfo.h
value
double value
The value of the point.
Definition
FitMW.cpp:51
TypedValidator.h
Mantid::API::SampleShapeValidator
Verify that a workspace has valid sample shape.
Definition
SampleShapeValidator.h:20
API
Definition
ChudleyElliotSQE.h:11
Mantid::Kernel::IValidator_sptr
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.
Definition
IValidator.h:26
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8