CFileDataDelete Class Reference

#include <mw/cnode.h>

Link against: xmlelemt.lib

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.

ParameterDescription
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.

ParameterDescription
aDataBuffer to wrap