|
|
|
Location:
f32file.h
Link against: efsrv.lib
TEntry
Supported from 5.0
Encapsulates an entry in a directory, which can be another (nested) directory, a file or a volume label. Each directory entry has a name which is relative to its owning directory and a type, which is indicated by its unique identifier (UID).
An entry can be interrogated for the following properties:
the kind of entry: stored in the entry UIDs, stored in iType
the entry attributes, stored in iAtt
the size of entry
the time the entry was last modified
Defined in TEntry:
IsArchive(), IsDir(), IsHidden(), IsReadOnly(), IsSystem(), IsTypeValid(), IsUidPresent(), MostDerivedUid(), iAtt, iModified, iName, iSize, iType, operator[]()
TBool IsReadOnly() const;
Tests whether the file or directory is read-only.
|
TBool IsHidden() const;
Tests whether the file or directory is hidden.
|
TBool IsSystem() const;
Tests whether the file or directory has the system attribute set.
|
TBool IsDir() const;
Tests whether the entry is a directory.
|
TBool IsArchive() const;
Tests whether the file is an archive file.
|
const TUid& operator[](TInt anIndex) const;
Returns any one of the file’s three UIDs.
|
|
TBool IsUidPresent(TUid aUid) const;
Tests whether a UID is present in any of the three forms.
|
|
TBool IsTypeValid() const;
Test whether the file has any UID which is not NULL.
|
TUid MostDerivedUid() const;
Gets the most derived (i.e. most specific) UID.
|
TUint iAtt
The individual bits within this byte indicate which attributes have been set. For more information see file or directory attributes and file or directory attributes'>directory entry details.
TBufC<KMaxFileName> iName
Name of file relative to the owning directory, with a maximum
of KMaxFileName (= 256) characters.
TUidType iType
Extraction and enquiry functions for a file’s UIDs.