IBoxControllerIO * getFileIO()
returns the pointer to the class, responsible for fileIO operations;
The header describes interface to IO Operations perfomed by the box controller May be replaced by a b...
virtual void flushData() const =0
flush the IO buffers
virtual void loadAndAddFrom(API::IBoxControllerIO *const, uint64_t, size_t, std::vector< coord_t > &)=0
Load the additional box data of specified size from the disk location provided using the class,...
virtual void saveAt(API::IBoxControllerIO *const, uint64_t) const =0
Save the box at specific disk position using the class, respoinsible for the file IO.
virtual Mantid::API::BoxController * getBoxController() const =0
get box controller
Two classes responsible for implementing methods which automatically save/load MDBox in conjuction wi...
void load() override
Load the data which are not in memory yet and merge them with the data in memory;.
void save() const override
Save the data to the place, specified by the object.
MDBoxSaveable(API::IMDNode *const)
API::IMDNode *const m_MDNode
void flushData() const override
Method to flush the data to disk and ensure it is written.
virtual uint64_t getFilePosition() const
uint64_t getFileSize() const
Return the number of units this block occipies on file.
void setLoaded(bool Yes)
sets the value of the isLoad parameter, indicating that data from HDD have its image in memory
bool m_isLoaded
this boolean indicates, if the data have its copy in memory
bool m_wasSaved
this boolean indicates if the data were saved on HDD and have physical representation on it (though t...