Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

IndexCount Class Reference

class for collecting counts of an index More...

#include <IndexCount.hpp>

List of all members.

Public Methods

 IndexCount ()
 IndexCount (int id, int ct)
 IndexCount (IndexCount &dc)
IndexCount & operator= (const IndexCount &that)
int operator== (const IndexCount &that) const
int operator!= (const IndexCount &that) const
int operator> (const IndexCount &that) const
void read (ifstream &ifs)
void write (ofstream &ofs) const
void * operator new (size_t size)
void operator delete (void *)

Static Public Methods

int rqSort (int n, IndexCount *ic)
void UseMemory (MemList &memList)

Public Attributes

int index
int count

Static Private Methods

void insertionsort (IndexCount *a, int n)
void rquicksort (IndexCount *a, int n)

Static Private Attributes

MemListpMemList = NULL


Detailed Description

class for collecting counts of an index

A class for collecting counts of an index. Used for counting and sorting occurrences of terms and documents.


Constructor & Destructor Documentation

IndexCount::IndexCount   [inline]
 

IndexCount::IndexCount int    id,
int    ct
[inline]
 

IndexCount::IndexCount IndexCount &    dc [inline]
 


Member Function Documentation

void IndexCount::insertionsort IndexCount *    a,
int    n
[static, private]
 

void IndexCount::operator delete void *    [inline]
 

void* IndexCount::operator new size_t    size [inline]
 

int IndexCount::operator!= const IndexCount &    that const [inline]
 

IndexCount& IndexCount::operator= const IndexCount &    that [inline]
 

int IndexCount::operator== const IndexCount &    that const [inline]
 

int IndexCount::operator> const IndexCount &    that const [inline]
 

void IndexCount::read ifstream &    ifs [inline]
 

int IndexCount::rqSort int    n,
IndexCount *    ic
[static]
 

void IndexCount::rquicksort IndexCount *    a,
int    n
[static, private]
 

void IndexCount::UseMemory MemList   memList [static]
 

void IndexCount::write ofstream &    ofs const [inline]
 


Member Data Documentation

int IndexCount::count
 

int IndexCount::index
 

MemList * IndexCount::pMemList = NULL [static, private]
 


The documentation for this class was generated from the following files:
Generated on Fri Feb 6 07:12:01 2004 for LEMUR by doxygen1.2.16