LibreOffice Module sc (master) 1
|
#include <dociter.hxx>
Classes | |
class | DataAccess |
class | DataAccessInternal |
class | DataAccessMatrix |
struct | Value |
Public Member Functions | |
ScDBQueryDataIterator (ScDocument &rDocument, const ScInterpreterContext &rContext, std::unique_ptr< ScDBQueryParamBase > pParam) | |
bool | GetFirst (Value &rValue) |
Does NOT reset rValue if no value found! More... | |
bool | GetNext (Value &rValue) |
Does NOT reset rValue if no value found! More... | |
Static Private Member Functions | |
static const sc::CellStoreType * | GetColumnCellStore (ScDocument &rDoc, SCTAB nTab, SCCOL nCol) |
static const ScAttrArray * | GetAttrArrayByCol (ScDocument &rDoc, SCTAB nTab, SCCOL nCol) |
static bool | IsQueryValid (ScDocument &rDoc, const ScQueryParam &rParam, SCTAB nTab, SCROW nRow, const ScRefCellValue *pCell) |
Private Attributes | |
::std::unique_ptr< ScDBQueryParamBase > | mpParam |
::std::unique_ptr< DataAccess > | mpData |
Definition at line 99 of file dociter.hxx.
ScDBQueryDataIterator::ScDBQueryDataIterator | ( | ScDocument & | rDocument, |
const ScInterpreterContext & | rContext, | ||
std::unique_ptr< ScDBQueryParamBase > | pParam | ||
) |
Definition at line 738 of file dociter.cxx.
References ScDBQueryParamBase::INTERNAL, ScDBQueryParamBase::MATRIX, mpData, mpParam, and p.
|
staticprivate |
Definition at line 318 of file dociter.cxx.
References ScDocument::GetTableCount(), ScDocument::maTabs, and ScColumnData::pAttrArray.
Referenced by ScDBQueryDataIterator::DataAccessInternal::getCurrent().
|
staticprivate |
Definition at line 308 of file dociter.cxx.
References ScTable::aCol, ScDocument::FetchTable(), and ScTable::GetAllocatedColumnsCount().
Referenced by ScDBQueryDataIterator::DataAccessInternal::getFirst().
bool ScDBQueryDataIterator::GetFirst | ( | Value & | rValue | ) |
Does NOT reset rValue if no value found!
Definition at line 757 of file dociter.cxx.
References mpData.
Referenced by ScInterpreter::DBIterator(), ScInterpreter::GetDBStVarParams(), ScInterpreter::ScDBCount(), ScInterpreter::ScDBCount2(), and ScInterpreter::ScDBGet().
bool ScDBQueryDataIterator::GetNext | ( | Value & | rValue | ) |
Does NOT reset rValue if no value found!
Definition at line 762 of file dociter.cxx.
References mpData.
Referenced by ScInterpreter::DBIterator(), ScInterpreter::GetDBStVarParams(), ScInterpreter::ScDBCount(), ScInterpreter::ScDBCount2(), and ScInterpreter::ScDBGet().
|
staticprivate |
Definition at line 325 of file dociter.cxx.
References ScDocument::GetTableCount(), ScDocument::maTabs, and ScQueryEvaluator::ValidQuery().
Referenced by ScDBQueryDataIterator::DataAccessInternal::getCurrent().
|
private |
Definition at line 175 of file dociter.hxx.
Referenced by GetFirst(), GetNext(), and ScDBQueryDataIterator().
|
private |
Definition at line 174 of file dociter.hxx.
Referenced by ScDBQueryDataIterator::DataAccessInternal::getCurrent(), ScDBQueryDataIterator::DataAccessMatrix::getCurrent(), ScDBQueryDataIterator::DataAccessInternal::getFirst(), ScDBQueryDataIterator::DataAccessMatrix::getFirst(), ScDBQueryDataIterator::DataAccessMatrix::isValidQuery(), and ScDBQueryDataIterator().