ltl::FitsIO Class Reference

FitsIO mother class: things FitsIn and FitsOut have in common. More...

Inherited by ltl::FitsIn, and ltl::FitsOut.

List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes

Related Functions

(Note that these are not member functions.)

Detailed Description

FitsIO mother class: things FitsIn and FitsOut have in common.

Constructor & Destructor Documentation

ltl::FitsIO::FitsIO ( const string &  path  ) 

Set ltl::FitsIO::filename_ and initialize other members.


Member Function Documentation

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_ .

unsigned char* ltl::FitsIO::streampos (  )  const [inline]

Return ltl::FitsIO::fitsstreamptr_ .

size_t ltl::FitsIO::getRegionLength (  )  const

Get number of pixels in selected region.

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.

Region ltl::FitsIO::getRegion (  )  const

Return copy of selected region.


Member Data Documentation

string ltl::FitsIO::filename_ [protected]

Filename associated with FitsIn/Out object.

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.

size_t ltl::FitsIO::fitsmaplength_ [protected]

Length of data segment map, multiple of page size.

Region* ltl::FitsIO::regionptr_ [protected]

Pointer to Region (if set).

off_t ltl::FitsIO::fitsregionoffset_ [protected]

Offset to determine first pixel of selected region.


Generated on Wed Mar 11 17:44:36 2009 for LTL by  doxygen 1.5.3