class TDriveUnit |
Drive numbers and letters.
A drive may be represented by either an integer between zero and twenty five inclusive, or by a buffer descriptor containing a character between "A" and "Z" inclusive, followed by a colon. This class encapsulates both representations. An instance of this class is constructed specifying either the drive number or the drive letter and may be converted between the two representations.
Public Member Functions | |
---|---|
TDriveUnit() | |
TDriveUnit(TInt) | |
TDriveUnit(const TDesC &) | |
IMPORT_C TDriveName | Name() |
operator TInt() | |
IMPORT_C TDriveUnit & | operator=(TInt) |
IMPORT_C TDriveUnit & | operator=(const TDesC &) |
Private Attributes | |
---|---|
TInt | iDrive |
IMPORT_C TDriveUnit & | operator= | ( | const TDesC & | aDrive | ) |
const TDesC & aDrive |