System documentation of the GNU Image-Finding Tool

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

CDocumentFrequencyList Class Reference

A list of Document Frequency Elements (the main part of an inverted file). More...

#include <CDocumentFrequencyList.h>

List of all members.

Public Types

typedef CDocumentFrequencyElementiterator
 mimicking STL iterator is simple pointer
typedef CDocumentFrequencyElement
const * 
const_iterator
 mimicking STL const_iterator is simple const pointer

Public Member Functions

 CDocumentFrequencyList (size_t inSize)
 CDocumentFrequencyList ()
 ~CDocumentFrequencyList ()
bool writeBinary (ostream &outStream) const
bool readBinary (istream &inStream)
iterator begin ()
 mimicking STL
iterator end ()
 mimicking STL
const_iterator begin () const
 mimicking STL
const_iterator end () const
 mimicking STL
size_t size () const
 mimicking STL
void setEnd (CDocumentFrequencyElement *)
 to set the end of this


Detailed Description

A list of Document Frequency Elements (the main part of an inverted file).


Constructor & Destructor Documentation

CDocumentFrequencyList::CDocumentFrequencyList size_t  inSize  ) 
 

Constructor

CDocumentFrequencyList::CDocumentFrequencyList  ) 
 

Constructor

CDocumentFrequencyList::~CDocumentFrequencyList  ) 
 

Destructor


Member Function Documentation

bool CDocumentFrequencyList::readBinary istream &  inStream  ) 
 

A nice function for reading the whole list as binary (as opposed to human readable ascii) from a file

bool CDocumentFrequencyList::writeBinary ostream &  outStream  )  const
 

A nice function for writing the whole list as binary (as opposed to human readable ascii) into a file


The documentation for this class was generated from the following file:
Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen