Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <f32file.h>
Link against: efsrv.lib

Class TEntryArray

class TEntryArray;

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.

Members

Defined in TEntryArray:

See also:


Construction and destruction


TEntryArray()

IMPORT_C TEntryArray();

Description

Default constructor.

Initialises its count of contained TEntry objects to zero.

[Top]


Member functions


Count()

IMPORT_C TInt Count() const;

Description

Gets the number of entries in the array.

Return value

TInt

The number of entries in the array.


operator[]()

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

Description

Gets the directory entry at the specified index.

Parameters

TInt anIndex

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

Return value

const TEntry &

On return contains the entry at the specified index.

Panic codes

FSCLIENT

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