LibreOffice Module connectivity (master) 1
|
#include <DIndexIter.hxx>
Public Member Functions | |
OIndexIterator (ODbaseIndex *pInd) | |
~OIndexIterator () | |
sal_uInt32 | First () |
sal_uInt32 | Next () |
Private Member Functions | |
sal_uInt32 | Find (bool bFirst) |
sal_uInt32 | GetCompare (bool bFirst) |
sal_uInt32 | GetLike (bool bFirst) |
sal_uInt32 | GetNull (bool bFirst) |
sal_uInt32 | GetNotNull (bool bFirst) |
ONDXKey * | GetFirstKey (ONDXPage *pPage, const file::OOperand &rKey) |
ONDXKey * | GetNextKey () |
Private Attributes | |
file::OBoolOperator * | m_pOperator |
const file::OOperand * | m_pOperand |
rtl::Reference< ODbaseIndex > | m_xIndex |
ONDXPagePtr | m_aRoot |
ONDXPagePtr | m_aCurLeaf |
sal_uInt16 | m_nCurNode |
Definition at line 31 of file DIndexIter.hxx.
|
inline |
Definition at line 51 of file DIndexIter.hxx.
OIndexIterator::~OIndexIterator | ( | ) |
Definition at line 30 of file DIndexIter.cxx.
|
private |
Definition at line 36 of file DIndexIter.cxx.
References connectivity::dbase::ONDXPagePtr::Clear(), connectivity::dbase::ONDXPage::GetChild(), GetCompare(), GetLike(), GetNextKey(), GetNotNull(), GetNull(), connectivity::dbase::ONDXKey::GetRecord(), connectivity::dbase::ONDXPage::IsLeaf(), m_aCurLeaf, m_aRoot, m_nCurNode, m_pOperator, m_xIndex, and NODE_NOTFOUND.
sal_uInt32 OIndexIterator::First | ( | ) |
Definition at line 32 of file DIndexIter.cxx.
References Find().
|
private |
Definition at line 117 of file DIndexIter.cxx.
References connectivity::dbase::ONDXPagePtr::Clear(), connectivity::dbase::ONDXPage::GetChild(), GetFirstKey(), GetNextKey(), connectivity::file::OOp_COMPARE::getPredicateType(), connectivity::dbase::ONDXKey::GetRecord(), connectivity::dbase::ONDXKey::getValue(), connectivity::dbase::ONDXPage::IsLeaf(), connectivity::ORowSetValue::isNull(), m_aCurLeaf, m_aRoot, m_nCurNode, m_pOperand, m_pOperator, m_xIndex, NODE_NOTFOUND, and connectivity::file::OBoolOperator::operate().
Referenced by Find().
|
private |
Definition at line 73 of file DIndexIter.cxx.
References connectivity::dbase::ONDXPage::Count(), Count, connectivity::dbase::ONDXPage::GetChild(), GetFirstKey(), i, connectivity::dbase::ONDXPagePtr::Is(), connectivity::dbase::ONDXPage::IsLeaf(), m_aCurLeaf, m_nCurNode, m_pOperator, m_xIndex, connectivity::file::OBoolOperator::operate(), and connectivity::file::OOp_COMPARE::operate().
Referenced by GetCompare(), and GetFirstKey().
|
private |
Definition at line 194 of file DIndexIter.cxx.
References connectivity::dbase::ONDXPage::GetChild(), GetNextKey(), connectivity::dbase::ONDXKey::GetRecord(), connectivity::dbase::ONDXPage::IsLeaf(), m_aCurLeaf, m_aRoot, m_nCurNode, m_pOperand, m_pOperator, m_xIndex, NODE_NOTFOUND, and connectivity::file::OBoolOperator::operate().
Referenced by Find().
|
private |
Definition at line 251 of file DIndexIter.cxx.
References connectivity::dbase::ONDXPage::Count(), connectivity::dbase::ONDXPage::GetChild(), connectivity::dbase::ONDXPage::GetParent(), connectivity::dbase::ONDXPagePtr::Is(), connectivity::dbase::ONDXPage::IsLeaf(), m_aCurLeaf, m_nCurNode, m_xIndex, nPos, and connectivity::dbase::ONDXPage::Search().
Referenced by Find(), GetCompare(), GetLike(), GetNotNull(), and GetNull().
|
private |
Definition at line 235 of file DIndexIter.cxx.
References GetNextKey(), GetNull(), connectivity::dbase::ONDXKey::GetRecord(), connectivity::dbase::ONDXPagePtr::Is(), m_aCurLeaf, m_nCurNode, and NODE_NOTFOUND.
Referenced by Find().
|
private |
Definition at line 214 of file DIndexIter.cxx.
References connectivity::dbase::ONDXPagePtr::Clear(), connectivity::dbase::ONDXPage::GetChild(), GetNextKey(), connectivity::dbase::ONDXKey::GetRecord(), connectivity::dbase::ONDXKey::getValue(), connectivity::dbase::ONDXPage::IsLeaf(), connectivity::ORowSetValue::isNull(), m_aCurLeaf, m_aRoot, m_nCurNode, m_xIndex, and NODE_NOTFOUND.
Referenced by Find(), and GetNotNull().
sal_uInt32 OIndexIterator::Next | ( | void | ) |
Definition at line 34 of file DIndexIter.cxx.
References Find().
|
private |
Definition at line 37 of file DIndexIter.hxx.
Referenced by Find(), GetCompare(), GetFirstKey(), GetLike(), GetNextKey(), GetNotNull(), and GetNull().
|
private |
Definition at line 36 of file DIndexIter.hxx.
Referenced by Find(), GetCompare(), GetLike(), and GetNull().
|
private |
Definition at line 38 of file DIndexIter.hxx.
Referenced by Find(), GetCompare(), GetFirstKey(), GetLike(), GetNextKey(), GetNotNull(), and GetNull().
|
private |
Definition at line 34 of file DIndexIter.hxx.
Referenced by GetCompare(), and GetLike().
|
private |
Definition at line 33 of file DIndexIter.hxx.
Referenced by Find(), GetCompare(), GetFirstKey(), and GetLike().
|
private |
Definition at line 35 of file DIndexIter.hxx.
Referenced by Find(), GetCompare(), GetFirstKey(), GetLike(), GetNextKey(), and GetNull().