Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::FileOutputWindow Class Reference
[OS System Objects]

Messages sent from the system are sent to a file. More...

#include <itkFileOutputWindow.h>

Inheritance diagram for itk::FileOutputWindow:

Inheritance graph
[legend]
Collaboration diagram for itk::FileOutputWindow:

Collaboration graph
[legend]
List of all members.

Public Types

typedef FileOutputWindow Self
typedef OutputWindow Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Public Methods

virtual const char * GetClassName () const
virtual void DisplayText (const char *)
virtual void SetFileName (const char *_arg)
virtual const char * GetFileName () const
virtual void SetFlush (bool _arg)
virtual bool GetFlush ()
virtual void FlushOn ()
virtual void FlushOff ()
virtual void SetAppend (bool _arg)
virtual bool GetAppend ()
virtual void AppendOn ()
virtual void AppendOff ()

Static Public Methods

Pointer New ()

Protected Methods

 FileOutputWindow ()
virtual ~FileOutputWindow ()
virtual void PrintSelf (std::ostream &os, Indent indent) const
void Initialize ()

Protected Attributes

std::ofstream * m_Stream
std::string m_FileName
bool m_Flush
bool m_Append

Detailed Description

Messages sent from the system are sent to a file.

Text messages that the system should display to the user are sent to this object (or subclasses of this object) and are logged to a file.

Definition at line 36 of file itkFileOutputWindow.h.


Member Typedef Documentation

typedef SmartPointer<const Self> itk::FileOutputWindow::ConstPointer
 

Reimplemented from itk::OutputWindow.

Reimplemented in itk::XMLFileOutputWindow.

Definition at line 43 of file itkFileOutputWindow.h.

typedef SmartPointer<Self> itk::FileOutputWindow::Pointer
 

Reimplemented from itk::OutputWindow.

Reimplemented in itk::XMLFileOutputWindow.

Definition at line 42 of file itkFileOutputWindow.h.

typedef FileOutputWindow itk::FileOutputWindow::Self
 

Standard class typedefs.

Reimplemented from itk::OutputWindow.

Reimplemented in itk::XMLFileOutputWindow.

Definition at line 40 of file itkFileOutputWindow.h.

typedef OutputWindow itk::FileOutputWindow::Superclass
 

Reimplemented from itk::OutputWindow.

Reimplemented in itk::XMLFileOutputWindow.

Definition at line 41 of file itkFileOutputWindow.h.


Constructor & Destructor Documentation

itk::FileOutputWindow::FileOutputWindow   [protected]
 

virtual itk::FileOutputWindow::~FileOutputWindow   [protected, virtual]
 


Member Function Documentation

virtual void itk::FileOutputWindow::AppendOff   [virtual]
 

Setting append will cause the log file to be opened in append mode. Otherwise, if the log file exists, it will be overwritten each time the FileOutputWindow is created.

virtual void itk::FileOutputWindow::AppendOn   [virtual]
 

Setting append will cause the log file to be opened in append mode. Otherwise, if the log file exists, it will be overwritten each time the FileOutputWindow is created.

virtual void itk::FileOutputWindow::DisplayText const char *    [virtual]
 

Send a string to display.

Reimplemented from itk::OutputWindow.

Reimplemented in itk::XMLFileOutputWindow.

virtual void itk::FileOutputWindow::FlushOff   [virtual]
 

Set/Get the buffer flushing mode

virtual void itk::FileOutputWindow::FlushOn   [virtual]
 

Set/Get the buffer flushing mode

virtual bool itk::FileOutputWindow::GetAppend   [virtual]
 

Setting append will cause the log file to be opened in append mode. Otherwise, if the log file exists, it will be overwritten each time the FileOutputWindow is created.

virtual const char* itk::FileOutputWindow::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::OutputWindow.

Reimplemented in itk::XMLFileOutputWindow.

virtual const char* itk::FileOutputWindow::GetFileName   const [virtual]
 

Get the filename for the log file

virtual bool itk::FileOutputWindow::GetFlush   [virtual]
 

Set/Get the buffer flushing mode

void itk::FileOutputWindow::Initialize   [protected]
 

Reimplemented in itk::XMLFileOutputWindow.

Pointer itk::FileOutputWindow::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::OutputWindow.

Reimplemented in itk::XMLFileOutputWindow.

virtual void itk::FileOutputWindow::PrintSelf std::ostream &    os,
Indent    indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::OutputWindow.

Reimplemented in itk::XMLFileOutputWindow.

virtual void itk::FileOutputWindow::SetAppend bool    _arg [virtual]
 

Setting append will cause the log file to be opened in append mode. Otherwise, if the log file exists, it will be overwritten each time the FileOutputWindow is created.

virtual void itk::FileOutputWindow::SetFileName const char *    _arg [virtual]
 

Set the filename for the log file

virtual void itk::FileOutputWindow::SetFlush bool    _arg [virtual]
 

Set/Get the buffer flushing mode


Member Data Documentation

bool itk::FileOutputWindow::m_Append [protected]
 

Definition at line 84 of file itkFileOutputWindow.h.

std::string itk::FileOutputWindow::m_FileName [protected]
 

Definition at line 82 of file itkFileOutputWindow.h.

bool itk::FileOutputWindow::m_Flush [protected]
 

Definition at line 83 of file itkFileOutputWindow.h.

std::ofstream* itk::FileOutputWindow::m_Stream [protected]
 

Definition at line 81 of file itkFileOutputWindow.h.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:26:20 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000