CLucene - a full-featured, c++ search engine
API Documentation


lucene::search::FieldCacheImpl::FileEntry Class Reference

Expert: Every key in the internal cache is of this type. More...

#include <FieldCacheImpl.h>

Inheritance diagram for lucene::search::FieldCacheImpl::FileEntry:
lucene::debug::LuceneBase

List of all members.

Classes

class  Compare
class  Equals

Public Member Functions

 FileEntry (const TCHAR *field, int32_t type)
 Creates one of these objects.
 FileEntry (const TCHAR *field, SortComparatorSource *custom)
 Creates one of these objects for a custom comparator.
 ~FileEntry ()
int32_t getType () const
bool equals (FileEntry *other) const
 Two of these are equal iff they reference the same field and type.
size_t hashCode ()
 Composes a hashcode based on the field and type.
int32_t compareTo (const FileEntry *other) const

Detailed Description

Expert: Every key in the internal cache is of this type.


Constructor & Destructor Documentation

lucene::search::FieldCacheImpl::FileEntry::FileEntry ( const TCHAR *  field,
int32_t  type 
)

Creates one of these objects.

lucene::search::FieldCacheImpl::FileEntry::FileEntry ( const TCHAR *  field,
SortComparatorSource custom 
)

Creates one of these objects for a custom comparator.

lucene::search::FieldCacheImpl::FileEntry::~FileEntry (  ) 

Member Function Documentation

int32_t lucene::search::FieldCacheImpl::FileEntry::compareTo ( const FileEntry other  )  const
bool lucene::search::FieldCacheImpl::FileEntry::equals ( FileEntry other  )  const

Two of these are equal iff they reference the same field and type.

int32_t lucene::search::FieldCacheImpl::FileEntry::getType (  )  const [inline]
size_t lucene::search::FieldCacheImpl::FileEntry::hashCode (  ) 

Composes a hashcode based on the field and type.

Referenced by lucene::search::FieldCacheImpl::FileEntry::Compare::operator()().


The documentation for this class was generated from the following file:

clucene.sourceforge.net