LibreOffice Module sc (master)  1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ScCountIfCellIterator Class Reference

#include <dociter.hxx>

Collaboration diagram for ScCountIfCellIterator:
[legend]

Public Member Functions

 ScCountIfCellIterator (ScDocument *pDocument, const ScInterpreterContext &rContext, SCTAB nTable, const ScQueryParam &aParam)
 
int GetCount ()
 

Private Types

typedef sc::CellStoreType::const_position_type PositionType
 

Private Member Functions

void InitPos ()
 Initialize position for new column. More...
 
void IncPos ()
 
void IncBlock ()
 
void AdvanceQueryParamEntryField ()
 

Private Attributes

PositionType maCurPos
 
ScQueryParam maParam
 
ScDocumentpDoc
 
const ScInterpreterContextmrContext
 
SCTAB nTab
 
SCCOL nCol
 
SCROW nRow
 

Detailed Description

Definition at line 372 of file dociter.hxx.

Member Typedef Documentation

typedef sc::CellStoreType::const_position_type ScCountIfCellIterator::PositionType
private

Definition at line 374 of file dociter.hxx.

Constructor & Destructor Documentation

ScCountIfCellIterator::ScCountIfCellIterator ( ScDocument pDocument,
const ScInterpreterContext rContext,
SCTAB  nTable,
const ScQueryParam aParam 
)

Definition at line 1456 of file dociter.cxx.

References maParam, mrContext, ScQueryParamTable::nCol1, and ScQueryParamTable::nRow1.

Member Function Documentation

void ScCountIfCellIterator::AdvanceQueryParamEntryField ( )
private
int ScCountIfCellIterator::GetCount ( )
void ScCountIfCellIterator::IncBlock ( )
private

Definition at line 1489 of file dociter.cxx.

References maCurPos.

Referenced by GetCount(), and IncPos().

void ScCountIfCellIterator::IncPos ( )
private

Definition at line 1476 of file dociter.cxx.

References IncBlock(), maCurPos, and nRow.

Referenced by GetCount().

void ScCountIfCellIterator::InitPos ( )
private

Initialize position for new column.

Definition at line 1467 of file dociter.cxx.

References ScQueryParamBase::bByRow, ScQueryParamBase::bHasHeader, ScColumn::maCells, maCurPos, maParam, ScDocument::maTabs, nRow, ScQueryParamTable::nRow1, nTab, and pDoc.

Referenced by GetCount().

Member Data Documentation

PositionType ScCountIfCellIterator::maCurPos
private

Definition at line 375 of file dociter.hxx.

Referenced by GetCount(), IncBlock(), IncPos(), and InitPos().

ScQueryParam ScCountIfCellIterator::maParam
private

Definition at line 376 of file dociter.hxx.

Referenced by AdvanceQueryParamEntryField(), GetCount(), InitPos(), and ScCountIfCellIterator().

const ScInterpreterContext& ScCountIfCellIterator::mrContext
private

Definition at line 378 of file dociter.hxx.

Referenced by GetCount().

SCCOL ScCountIfCellIterator::nCol
private

Definition at line 380 of file dociter.hxx.

Referenced by GetCount().

SCROW ScCountIfCellIterator::nRow
private

Definition at line 381 of file dociter.hxx.

Referenced by IncPos(), and InitPos().

SCTAB ScCountIfCellIterator::nTab
private

Definition at line 379 of file dociter.hxx.

Referenced by GetCount(), and InitPos().

ScDocument* ScCountIfCellIterator::pDoc
private

Definition at line 377 of file dociter.hxx.

Referenced by AdvanceQueryParamEntryField(), GetCount(), and InitPos().


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