TParsePtr Class Reference

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.

TParse

TFileName

Inherits from

Constructor & Destructor Documentation

TParsePtr(TDes &)

IMPORT_CTParsePtr(TDes &aName)

Parameters

TDes & aName

Member Functions Documentation

NameBuf()

IMPORT_C TDes &NameBuf()[protected, virtual]

NameBufC()

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

Member Data Documentation

TPtr iNameBuf

TPtr iNameBuf[private]