Public methods

readNextRecord

const IccBuf& readNextRecord (IccFile::ReadMode mode = IccFile::normal,
                             unsigned long* updateToken =
0)
mode
An enumeration, defined in IccFile class, that indicates the type of read request
updateToken
A returned token that is used to identify this unique update request on a subsequent rewriteRecord, deleteLockedRecord, or unlockRecord method on the file object.

Read the record that follows the current record.

Conditions

DUPKEY, ENDFILE, FILENOTFOUND, ILLOGIC, INVREQ, IOERR, ISCINVREQ, LENGERR, NOTAUTH, NOTFIND, SYSIDERR

readPreviousRecord

const IccBuf& readPreviousRecord (IccFile::ReadMode mode = IccFile::normal,
                                 unsigned long* updateToken =
0)
mode
An enumeration, defined in IccFile class, that indicates the type of read request.
updateToken
See readNextRecord.

Read the record that precedes the current record.

Conditions

DUPKEY, ENDFILE, FILENOTFOUND, ILLOGIC, INVREQ, IOERR, ISCINVREQ, LENGERR, NOTAUTH, NOTFIND, SYSIDERR

reset

void reset (IccRecordIndex* index,
           IccFile::SearchCriterion search =
IccFile::gteqToKey)
index
A pointer to the IccRecordIndex object that is being used to select a record in the file.
search
An enumeration, defined in IccFile, that indicates the criterion being used to find a search match. The default is gteqToKey.

Resets the IccFileIterator object to point to the record identified by the IccRecordIndex object and the specified search criterion.

Conditions

FILENOTFOUND, ILLOGIC, INVREQ, IOERR, ISCINVREQ, NOTAUTH, NOTFND, SYSIDERR

[[ Contents Previous Page | Next Page Index ]]