TParsePtrC Class Reference

class TParsePtrC : public TParseBase

Parses, but cannot modify, 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. Note that because the filename cannot be modified through this class, the base class functions PopDir() and AddDir() cannot be called, because a panic will be raised.

TParse

TFileName

Inherits from

Constructor & Destructor Documentation

TParsePtrC(const TDesC &)

IMPORT_CTParsePtrC(const TDesC &aName)

Parameters

const TDesC & aName

Member Functions Documentation

NameBuf()

IMPORT_C TDes &NameBuf()[protected, virtual]

NameBufC()

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

Member Data Documentation

TPtrC iNameBuf

TPtrC iNameBuf[private]