CFileForwarder Class Reference

Inherits MResultViewer.

List of all members.

Public Member Functions

void ConstructL (const TDesC &logFileName=KDefaultLogFile)
virtual TPtr GetViewBuffer ()
virtual void UpdateView ()

Detailed Description

Definition at line 206 of file DescriptorExamples.h.


Member Function Documentation

void CFileForwarder::ConstructL ( const TDesC &  logFileName = KDefaultLogFile  ) 

Construct an instance of the MResultViewer that writes contents to the file specified by logFileName parameter. The file is opened at the construction time and kept open until object is destroyed.

Parameters:
logFileName file name where contents are written.

Definition at line 14 of file FileForwarder.cpp.

TPtr CFileForwarder::GetViewBuffer (  )  [virtual]

Returns a modifiable descriptor to the internal buffer.

See also:
MResultViewer::GetViewBuffer().

Implements MResultViewer.

Definition at line 41 of file FileForwarder.cpp.

void CFileForwarder::UpdateView (  )  [virtual]

Flushes the text to the file and resets the internal buffer.

See also:
MResultViewer::UpdateView().

Implements MResultViewer.

Definition at line 49 of file FileForwarder.cpp.


Generated by  doxygen 1.6.2