Mantid
|
Small helper class to extract HKLs as V3D from table columns. More...
#include <PawleyFit.h>
Public Member Functions | |
Kernel::V3D | operator() (const API::Column_const_sptr &hklColumn, size_t i) const |
Tries to extract Miller indices as V3D from column. More... | |
Protected Member Functions | |
Kernel::V3D | getHKLFromString (const std::string &hklString) const |
Try to extract a V3D from the given string with different separators. More... | |
Kernel::V3D | getHKLFromStringColumn (const API::Column_const_sptr &hklColumn, size_t i) const |
Pass the cell value as string to getHKLFromString. More... | |
Kernel::V3D | getHKLFromV3DColumn (const API::Column_const_sptr &hklColumn, size_t i) const |
Returns the i-th cell of a V3D column. More... | |
Small helper class to extract HKLs as V3D from table columns.
The table column can either store V3D directly, or a string with various separators: , ; [ ] (space)
Definition at line 27 of file PawleyFit.h.
|
protected |
Try to extract a V3D from the given string with different separators.
Definition at line 372 of file PawleyFit.cpp.
References Mantid::Kernel::V3D::setX(), Mantid::Kernel::V3D::setY(), and Mantid::Kernel::V3D::setZ().
Referenced by getHKLFromStringColumn().
|
protected |
Pass the cell value as string to getHKLFromString.
Definition at line 366 of file PawleyFit.cpp.
References getHKLFromString().
Referenced by operator()().
|
protected |
Returns the i-th cell of a V3D column.
Definition at line 361 of file PawleyFit.cpp.
Referenced by operator()().
V3D Mantid::CurveFitting::Algorithms::V3DFromHKLColumnExtractor::operator() | ( | const API::Column_const_sptr & | hklColumn, |
size_t | i | ||
) | const |
Tries to extract Miller indices as V3D from column.
Definition at line 352 of file PawleyFit.cpp.
References getHKLFromStringColumn(), and getHKLFromV3DColumn().