Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

bool IFR_FetchChunk::move ( int  relativepos  ) 

Moves the position inside the chunk by a relative offset.

relativepos the relative moving offset.
true if it was moved, false otherwise.

Definition at line 286 of file IFR_FetchChunk.cpp.

References m_ChunkSize, m_CurrentOffset, and unsafeMove().

Referenced by IFR_ResultSet::mfNext().

  if ((m_CurrentOffset + relativepos < 0) || 
      (m_CurrentOffset + relativepos >= m_ChunkSize)) {
    return false;
  } else {
    unsafeMove (relativepos);
    return true;

Generated by  Doxygen 1.6.0   Back to index