Mantid
|
Helper class for validating unit cell strings. More...
#include <BraggScattererInCrystalStructure.h>
Protected Member Functions | |
std::string | checkValidity (const std::string &unitCellString) const override |
Check if the string is valid input for Geometry::strToUnitCell. More... | |
Kernel::IValidator_sptr | clone () const override |
Return a clone of the validator. More... | |
Helper class for validating unit cell strings.
This validator checks whether a string consists of either 3 or 6 numbers, possibly floating point numbers. It's required for the unit cell string property.
Definition at line 69 of file BraggScattererInCrystalStructure.h.
|
overrideprotected |
Check if the string is valid input for Geometry::strToUnitCell.
Definition at line 105 of file BraggScattererInCrystalStructure.cpp.
|
overrideprotected |
Return a clone of the validator.
Definition at line 102 of file BraggScattererInCrystalStructure.cpp.