Location:
f32file.h
Link against: efsrv.lib
TEntry
Supported from 5.0
Directory entry. This class encapsulates a single directory entry for a file or directory. Each file and 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 attributes:
the kind of entry
its size
the time it 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 KEntryAttNormal
or the
other file/directory attributes.
TBufC<KMaxFileName> iName
Name of file relative to the owning directory, with a maximum
ofKMaxFileName
(= 256) characters.
TUidType iType
Extraction and enquiry functions for a file’s UIDs