TEntryArray Class Reference

class TEntryArray

Array of directory entries.

It contains the results of a call to RDir::Read() : it will contain all the TEntry items in the directory. Thus, a directory can be read in a single call, minimising client/server communication overheads.

TEntry RDir::Read

Constructor & Destructor Documentation

TEntryArray()

IMPORT_C TEntryArray ( )

Default constructor.

Initialises its count of contained TEntry objects to zero.

Member Functions Documentation

Count()

IMPORT_C TInt Count ( ) const

Gets the number of entries in the array.

operator[](TInt)

IMPORT_C const TEntry & operator[] ( TInt anIndex ) const

Gets the directory entry at the specified index.

panic
FSCLIENT 22 if anIndex is greater than or equal to the number of elements in the array.

Parameters

TInt anIndex Index of the entry within the array. This value is relative to zero.

Member Data Documentation

TBuf8< KEntryArraySize > iBuf

TBuf8 < KEntryArraySize > iBuf [private]

TInt iCount

TInt iCount [private]

TInt iIndex

TInt iIndex [private]

const TEntry * iPos

const TEntry * iPos [private]