TvHeader Struct Reference

TvHeader: Data structure at start of file. More...

List of all members.

Public Member Functions

void SetMinMaxChan (int chan)
 Update Min/Max channel.
void SetMinMaxDate (double date)
 Update Min/Max date.
void SetChanPos (int pos)
 Update mEndChanPos.
 TvHeader ()
 Constructor.

Public Attributes

short mMagic
 First two bytes == 0xFABE, indicates a gabbie file.
short mFileType
 01 = TV listing database.
int mVersion
 Data version.
int mTotalSize
 Total size of the file in bytes; used by mmap.
double mMinDate
 Earliest date in this listing.
double mMaxDate
 Latest date in this listing.
int mMinChannel
 Lowest channel number in this listing.
int mMaxChannel
 Highest channel number in this listing.
int mEndChanPos
 Position of the last channel.
int mCalPos
 Position (file offset) of start of calendar index.
int mIndexPos
 Position (file offset) of start of (name) index.


Detailed Description

TvHeader: Data structure at start of file.


Constructor & Destructor Documentation

TvHeader::TvHeader  ) 
 

Constructor.


Member Function Documentation

void TvHeader::SetChanPos int  pos  ) 
 

Update mEndChanPos.

void TvHeader::SetMinMaxChan int  chan  ) 
 

Update Min/Max channel.

void TvHeader::SetMinMaxDate double  date  ) 
 

Update Min/Max date.


Member Data Documentation

int TvHeader::mCalPos
 

Position (file offset) of start of calendar index.

int TvHeader::mEndChanPos
 

Position of the last channel.

short TvHeader::mFileType
 

01 = TV listing database.

int TvHeader::mIndexPos
 

Position (file offset) of start of (name) index.

short TvHeader::mMagic
 

First two bytes == 0xFABE, indicates a gabbie file.

int TvHeader::mMaxChannel
 

Highest channel number in this listing.

double TvHeader::mMaxDate
 

Latest date in this listing.

int TvHeader::mMinChannel
 

Lowest channel number in this listing.

double TvHeader::mMinDate
 

Earliest date in this listing.

int TvHeader::mTotalSize
 

Total size of the file in bytes; used by mmap.

int TvHeader::mVersion
 

Data version.


The documentation for this struct was generated from the following file:
Generated on Sun Oct 8 09:32:11 2006 for gabbie by  doxygen 1.4.6