System documentation of the GNU Image-Finding Tool

Public Types | Public Member Functions | List of all members
CDocumentFrequencyList Class Reference

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

#include <CDocumentFrequencyList.h>

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)
 Constructor. More...
 
 CDocumentFrequencyList ()
 Constructor. More...
 
 ~CDocumentFrequencyList ()
 Destructor. More...
 
bool writeBinary (ostream &outStream) const
 A nice function for writing the whole list as binary (as opposed to human readable ascii) into a file. More...
 
bool readBinary (istream &inStream)
 A nice function for reading the whole list as binary (as opposed to human readable ascii) from a file. More...
 
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