CFileDataDelete Class Reference

class CFileDataDelete : public CDataNoDelete

Provides a wrapper around a filename: the referenced file is deleted when the object is deleted.

Inherits from

Constructor & Destructor Documentation

CFileDataDelete(HBufC16 *)

CFileDataDelete ( HBufC16 * aData ) [inline]

Constructor.

Parameters

HBufC16 * aData Buffer to wrap

~CFileDataDelete()

~CFileDataDelete ( ) [inline, virtual]

Destructor.

It deletes the filename buffer and the file itself.

Member Functions Documentation

RemoveFile()

void RemoveFile ( ) [private, inline]

ResetDataPointer(HBufC16 *)

void ResetDataPointer ( HBufC16 * aData ) [inline, virtual]

Sets the filename that is wrapped.

The existing filename buffer and the file itself are deleted.

Parameters

HBufC16 * aData Buffer to wrap