FitsIO mother class: things FitsIn and FitsOut have in common. More...
Inherited by ltl::FitsIn, and ltl::FitsOut.
(Note that these are not member functions.)
FitsIO mother class: things FitsIn and FitsOut have in common.
ltl::FitsIO::FitsIO | ( | unsigned char * | inmemptr, | |
size_t | inmemlen | |||
) |
Set ltl::FitsIO::filename_ and initialize other members.
ltl::FitsIO::FitsIO | ( | unsigned char ** | inmemptr, | |
size_t * | inmemlen | |||
) |
ltl::FitsIO::FitsIO | ( | const string & | path | ) |
void ltl::FitsIO::checkRegion | ( | const size_t | dim | ) | const throw (FitsException) [protected] |
Test if dimension dim of region is "retrievable".
string ltl::FitsIO::getFilename | ( | ) | const [inline] |
Return ltl::FitsIO::filename_ .
References filename_.
unsigned char* ltl::FitsIO::streampos | ( | ) | const [inline] |
Return ltl::FitsIO::fitsstreamptr_ .
References fitsstreamptr_.
Referenced by ltl::FitsIn::getNextPixel(), and ltl::FitsOut::setNextPixel().
size_t ltl::FitsIO::getRegionLength | ( | ) | const |
Get number of pixels in selected region.
Referenced by ltl::getFitsMArray(), and ltl::insertFitsMArray().
size_t ltl::FitsIO::getRegionLength | ( | const size_t | dim | ) | const |
Get length along dimension dim of selected region in pixels.
int ltl::FitsIO::getRegionStart | ( | const size_t | dim | ) | const |
Get start pixel coordinate in dimension dim of selected region.
int ltl::FitsIO::getRegionEnd | ( | const size_t | dim | ) | const |
Get end pixel coordinate in dimension dim of selected region.
Referenced by ltl::insertFitsMArray().
util::Region ltl::FitsIO::getRegion | ( | ) | const |
Return copy of selected region.
Referenced by ltl::insertFitsMArray().
string ltl::FitsIO::filename_ [protected] |
Filename associated with FitsIn/Out object.
Referenced by getFilename().
unsigned char* ltl::FitsIO::fitsinmemptr_ [protected] |
Pointer to in-memory fits file image.
size_t ltl::FitsIO::fitsinmemlength_ [protected] |
Length of in-memory fits file.
unsigned char** ltl::FitsIO::ptrfitsinmemptr_ [protected] |
In-memory fits file image allocation data.
size_t* ltl::FitsIO::ptrfitsinmemlength_ [protected] |
unsigned char* ltl::FitsIO::fitsdataptr_ [protected] |
Pointer to data segment map.
unsigned char* ltl::FitsIO::fitsstreamptr_ [protected] |
Pointer to actual byte in data segment for per pixel I/O.
Referenced by ltl::FitsIn::getNextPixel(), ltl::FitsOut::setNextPixel(), and streampos().
size_t ltl::FitsIO::fitsmaplength_ [protected] |
Length of data segment map, multiple of page size.
util::Region* ltl::FitsIO::regionptr_ [protected] |
Pointer to Region (if set).
Referenced by ltl::FitsIn::getDataArray(), ltl::FitsOut::isRegion(), ltl::FitsIn::readDataArray(), ltl::FitsIn::readRegionArray(), and ltl::FitsOut::writeRegionArray().
off_t ltl::FitsIO::fitsregionoffset_ [protected] |
Offset to determine first pixel of selected region.