BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines class OutputDataIOFactory. More...
Go to the source code of this file.
Namespaces | |
DataFormatUtils | |
Utility functions for data input and output. | |
Macros | |
#define | BORNAGAIN_DEVICE_INPUTOUTPUT_DATAFORMATUTILS_H |
Functions | |
std::unique_ptr< IAxis > | DataFormatUtils::createAxis (std::istream &input_stream) |
Creates axis of certain type from input stream. More... | |
void | DataFormatUtils::fillOutputData (OutputData< double > *data, std::istream &input_stream) |
Fills output data raw buffer from input stream. More... | |
std::string | DataFormatUtils::GetFileMainExtension (const std::string &name) |
Returns file extension after stripping '.gz' if any. More... | |
bool | DataFormatUtils::isBZipped (const std::string &name) |
Returns true if name contains *.bz2 extension. More... | |
bool | DataFormatUtils::isCompressed (const std::string &name) |
Returns true if name contains *.gz extension. More... | |
bool | DataFormatUtils::isGZipped (const std::string &name) |
Returns true if name contains *.gz extension. More... | |
bool | DataFormatUtils::isIntFile (const std::string &file_name) |
returns true if file name corresponds to BornAgain native format (compressed or not) More... | |
bool | DataFormatUtils::isTiffFile (const std::string &file_name) |
returns true if file name corresponds to tiff file (can be also compressed) More... | |
std::vector< double > | DataFormatUtils::parse_doubles (const std::string &str) |
Parse double values from string to vector of double. More... | |
void | DataFormatUtils::readLineOfDoubles (std::vector< double > &buffer, std::istringstream &iss) |
Defines class OutputDataIOFactory.
Definition in file DataFormatUtils.h.
#define BORNAGAIN_DEVICE_INPUTOUTPUT_DATAFORMATUTILS_H |
Definition at line 21 of file DataFormatUtils.h.