CFileDataDelete Class Reference

#include <mw/cnode.h>

class CFileDataDelete : public CDataNoDelete

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

CFileDataDelete ( HBufC16 * )

CFileDataDelete(HBufC16 *aData)[inline]

Constructor.

Parameters
aDataBuffer to wrap

~CFileDataDelete ( )

~CFileDataDelete()[inline, virtual]

Destructor.

It deletes the filename buffer and the file itself.

Member Function Documentation

ResetDataPointer ( HBufC16 * )

voidResetDataPointer(HBufC16 *aData)[inline, virtual]

Reimplemented from CDataNoDelete::ResetDataPointer(HBufC16 *)

Sets the filename that is wrapped.

The existing filename buffer and the file itself are deleted.

Parameters
aDataBuffer to wrap