ddc
Public Member Functions | Public Attributes | List of all members
CIndexDocument Struct Reference

#include <DocumentIterator.h>

Inheritance diagram for CIndexDocument:
Inheritance graph
[legend]
Collaboration diagram for CIndexDocument:
Collaboration graph
[legend]

Public Member Functions

bool IsEmpty () const
 
void Initialize (const CConcIndexator *parent)
 
void ReplaceZeroCharWithSpace ()
 
void NormalizeDocumentBuffer ()
 
void DefaultColumnMap (const CConcIndexator *parent)
 
void CustomColumnMap (const CConcordance *parent, vector< CStringIndexSet *> &columnMap)
 

Public Attributes

string CorpusFileName
 
vector< char > DocumentBuffer
 
vector< string > DocumentLines
 
size_t DroppedLinesCount
 
- Public Attributes inherited from CTokenIndexator
vector< CStringIndexSet * > ColumnMap
 
vector< CStringIndexSet * > AbsentIndices
 
CTokenNo CorpusEndTokenNo
 

Member Function Documentation

◆ IsEmpty()

bool CIndexDocument::IsEmpty ( ) const

References DocumentBuffer, and DocumentLines.

Referenced by ConcIndexatorInvoker::IndexFile().

Here is the caller graph for this function:

◆ Initialize()

void CIndexDocument::Initialize ( const CConcIndexator parent)

References DefaultColumnMap(), DocumentBuffer, DocumentLines, and DroppedLinesCount.

Referenced by CDocumentIterator::NextDocument().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReplaceZeroCharWithSpace()

void CIndexDocument::ReplaceZeroCharWithSpace ( )

◆ NormalizeDocumentBuffer()

void CIndexDocument::NormalizeDocumentBuffer ( )

References CorpusFileName, DocumentBuffer, HTML::GetTextFromHTMLBuffer(), IsHtmlFile(), and replaceZeroCharWithSpace().

Referenced by CDocumentIterator::NextDocument().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DefaultColumnMap()

void CIndexDocument::DefaultColumnMap ( const CConcIndexator parent)

References CTokenIndexator::AbsentIndices, CTokenIndexator::ColumnMap, and CStringIndexator::m_Indices.

Referenced by Initialize().

Here is the caller graph for this function:

◆ CustomColumnMap()

void CIndexDocument::CustomColumnMap ( const CConcordance parent,
vector< CStringIndexSet *> &  columnMap 
)

References CTokenIndexator::AbsentIndices, CTokenIndexator::ColumnMap, and CStringIndexator::m_Indices.

Referenced by CTabFormatIndexator::IndexTabFormat().

Here is the caller graph for this function:

Member Data Documentation

◆ CorpusFileName

string CIndexDocument::CorpusFileName

◆ DocumentBuffer

vector<char> CIndexDocument::DocumentBuffer

◆ DocumentLines

vector<string> CIndexDocument::DocumentLines

◆ DroppedLinesCount

size_t CIndexDocument::DroppedLinesCount

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