FACT++
1.0
|
Classes | |
class | ColumnEntry |
class | HeaderEntry |
Public Types | |
enum | FitsCompression { UNCOMPRESSED, SMOOTHMAN, UNCOMPRESSED, SMOOTHMAN } |
enum | FitsCompression { UNCOMPRESSED, SMOOTHMAN, UNCOMPRESSED, SMOOTHMAN } |
Public Member Functions | |
CompressedFitsFile (uint32_t numTiles=100, uint32_t numRowsPerTile=100) | |
default constructor. Assigns a default number of rows and tiles More... | |
virtual | ~CompressedFitsFile () |
default destructor More... | |
vector< HeaderEntry > & | getHeaderEntries () |
get the header of the file More... | |
CompressedFitsFile (uint32_t numTiles=100, uint32_t numRowsPerTile=100) | |
default constructor. Assigns a default number of rows and tiles More... | |
virtual | ~CompressedFitsFile () |
default destructor More... | |
vector< HeaderEntry > & | getHeaderEntries () |
get the header of the file More... | |
Protected Types | |
typedef pair< int64_t, int64_t > | CatalogEntry |
typedef vector< CatalogEntry > | CatalogRow |
typedef vector< CatalogRow > | CatalogType |
typedef pair< int64_t, int64_t > | CatalogEntry |
typedef vector< CatalogEntry > | CatalogRow |
typedef vector< CatalogRow > | CatalogType |
Protected Member Functions | |
bool | reallocateBuffers () |
protected function to allocate the intermediate buffers More... | |
bool | reallocateBuffers () |
protected function to allocate the intermediate buffers More... | |
Protected Attributes | |
vector< HeaderEntry > | _header |
Header keys. More... | |
vector< ColumnEntry > | _columns |
Columns in the file. More... | |
uint32_t | _numTiles |
Number of tiles (i.e. groups of rows) More... | |
uint32_t | _numRowsPerTile |
Number of rows per tile. More... | |
uint32_t | _totalNumRows |
Total number of raws. More... | |
uint32_t | _rowWidth |
Total number of bytes in one row. More... | |
bool | _headerFlushed |
Flag telling whether the header record is synchronized with the data on disk. More... | |
char * | _buffer |
Memory buffer to store rows while they are not compressed. More... | |
Checksum | _checksum |
Checksum for asserting the consistency of the data. More... | |
fstream | _file |
The actual file streamer for accessing disk data. More... | |
CatalogType | _catalog |
Catalog, i.e. the main table that points to the compressed data. More... | |
uint64_t | _heapPtr |
the address in the file of the heap area More... | |
vector< char * > | _transposedBuffer |
Memory buffer to store rows while they are transposed. More... | |
vector< char * > | _compressedBuffer |
Memory buffer to store rows while they are compressed. More... | |
uint32_t | _numThreads |
The number of threads that will be used to compress. More... | |
uint32_t | _threadIndex |
A variable to assign threads indices. More... | |
vector< pthread_t > | _thread |
The thread handler of the compressor. More... | |
vector< uint32_t > | _threadNumRows |
Total number of rows for thread to compress. More... | |
vector< uint32_t > | _threadStatus |
Flag telling whether the buffer to be transposed (and compressed) is full or empty. More... | |
Static Protected Attributes | |
static const uint32_t | _THREAD_WAIT_ = 0 |
Thread doing nothing. More... | |
static const uint32_t | _THREAD_COMPRESS_ = 1 |
Thread working, compressing. More... | |
static const uint32_t | _THREAD_DECOMPRESS_ = 2 |
Thread working, decompressing. More... | |
static const uint32_t | _THREAD_WRITE_ = 3 |
Thread writing data to disk. More... | |
static const uint32_t | _THREAD_READ_ = 4 |
Thread reading data from disk. More... | |
static const uint32_t | _THREAD_EXIT_ = 5 |
Thread exiting. More... | |
static HeaderEntry | _dummyHeaderEntry |
Dummy entry for returning if requested on is not found. More... | |
Definition at line 22 of file fitsCompressor.cc.