casacore
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
casacore::MultiFileInfo Struct Reference

Helper class for MultiFileBase containing info per logical file. More...

#include <MultiFileBase.h>

Public Member Functions

 MultiFileInfo ()
 Initialize the object.
 
void allocBuffer (size_t bufSize, Bool useODirect)
 Allocate the buffer.
 

Public Attributes

std::vector< Int64blockNrs
 
Int64 curBlock
 
Int64 fsize
 
String name
 
Bool nested
 
Bool dirty
 
std::shared_ptr< MultiFileBufferbuffer
 
std::shared_ptr< HDF5Groupgroup
 
std::shared_ptr< HDF5DataSetdataSet
 

Detailed Description

Helper class for MultiFileBase containing info per logical file.

Synopsis

This struct defines the basic fields describing a logical file in a class derived from MultiFileBase (such as MultiFile or MultiHDF5).

Intended use:

Internal

Definition at line 77 of file MultiFileBase.h.

Constructor & Destructor Documentation

◆ MultiFileInfo()

casacore::MultiFileInfo::MultiFileInfo ( )
explicit

Initialize the object.

The buffer is created when the file is opened.

Member Function Documentation

◆ allocBuffer()

void casacore::MultiFileInfo::allocBuffer ( size_t  bufSize,
Bool  useODirect 
)
inline

Allocate the buffer.

Definition at line 81 of file MultiFileBase.h.

References buffer.

Member Data Documentation

◆ blockNrs

std::vector<Int64> casacore::MultiFileInfo::blockNrs

Definition at line 84 of file MultiFileBase.h.

◆ buffer

std::shared_ptr<MultiFileBuffer> casacore::MultiFileInfo::buffer

Definition at line 90 of file MultiFileBase.h.

Referenced by allocBuffer().

◆ curBlock

Int64 casacore::MultiFileInfo::curBlock

Definition at line 85 of file MultiFileBase.h.

◆ dataSet

std::shared_ptr<HDF5DataSet> casacore::MultiFileInfo::dataSet

Definition at line 92 of file MultiFileBase.h.

◆ dirty

Bool casacore::MultiFileInfo::dirty

Definition at line 89 of file MultiFileBase.h.

◆ fsize

Int64 casacore::MultiFileInfo::fsize

Definition at line 86 of file MultiFileBase.h.

◆ group

std::shared_ptr<HDF5Group> casacore::MultiFileInfo::group

Definition at line 91 of file MultiFileBase.h.

◆ name

String casacore::MultiFileInfo::name

Definition at line 87 of file MultiFileBase.h.

◆ nested

Bool casacore::MultiFileInfo::nested

Definition at line 88 of file MultiFileBase.h.


The documentation for this struct was generated from the following file: