TEntryArray Class Reference

#include <f32file.h>

Link against: efsrv.lib

class TEntryArray
Public Member Functions
TEntryArray()
IMPORT_C TIntCount()
IMPORT_C const TEntry &operator[](TInt)

Detailed Description

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.

See also: TEntry RDir::Read

Constructor & Destructor Documentation

TEntryArray ( )

IMPORT_CTEntryArray()

Default constructor.

Initialises its count of contained TEntry objects to zero.

Member Function Documentation

Count ( )

IMPORT_C TIntCount()const

Gets the number of entries in the array.

Returns: The number of entries in the array.

operator[] ( TInt )

IMPORT_C const TEntry &operator[](TIntanIndex)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.
ParameterDescription
anIndexIndex of the entry within the array. This value is relative to zero.

Returns: On return contains the entry at the specified index.