42 #ifndef _CDOCUMENTFREQUENCYLIST
43 #define _CDOCUMENTFREQUENCYLIST
44 #include "libGIFTAcInvertedFile/include/uses-declarations.h"
45 #include "libGIFTAcInvertedFile/include/CDocumentFrequencyElement.h"
49 #define _CDocumentFrequencyListIsArray
51 #ifdef _CDocumentFrequencyListIsVector
59 #ifdef _CDocumentFrequencyListIsVector
60 :
public vector<CDocumentFrequencyElement>
62 #ifdef _CDocumentFrequencyListIsList
63 :
public list<CDocumentFrequencyElement>
71 #ifdef _CDocumentFrequencyListIsArray
107 #ifdef _CDocumentFrequencyListIsArray
void setEnd(CDocumentFrequencyElement *)
to set the end of this
CDocumentFrequencyElement * iterator
mimicking STL iterator is simple pointer
Definition: CDocumentFrequencyList.h:109
CDocumentFrequencyList()
Constructor.
iterator begin()
mimicking STL
A list of Document Frequency Elements (the main part of an inverted file)
Definition: CDocumentFrequencyList.h:58
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 end()
mimicking STL
CDOCUMENTFREQUENCYELEMENT.
Definition: CDocumentFrequencyElement.h:49
CDocumentFrequencyElement const * const_iterator
mimicking STL const_iterator is simple const pointer
Definition: CDocumentFrequencyList.h:111
size_t size() const
mimicking STL
~CDocumentFrequencyList()
Destructor.