CIFListStart Class Reference

#include <CIFListStart.h>

List of all members.

Public Member Functions

 CIFListStart (istream &inStream)
TID getFeatureID () const
double getCollectionFrequency () const
unsigned int getNumberOfElements () const
unsigned int getNumberOfReservedElements () const

Private Attributes

TID mFeatureID
float mCollectionFrequency
unsigned int mNumberOfElements
unsigned int mNumberOfReservedElements


Detailed Description

The chunk which starts a list in the inverted file, consisting of FeatureID, CollectionFrequency of the Feature and Number of Elements in the List

Definition at line 52 of file CIFListStart.h.


Constructor & Destructor Documentation

CIFListStart::CIFListStart ( istream &  inStream  ) 

Definition at line 57 of file CIFListStart.cc.

References mCollectionFrequency, and mNumberOfElements.

00057                                            {
00058     inStream.read((char*)this,
00059       sizeof(*this));
00060     
00061     assert(mCollectionFrequency && mNumberOfElements);
00062 };


Member Function Documentation

TID CIFListStart::getFeatureID (  )  const

Definition at line 78 of file CIFListStart.cc.

References mFeatureID.

Referenced by CAcIFFileSystem::FeatureToList(), CAcIFFileSystem::findWithinStream(), and CAcIFFileSystem::init().

00078                                    {
00079   return mFeatureID;
00080 };

double CIFListStart::getCollectionFrequency (  )  const

Definition at line 96 of file CIFListStart.cc.

References mCollectionFrequency.

Referenced by CAcIFFileSystem::findWithinStream(), and CAcIFFileSystem::init().

00096                                                 {
00097   return mCollectionFrequency;
00098 };

unsigned int CIFListStart::getNumberOfElements (  )  const

Definition at line 113 of file CIFListStart.cc.

References mNumberOfElements.

Referenced by CAcIFFileSystem::FeatureToList(), and CAcIFFileSystem::findWithinStream().

00113                                                    {
00114   return mNumberOfElements;
00115 };

unsigned int CIFListStart::getNumberOfReservedElements (  )  const

Definition at line 129 of file CIFListStart.cc.

References mNumberOfReservedElements.

00129                                                            {
00130   return mNumberOfReservedElements;
00131 };


Member Data Documentation

Definition at line 54 of file CIFListStart.h.

Referenced by getFeatureID().

Definition at line 56 of file CIFListStart.h.

Referenced by CIFListStart(), and getCollectionFrequency().

unsigned int CIFListStart::mNumberOfElements [private]

The number of elements

Definition at line 58 of file CIFListStart.h.

Referenced by CIFListStart(), and getNumberOfElements().

The total number of elements be in this list before rearranging the file

Definition at line 62 of file CIFListStart.h.

Referenced by getNumberOfReservedElements().


The documentation for this class was generated from the following files:

Generated on Tue Jan 6 00:31:11 2009 for Gift by  doxygen 1.5.6