class TParse : public TParseBase |
Parses filenames.
The class uses the full filename structure supported by Symbian OS.
TParse works by using the Set() function to set up the filename to be parsed. Then, various getter functions defined in the base class, TParseBase, such as: FullName(), Drive(), Path(), DriveAndPath(), Name(), Ext() and NameAndExt() may be used to retrieve path components.
There are a number of restrictions to valid path components, which are described in guide documentation.
Public Member Functions | |
---|---|
TParse() | |
IMPORT_C TInt | Set(const TDesC &, const TDesC *, const TDesC *) |
IMPORT_C TInt | SetNoWild(const TDesC &, const TDesC *, const TDesC *) |
Protected Member Functions | |
---|---|
IMPORT_C TDes & | NameBuf() |
IMPORT_C const TDesC & | NameBufC() |
Private Attributes | |
---|---|
TFileName | iNameBuf |
Inherited Attributes | |
---|---|
TParseBase::iMod |
IMPORT_C TInt | Set | ( | const TDesC & | aName, |
const TDesC * | aRelated, | |||
const TDesC * | aDefault | |||
) |
IMPORT_C TInt | SetNoWild | ( | const TDesC & | aName, |
const TDesC * | aRelated, | |||
const TDesC * | aDefault | |||
) |