casacore
|
Helper class for MultiFileBase containing info per internal file. More...
#include <MultiFileBase.h>
Public Member Functions | |
MultiFileInfo (Int64 bufSize=0, Bool useODirect=False) | |
Initialize the object and create the buffer with the proper size. More... | |
void | allocBuffer (Int64 bufSize, Bool useODirect=False) |
Allocate the buffer. More... | |
Public Attributes | |
vector< Int64 > | blockNrs |
Int64 | curBlock |
Int64 | fsize |
String | name |
Bool | dirty |
std::shared_ptr< MultiFileBuffer > | buffer |
CountedPtr< HDF5Group > | group |
CountedPtr< HDF5DataSet > | dataSet |
Helper class for MultiFileBase containing info per internal file.
This struct defines the various fields describing a logical file in a class derived from MultiFileBase (such as MultiFile or MultiHDF5).
Internal
Definition at line 75 of file MultiFileBase.h.
Initialize the object and create the buffer with the proper size.
If align>1 (for use of O_DIRECT), the buffer is properly aligned and it is ensured that its size is a multiple of the alignment.
vector<Int64> casacore::MultiFileInfo::blockNrs |
Definition at line 84 of file MultiFileBase.h.
std::shared_ptr<MultiFileBuffer> casacore::MultiFileInfo::buffer |
Definition at line 89 of file MultiFileBase.h.
Referenced by allocBuffer().
Int64 casacore::MultiFileInfo::curBlock |
Definition at line 85 of file MultiFileBase.h.
CountedPtr<HDF5DataSet> casacore::MultiFileInfo::dataSet |
Definition at line 91 of file MultiFileBase.h.
Bool casacore::MultiFileInfo::dirty |
Definition at line 88 of file MultiFileBase.h.
Int64 casacore::MultiFileInfo::fsize |
Definition at line 86 of file MultiFileBase.h.
CountedPtr<HDF5Group> casacore::MultiFileInfo::group |
Definition at line 90 of file MultiFileBase.h.
String casacore::MultiFileInfo::name |
Definition at line 87 of file MultiFileBase.h.