|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
Encapsulates an entry in a directory, which can be another (nested) directory, a file or a volume label. More...
#include <f32file.h>
Public Member Functions | |
| IMPORT_C | TEntry () |
| Default constructor. | |
| IMPORT_C | TEntry (const TEntry &aEntry) |
| Copy constructor. | |
| IMPORT_C TEntry & | operator= (const TEntry &aEntry) |
| Assignment operator. | |
| IMPORT_C TBool | IsReadOnly () const |
| Tests whether the file or directory is read-only. | |
| IMPORT_C TBool | IsHidden () const |
| Tests whether the file or directory is hidden. | |
| IMPORT_C TBool | IsSystem () const |
| Tests whether the file or directory has the system attribute set. | |
| IMPORT_C TBool | IsDir () const |
| Tests whether the entry is a directory. | |
| IMPORT_C TBool | IsArchive () const |
| Tests whether the file is an archive file. | |
| const TUid & | operator[] (TInt anIndex) const |
| Gets any one of the file's three UIDs. | |
| TBool | IsUidPresent (TUid aUid) const |
| Tests whether the specified UID matches any of the UIDs in the UID type. | |
| TBool | IsTypeValid () const |
| Test whether the file has a valid UID. | |
| TUid | MostDerivedUid () const |
| Gets the most derived (i.e. | |
| IMPORT_C TInt64 | FileSize () const |
| void | SetFileSize (TInt64 aFileSize) |
| Sets 64 bit file size. | |
Public Attributes | |
| TUint | iAtt |
| The individual bits within this byte indicate which attributes have been set. | |
| TInt | iSize |
| The size of the file in bytes. | |
| TTime | iModified |
| The local time of last modification. | |
| TUidType | iType |
| The file's UIDtype. | |
| TBufC< KMaxFileName > | iName |
| The name of the file relative to the owning directory, with a maximum of KMaxFileName characters. | |
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:
| IMPORT_C TEntry::TEntry | ( | ) |
Default constructor.
(generated from Symbian Developer Library)
| IMPORT_C TEntry::TEntry | ( | const TEntry & | aEntry | ) |
Copy constructor.
| aEntry | The TEntry object to be copied. |
(generated from Symbian Developer Library)
| IMPORT_C TInt64 TEntry::FileSize | ( | ) | const |
| IMPORT_C TBool TEntry::IsArchive | ( | ) | const |
Tests whether the file is an archive file.
KEntryAttArchive
(generated from Symbian Developer Library)
| IMPORT_C TBool TEntry::IsDir | ( | ) | const |
| IMPORT_C TBool TEntry::IsHidden | ( | ) | const |
Tests whether the file or directory is hidden.
KEntryAttHidden
(generated from Symbian Developer Library)
| IMPORT_C TBool TEntry::IsReadOnly | ( | ) | const |
Tests whether the file or directory is read-only.
KEntryAttReadOnly
(generated from Symbian Developer Library)
| IMPORT_C TBool TEntry::IsSystem | ( | ) | const |
Tests whether the file or directory has the system attribute set.
KEntryAttSystem
(generated from Symbian Developer Library)
|
inline |
Test whether the file has a valid UID.
(generated from Symbian Developer Library)
|
inline |
Tests whether the specified UID matches any of the UIDs in the UID type.
| aUid | The UID to be checked. |
(generated from Symbian Developer Library)
|
inline |
Gets the most derived (i.e.
the most specific) UID.
TUidType::MostDerived TUidType
(generated from Symbian Developer Library)
Assignment operator.
(generated from Symbian Developer Library)
|
inline |
Gets any one of the file's three UIDs.
| anIndex | Identifies the UID required. This can be zero, one or two. Specifiying any other value raises a panic. |
(generated from Symbian Developer Library)
|
inline |
Sets 64 bit file size.
The low word is stored in iSize and high word is stored in private data member iSizeHigh. This is intended to be used by File Systsem Plugin implementations, and not recommended to be called by general clients of the File Server.
(generated from Symbian Developer Library)
| TUint TEntry::iAtt |
The individual bits within this byte indicate which attributes have been set.
| TTime TEntry::iModified |
| TBufC<KMaxFileName> TEntry::iName |
| TInt TEntry::iSize |