13#ifndef ML_IMAGE_FORMAT_IDX_TABLE_H
14#define ML_IMAGE_FORMAT_IDX_TABLE_H
29 class MLImageFormatTagList;
32 class MLImageFormatInfos;
33 class MLImageFormatAbstractFileHandle;
119 return (
flagByte & 1) ? true :
false;
154 void *newTableData=
nullptr,
193 MLint pageDataStartPosInFile,
194 MLint pageDataEndPosInFile,
232 MLint numWholePageIds);
255 MLint _numAllocatedTableEntries;
258 MLint _numImagePageIds;
261 MLint _sizeOfOneVoxel;
267 MLint _idxTabEntrySize;
MLint32 MLErrorCode
Type of an ML Error code.
unsigned char MLTypeData
This is the pointer type used to point to the data of MLType data instances.
INT64 MLint64
Include 64-bit integer support for Windows or Unix.
MLuint32 getCheckSum() const
Returns the checksum stored in checkSumLow, checkSumMed, and checkSumHigh.
MLuint8 checkSumHigh
Highest 8 bit of 24 bit checksum of the page data. May be 0 for some file that does not store checksu...
MLuint8 checkSumMed
Middle 8 bit of 24 bit checksum of the page data. May be 0 for some file that does not store checksum...
bool getPartialFlag() const
Returns true if page is stored only partially; otherwise, it returns false.
MLuint8 _internalData[11]
Still unused data structure for future format extensions.
void setFlagByte(MLuint8 newVal)
Sets flag byte to the passed value.
void setCheckSum(MLuint32 sum)
Returns the checksum stored in checkSumLow, checkSumMed, and checkSumHigh.
MLuint8 checkSumLow
Lowest 8 bit of 24 bit checksum of the page data. May be 0 for some file that does not store checksum...
void setPartialFlag(bool isPartialPage)
Sets partial flag for a page, i.e., the page data is stored only as a fragment.