BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Contains a line related error (stored in the import result). More...
Public Types | |
enum | Type { none = 0 , columnDoesNotContainValidNumber = 1 , duplicateQ = 2 , wrongQOrder = 3 , RGreaterOne = 4 , RLessZero = 5 } |
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 |
Contains a line related error (stored in the import result).
Used for showing line related errors in the import data table.
Definition at line 80 of file QREDataLoader.h.
Enumerator | |
---|---|
none | |
columnDoesNotContainValidNumber | |
duplicateQ | |
wrongQOrder | |
RGreaterOne | |
RLessZero |
Definition at line 82 of file QREDataLoader.h.
Definition at line 730 of file QREDataLoader.cpp.
QREDataLoader::ErrorDefinition::ErrorDefinition | ( | Type | t, |
double | d | ||
) |
Definition at line 731 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 98 of file QREDataLoader.h.
Type QREDataLoader::ErrorDefinition::type |
Definition at line 97 of file QREDataLoader.h.