B-Trees
B-tree implementation in C++ to index documents based on numerical id's and title strings.
Public Member Functions | Public Attributes | List of all members
TitleIndex Struct Reference

Helper struct to store secondary indexes. More...

Public Member Functions

bool operator< (const TitleIndex &that) const
 Less-than comparator so that TitleIndex can be used in BTree. More...
 

Public Attributes

char title [TITLE_CHAR_MAX]
 Entry title. More...
 
long offset
 Entry offset in the hashfile. More...
 

Detailed Description

Helper struct to store secondary indexes.

Member Function Documentation

bool TitleIndex::operator< ( const TitleIndex that) const
inline

Less-than comparator so that TitleIndex can be used in BTree.

Member Data Documentation

long TitleIndex::offset

Entry offset in the hashfile.

char TitleIndex::title[TITLE_CHAR_MAX]

Entry title.


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