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

#include <queryiter.hxx>

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

Public Member Functions

 ScQueryCellIteratorSortedCache (ScDocument &rDocument, ScInterpreterContext &rContext, SCTAB nTable, const ScQueryParam &aParam, bool bMod)
 
- Public Member Functions inherited from ScQueryCellIterator< ScQueryCellIteratorAccess::SortedCache >
 ScQueryCellIterator (ScDocument &rDocument, ScInterpreterContext &rContext, SCTAB nTable, const ScQueryParam &aParam, bool bMod)
 
bool GetFirst ()
 
bool GetNext ()
 
SCCOL GetCol () const
 
SCROW GetRow () const
 
bool FindEqualOrSortedLastInRange (SCCOL &nFoundCol, SCROW &nFoundRow)
 In a range assumed to be sorted find either the last of a sequence of equal entries or the last being less than (or greater than) the queried value. More...
 
- Public Member Functions inherited from ScQueryCellIteratorBase< accessType, ScQueryCellIteratorType::Generic >
 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 ScQueryCellIterator< ScQueryCellIteratorAccess::SortedCacheBase
 

Additional Inherited Members

- Protected Types inherited from ScQueryCellIteratorBase< accessType, ScQueryCellIteratorType::Generic >
enum  StopOnMismatchBits
 
enum  TestEqualConditionBits
 
- Protected Member Functions inherited from ScQueryCellIteratorBase< accessType, ScQueryCellIteratorType::Generic >
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::Generic >
sal_uInt8 nStopOnMismatch
 
sal_uInt8 nTestEqualCondition
 
bool bAdvanceQuery
 
bool bIgnoreMismatchOnLeadingStrings
 

Detailed Description

Definition at line 317 of file queryiter.hxx.

Member Typedef Documentation

◆ Base

Definition at line 320 of file queryiter.hxx.

Constructor & Destructor Documentation

◆ ScQueryCellIteratorSortedCache()

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

Definition at line 322 of file queryiter.hxx.

Member Function Documentation

◆ CanBeUsed()

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

Definition at line 1339 of file queryiter.cxx.

References CanBeUsedForSorterCache().

Referenced by ScInterpreter::IterateParametersIfs(), and lcl_LookupQuery().


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