Lines Matching refs:nRow

62 sal_Int32 nRow = m_nRow;								\
65 if( !m_aCache.hasRow( nRow ) ) \
67 if( !m_aCache.hasCausedException( nRow ) ) \
76 applyPositionToOrigin( nRow ); \
78 impl_fetchData( nRow, nFetchSize, nFetchDirection ); \
81 if( !m_aCache.hasRow( nRow ) ) \
85 applyPositionToOrigin( nRow ); \
90 const Any& rValue = m_aCache.getAny( nRow, columnIndex );\
198 ::hasCausedException( sal_Int32 nRow ) in hasCausedException() argument
209 return nRow == nEnd+1; in hasCausedException()
213 ::getRowAny( sal_Int32 nRow ) in getRowAny() argument
217 if( !nRow ) in getRowAny()
221 if( !hasRow( nRow ) ) in getRowAny()
224 long nDiff = nRow - m_pResult->StartIndex; in getRowAny()
232 ::remindMapped( sal_Int32 nRow ) in remindMapped() argument
237 long nDiff = nRow - m_pResult->StartIndex; in remindMapped()
246 ::isRowMapped( sal_Int32 nRow ) in isRowMapped() argument
250 long nDiff = nRow - m_pResult->StartIndex; in isRowMapped()
279 ::getAny( sal_Int32 nRow, sal_Int32 nColumnIndex ) in getAny() argument
285 if( m_xContentIdentifierMapping.is() && !isRowMapped( nRow ) ) in getAny()
287 Any& rRow = getRowAny( nRow ); in getAny()
293 remindMapped( nRow ); in getAny()
300 (getRowAny( nRow ).getValue() )); in getAny()
308 ::getContentIdentifierString( sal_Int32 nRow ) in getContentIdentifierString() argument
313 if( m_xContentIdentifierMapping.is() && !isRowMapped( nRow ) ) in getContentIdentifierString()
315 Any& rRow = getRowAny( nRow ); in getContentIdentifierString()
319 remindMapped( nRow ); in getContentIdentifierString()
322 (getRowAny( nRow ).getValue() )); in getContentIdentifierString()
331 ::getContentIdentifier( sal_Int32 nRow ) in getContentIdentifier() argument
336 if( m_xContentIdentifierMapping.is() && !isRowMapped( nRow ) ) in getContentIdentifier()
338 Any& rRow = getRowAny( nRow ); in getContentIdentifier()
342 remindMapped( nRow ); in getContentIdentifier()
345 (getRowAny( nRow ).getValue() )); in getContentIdentifier()
354 ::getContent( sal_Int32 nRow ) in getContent() argument
359 if( m_xContentIdentifierMapping.is() && !isRowMapped( nRow ) ) in getContent()
361 Any& rRow = getRowAny( nRow ); in getContent()
365 remindMapped( nRow ); in getContent()
368 (getRowAny( nRow ).getValue() )); in getContent()
708 ::applyPositionToOrigin( sal_Int32 nRow ) in applyPositionToOrigin() argument
721 OSL_ENSURE( nRow >= 0, "only positive values supported" ); in applyPositionToOrigin()
736 if( bAfterLastApplied || nLastAppliedPos != nRow ) in applyPositionToOrigin()
740 if( bAfterLastApplied || bAfterLast || !nRow || nRow < nLastAppliedPos ) in applyPositionToOrigin()
743 sal_Int32 nN = nRow - nLastAppliedPos; in applyPositionToOrigin()
753 m_bAfterLastApplied = nRow != m_nLastAppliedPos; in applyPositionToOrigin()
754 return nRow == m_nLastAppliedPos; in applyPositionToOrigin()
757 if( !nRow ) //absolute( 0 ) will throw exception in applyPositionToOrigin()
772 sal_Bool bValid = m_xResultSetOrigin->absolute( nRow ); in applyPositionToOrigin()
775 m_nLastAppliedPos = nRow; in applyPositionToOrigin()
781 sal_Bool bValid = m_xResultSetOrigin->relative( nRow - nLastAppliedPos ); in applyPositionToOrigin()
784 m_nLastAppliedPos += ( nRow - nLastAppliedPos ); in applyPositionToOrigin()
791 if( !bAfterLastApplied && !bAfterLast && nRow > nLastAppliedPos && impl_isForwardOnly() ) in applyPositionToOrigin()
793 sal_Int32 nN = nRow - nLastAppliedPos; in applyPositionToOrigin()
803 m_bAfterLastApplied = nRow != m_nLastAppliedPos; in applyPositionToOrigin()
809 return nRow == m_nLastAppliedPos; in applyPositionToOrigin()
824 fetchInterface->fetchMethod( nRow, nFetchSize, bDirection ); \
838 ::impl_fetchData( sal_Int32 nRow in impl_fetchData() argument
892 ::impl_isKnownValidPosition( sal_Int32 nRow ) in impl_isKnownValidPosition() argument
894 return m_nKnownCount && nRow in impl_isKnownValidPosition()
895 && nRow <= m_nKnownCount; in impl_isKnownValidPosition()
899 ::impl_isKnownInvalidPosition( sal_Int32 nRow ) in impl_isKnownInvalidPosition() argument
901 if( !nRow ) in impl_isKnownInvalidPosition()
905 return nRow > m_nKnownCount; in impl_isKnownInvalidPosition()
1258 sal_Int32 nRow = m_nRow; \
1261 if( !m_aCache##XXX.hasRow( nRow ) ) \
1263 if( !m_aCache##XXX.hasCausedException( nRow ) ) \
1272 applyPositionToOrigin( nRow ); \
1277 if( !m_aCache##XXX.hasRow( nRow ) ) \
1280 applyPositionToOrigin( nRow ); \
1287 return m_aCache##XXX.get##XXX( nRow );
1350 sal_Int32 nRow = m_nRow; in next() local
1353 sal_Bool bValid = applyPositionToOrigin( nRow + 1 ); in next()
1356 m_nRow = nRow + 1; in next()
1391 sal_Int32 nRow = m_nRow; in previous() local
1394 sal_Bool bValid = applyPositionToOrigin( nRow - 1 ); in previous()
1397 m_nRow = nRow - 1; in previous()
1769 sal_Int32 nRow = 0; in isFirst() local
1783 nRow = m_nRow; in isFirst()
1789 if( applyPositionToOrigin( nRow ) ) in isFirst()
1804 sal_Int32 nRow = 0; in isLast() local
1815 nRow = m_nRow; in isLast()
1821 if( applyPositionToOrigin( nRow ) ) in isLast()
2066 sal_Int32 nRow = m_nRow; in getObject() local
2069 if( !m_aCache.hasRow( nRow ) ) in getObject()
2071 if( !m_aCache.hasCausedException( nRow ) ) in getObject()
2080 impl_fetchData( nRow, nFetchSize, nFetchDirection ); in getObject()
2083 if( !m_aCache.hasRow( nRow ) ) in getObject()
2087 applyPositionToOrigin( nRow ); in getObject()
2093 const Any& rValue = m_aCache.getAny( nRow, columnIndex ); in getObject()