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

#include <queryiter.hxx>

Inheritance diagram for ScCountIfCellIteratorSortedCache:
[legend]
Collaboration diagram for ScCountIfCellIteratorSortedCache:
[legend]

Public Member Functions

 ScCountIfCellIteratorSortedCache (ScDocument &rDocument, ScInterpreterContext &rContext, SCTAB nTable, const ScQueryParam &aParam, bool bMod)
 
- Public Member Functions inherited from ScCountIfCellIterator< ScQueryCellIteratorAccess::SortedCache >
 ScCountIfCellIterator (ScDocument &rDocument, ScInterpreterContext &rContext, SCTAB nTable, const ScQueryParam &aParam, bool bMod)
 
sal_uInt64 GetCount ()
 
- Public Member Functions inherited from ScQueryCellIteratorBase< accessType, ScQueryCellIteratorType::CountIf >
 ScQueryCellIteratorBase (ScDocument &rDocument, ScInterpreterContext &rContext, SCTAB nTable, const ScQueryParam &aParam, bool bMod)
 
void SetAdvanceQueryParamEntryField (bool bVal)
 
void AdvanceQueryParamEntryField ()
 

Static Public Member Functions

static bool CanBeUsed (ScDocument &rDoc, const ScQueryParam &aParam, SCTAB nTab, const ScFormulaCell *cell, const ScComplexRefData *refData, ScInterpreterContext &context)
 

Private Types

typedef ScCountIfCellIterator< ScQueryCellIteratorAccess::SortedCacheBase
 

Additional Inherited Members

- Protected Types inherited from ScCountIfCellIterator< ScQueryCellIteratorAccess::SortedCache >
typedef ScQueryCellIteratorBase< accessType, ScQueryCellIteratorType::CountIfBase
 
- Protected Types inherited from ScQueryCellIteratorBase< accessType, ScQueryCellIteratorType::CountIf >
enum  StopOnMismatchBits
 
enum  TestEqualConditionBits
 
- Protected Member Functions inherited from ScQueryCellIteratorBase< accessType, ScQueryCellIteratorType::CountIf >
void InitPos ()
 
void PerformQuery ()
 
bool BinarySearch (SCCOL col, bool forEqual=false)
 
void SetStopOnMismatch (bool bVal)
 If set, iterator stops on first non-matching cell content. More...
 
bool StoppedOnMismatch () const
 
void SetTestEqualCondition (bool bVal)
 If set, an additional test for SC_EQUAL condition is executed in ScTable::ValidQuery() if SC_LESS_EQUAL or SC_GREATER_EQUAL conditions are to be tested. More...
 
bool IsEqualConditionFulfilled () const
 
- Protected Member Functions inherited from ScQueryCellIteratorTypeSpecific< queryType >
bool HandleItemFound ()
 
- Protected Attributes inherited from ScQueryCellIteratorBase< accessType, ScQueryCellIteratorType::CountIf >
sal_uInt8 nStopOnMismatch
 
sal_uInt8 nTestEqualCondition
 
bool bAdvanceQuery
 
bool bIgnoreMismatchOnLeadingStrings
 

Detailed Description

Definition at line 367 of file queryiter.hxx.

Member Typedef Documentation

◆ Base

Definition at line 370 of file queryiter.hxx.

Constructor & Destructor Documentation

◆ ScCountIfCellIteratorSortedCache()

ScCountIfCellIteratorSortedCache::ScCountIfCellIteratorSortedCache ( ScDocument rDocument,
ScInterpreterContext rContext,
SCTAB  nTable,
const ScQueryParam aParam,
bool  bMod 
)
inline

Definition at line 372 of file queryiter.hxx.

Member Function Documentation

◆ CanBeUsed()

bool ScCountIfCellIteratorSortedCache::CanBeUsed ( ScDocument rDoc,
const ScQueryParam aParam,
SCTAB  nTab,
const ScFormulaCell cell,
const ScComplexRefData refData,
ScInterpreterContext context 
)
static

Definition at line 1370 of file queryiter.cxx.

References CanBeUsedForSorterCache().

Referenced by ScInterpreter::ScCountIf().


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