BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Settings for importing the file.
Definition at line 69 of file QREDataLoader.h.
Public Member Functions | |
void | deserialize (const QByteArray &data) |
bool | operator!= (const ImportSettings &other) const |
QByteArray | serialize () const |
Public Attributes | |
bool | allowValuesGreaterOne = true |
always true for now (see ##94); could be made configurable later on More... | |
QMap< DataType, ColumnDefinition > | columnDefinitions |
QString | headerPrefix |
prefix denoting header line More... | |
QString | linesToSkip |
pattern denoting line to skip (i.e. '1,10-12,42') More... | |
QString | separator |
column separator More... | |
void QREDataLoader::ImportSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 684 of file QREDataLoader.cpp.
References DeserializationException::streamError(), and DeserializationException::tooNew().
bool QREDataLoader::ImportSettings::operator!= | ( | const ImportSettings & | other | ) | const |
Definition at line 656 of file QREDataLoader.cpp.
References other, and QREDataLoader::serialize().
QByteArray QREDataLoader::ImportSettings::serialize | ( | ) | const |
Definition at line 661 of file QREDataLoader.cpp.
bool QREDataLoader::ImportSettings::allowValuesGreaterOne = true |
always true for now (see ##94); could be made configurable later on
Definition at line 73 of file QREDataLoader.h.
Referenced by QREDataLoader::calculateFromParseResult().
QMap<DataType, ColumnDefinition> QREDataLoader::ImportSettings::columnDefinitions |
Definition at line 75 of file QREDataLoader.h.
Referenced by QREDataLoader::applyImportSettings(), QREDataLoader::calculateFromParseResult(), QREDataLoader::ImportResult::clear(), QREDataLoaderResultModel::columnCount(), QREDataLoader::deserialize(), QREDataLoader::initWithDefaultImportSettings(), QREDataLoader::populateImportSettingsWidget(), and QREDataLoader::processContents().
QString QREDataLoader::ImportSettings::headerPrefix |
prefix denoting header line
Definition at line 71 of file QREDataLoader.h.
Referenced by QREDataLoader::applyImportSettings(), QREDataLoader::initWithDefaultImportSettings(), QREDataLoader::parseFileContent(), QREDataLoader::populateImportSettingsWidget(), and QREDataLoader::processContents().
QString QREDataLoader::ImportSettings::linesToSkip |
pattern denoting line to skip (i.e. '1,10-12,42')
Definition at line 72 of file QREDataLoader.h.
Referenced by QREDataLoader::applyImportSettings(), QREDataLoader::initWithDefaultImportSettings(), QREDataLoader::parseFileContent(), QREDataLoader::populateImportSettingsWidget(), and QREDataLoader::processContents().
QString QREDataLoader::ImportSettings::separator |
column separator
Definition at line 70 of file QREDataLoader.h.
Referenced by QREDataLoader::applyImportSettings(), QREDataLoader::guessSettings(), QREDataLoader::initWithDefaultImportSettings(), QREDataLoader::parseFileContent(), QREDataLoader::populateImportSettingsWidget(), and QREDataLoader::processContents().