|
|
|
|
Location:
f32file.h
Link against: efsrv.lib
class TParsePtr : public TParseBase;
Parses filenames using less space on the stack than TParse.
Stores a reference to a filename, unlike TParse, which uses a 512 byte TFileName object as an internal buffer to store a copy of the filename. The filename's components
(drive, path, etc.) can be retrieved using the functions provided by the base class, TParseBase. This class should be used in preference to TParse when minimising stack usage is a priority.
TParseBase - Base class for file name parsing
TParsePtr - Parses filenames using less space on the stack than
Defined in TParsePtr:
NameBuf(), NameBufC(), TParsePtr()
Inherited from TParseBase:
AddDir(),
Drive(),
DriveAndPath(),
DrivePresent(),
Ext(),
ExtPresent(),
FullName(),
IsExtWild(),
IsKMatchAny(),
IsKMatchOne(),
IsNameWild(),
IsRoot(),
IsWild(),
Name(),
NameAndExt(),
NameOrExtPresent(),
NamePresent(),
Path(),
PathPresent(),
PopDir(),
iMod
IMPORT_C TParsePtr(TDes &aName);
Constructor taking a reference to a filename.
The specified filename is parsed and if this fails, a panic is raised.
|
|
protected: virtual IMPORT_C TDes &NameBuf();
Gets a reference to the descriptor containing the filename passed to the constructor of this object.
|
protected: virtual IMPORT_C const TDesC &NameBufC() const;
Gets a const reference to the descriptor containing the filename passed to the constructor of this object.
|