BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Contains a line related error (stored in the import result). Used for showing line related errors in the import data table.
Definition at line 84 of file QREDataLoader.h.
Public Types | |
enum | Type { none = 0 , columnDoesNotContainValidNumber = 1 , duplicateQ = 2 , RGreaterOne = 3 , RLessZero = 4 } |
Public Member Functions | |
ErrorDefinition (Type t, double d) | |
ErrorDefinition (Type t=none, int d=0) | |
QString | toString () const |
Human readable error text. More... | |
Public Attributes | |
std::variant< int, double > | data |
Additional data; meaning depends on the error type (see implementation of toString() for more information) More... | |
Type | type |
Enumerator | |
---|---|
none | |
columnDoesNotContainValidNumber | |
duplicateQ | |
RGreaterOne | |
RLessZero |
Definition at line 86 of file QREDataLoader.h.
Definition at line 725 of file QREDataLoader.cpp.
QREDataLoader::ErrorDefinition::ErrorDefinition | ( | Type | t, |
double | d | ||
) |
Definition at line 730 of file QREDataLoader.cpp.
QString QREDataLoader::ErrorDefinition::toString | ( | ) | const |
std::variant<int, double> QREDataLoader::ErrorDefinition::data |
Additional data; meaning depends on the error type (see implementation of toString() for more information)
Definition at line 101 of file QREDataLoader.h.
Type QREDataLoader::ErrorDefinition::type |
Definition at line 100 of file QREDataLoader.h.