37 bool isOpened()
const override {
return (m_isOpened); }
39 const std::string &
getFileName()
const override {
return m_fileName; }
44 bool openFile(
const std::string &fileName,
const std::string &mode)
override;
45 void saveBlock(
const std::vector<float> & ,
const uint64_t )
const override;
46 void saveBlock(
const std::vector<double> & ,
const uint64_t )
const override {
48 "Saving double presision events blocks is not supported at the moment");
50 void loadBlock(std::vector<float> & ,
const uint64_t ,
51 const size_t )
const override;
52 void loadBlock(std::vector<double> & ,
const uint64_t ,
53 const size_t )
const override {
55 "Loading double presision events blocks is not supported at the "
64 void setDataType(
const size_t blockSize,
const std::string &typeName)
override;
65 void getDataType(
size_t &CoordSize, std::string &typeName)
const override;
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
The class responsible for dummy IO operations, which mimic saving events into a direct access file us...
bool m_isOpened
identified of the file state, if it is open or not.
int64_t getNDataColums() const
std::vector< float > fileContents
size_t getDataChunk() const override
Return the size of the NeXus data block used in NeXus data array.
void copyFileTo(const std::string &) override
Copy the file contents to a new location.
void saveBlock(const std::vector< double > &, const uint64_t) const override
Save a double data block in the specified file position.
void closeFile() override
Close the file.
bool m_ReadOnly
identifier if the file open only for reading or is in read/write
std::string m_fileName
full file name (with path) of the Nexis file responsible for the IO operations (as NeXus filename has...
unsigned int m_CoordSize
number of bytes in the event coorinates (coord_t length).
void flushData() const override
flush the IO buffers
bool isOpened() const override
void loadBlock(std::vector< double > &, const uint64_t, const size_t) const override
const std::string & getFileName() const override
get the full file name of the file used for IO operations
const Mantid::API::BoxController * m_bc
shared pointer to the box controller, which is repsoponsible for this IO
This class is used by MDBox and MDGridBox in order to intelligently determine optimal behavior.
The header describes interface to IO Operations perfomed by the box controller May be replaced by a b...
Marks code as not implemented yet.