TParse Class Reference

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.

Inherits from

Constructor & Destructor Documentation

TParse()

IMPORT_CTParse()

Member Functions Documentation

NameBuf()

IMPORT_C TDes &NameBuf()[protected, virtual]

NameBufC()

IMPORT_C const TDesC &NameBufC()const [protected, virtual]

Set(const TDesC &, const TDesC *, const TDesC *)

IMPORT_C TIntSet(const TDesC &aName,
const TDesC *aRelated,
const TDesC *aDefault
)

Parameters

const TDesC & aName
const TDesC * aRelated
const TDesC * aDefault

SetNoWild(const TDesC &, const TDesC *, const TDesC *)

IMPORT_C TIntSetNoWild(const TDesC &aName,
const TDesC *aRelated,
const TDesC *aDefault
)

Parameters

const TDesC & aName
const TDesC * aRelated
const TDesC * aDefault

Member Data Documentation

TFileName iNameBuf

TFileName iNameBuf[private]