System documentation of the GNU Image-Finding Tool

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

Constructor.

Constructor.

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