Public Member Functions | Public Attributes | Private Member Functions

CIndexBigram Class Reference

#include <ConcBigrams.h>

List of all members.

Public Member Functions

Public Attributes

Private Member Functions


Constructor & Destructor Documentation

CIndexBigram::CIndexBigram ( string  Path  ) 

References m_Path, and m_SecondWordFile.

CIndexBigram::~CIndexBigram (  ) 

References CloseFiles().

Here is the call graph for this function:


Member Function Documentation

void CIndexBigram::CloseFiles (  )  [private]

References m_SecondWordFile.

Referenced by LoadBigrams(), RemoveFiles(), and ~CIndexBigram().

Here is the caller graph for this function:

string CIndexBigram::GetSecondWordFileName (  )  const

References m_Path.

Referenced by CIndexSetForBigrams::ConvertTempBigramsToPersistent(), CIndexSetForBigrams::CreateRightBigrams(), LoadBigrams(), and RemoveFiles().

Here is the caller graph for this function:

string CIndexBigram::GetFirstWordFileName (  )  const

References m_Path.

Referenced by CIndexSetForBigrams::ConvertTempBigramsToPersistent(), CIndexSetForBigrams::CreateRightBigrams(), LoadBigrams(), and RemoveFiles().

Here is the caller graph for this function:

bool CIndexBigram::LoadBigrams (  ) 

References CloseFiles(), GetFirstWordFileName(), GetSecondWordFileName(), m_FirstWords, m_SecondWordFile, and ReadVector().

Referenced by CIndexSetForBigrams::LoadIndexSet().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CIndexBigram::RemoveFiles (  ) 

References CloseFiles(), GetFirstWordFileName(), GetSecondWordFileName(), and RemoveWithPrint().

Referenced by CIndexSetForBigrams::DestroyIndexSet().

Here is the call graph for this function:

Here is the caller graph for this function:

size_t CIndexBigram::ReadSecondWords ( size_t  FirstWord,
vector< CSecondWord > &  SecondWords 
) const

References FSeek(), m_FirstWords, m_SecondWordFile, and ReadVectorInner().

Referenced by CStringIndexSet::DumpBigramsOfOneDirection(), and CIndexSetForBigrams::FindOccurrencesForBigrams().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


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