BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Defines class DatafieldIOFactory.
Definition in file DataFormatUtils.h.
Go to the source code of this file.
Namespaces | |
DataUtils | |
DataUtils::Format | |
Utility functions for data input and output. | |
Macros | |
#define | BORNAGAIN_DEVICE_IO_DATAFORMATUTILS_H |
Functions | |
IAxis * | DataUtils::Format::createAxis (std::istream &input_stream) |
Creates axis of certain type from input stream. More... | |
void | DataUtils::Format::fillDatafield (Datafield *data, std::istream &input_stream) |
Fills output data raw buffer from input stream. More... | |
bool | DataUtils::Format::isBZipped (const std::string &name) |
Returns true if name contains *.bz2 extension. More... | |
bool | DataUtils::Format::isCompressed (const std::string &name) |
Returns true if name contains *.gz extension. More... | |
bool | DataUtils::Format::isGZipped (const std::string &name) |
Returns true if name contains *.gz extension. More... | |
bool | DataUtils::Format::isIntFile (const std::string &file_name) |
Returns true if file name corresponds to BornAgain native format (compressed or not) More... | |
bool | DataUtils::Format::isNicosFile (const std::string &file_name) |
Returns true if file name corresponds to Nicos format (compressed or not) More... | |
bool | DataUtils::Format::isTiffFile (const std::string &file_name) |
Returns true if file name corresponds to tiff file (can be also compressed) More... | |
std::vector< double > | DataUtils::Format::parse_doubles (const std::string &str) |
Parse double values from string to vector of double. More... | |
void | DataUtils::Format::readLineOfDoubles (std::vector< double > &buffer, std::istringstream &iss) |
#define BORNAGAIN_DEVICE_IO_DATAFORMATUTILS_H |
Definition at line 21 of file DataFormatUtils.h.