Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkTrace_OStream Class Reference

Handler for an OStream output ( like cout ). More...

#include <exotkTrace_OStream.hxx>

Inheritance diagram for exotkTrace_OStream:

Inheritance graph
[legend]
Collaboration diagram for exotkTrace_OStream:

Collaboration graph
[legend]
List of all members.

Public Methods

void * operator new (size_t, void *anAddress)
 OCC new. More...

void * operator new (size_t size)
 OCC new. More...

void operator delete (void *anAddress)
 OCC delete. More...

Standard_EXPORT exotkTrace_OStream ()
 Constructor. More...

virtual Standard_EXPORT ~exotkTrace_OStream ()
 Destructor. More...

Standard_EXPORT void SetOStream (Standard_OStream &aStream)
 Set the stream. More...

virtual Standard_EXPORT Standard_Boolean IsValid ()
 Return validity. More...


Protected Methods

virtual Standard_EXPORT void Print (const enum exotkTrace_Level aLevel, const Standard_CString aString)
 Print the string on the stream. More...


Private Attributes

Standard_OStream * myOStream

Detailed Description

Handler for an OStream output ( like cout ).

Author:
Stephane Routelous

Definition at line 47 of file exotkTrace_OStream.hxx.


Constructor & Destructor Documentation

exotkTrace_OStream::exotkTrace_OStream  
 

Constructor.

Definition at line 60 of file exotkTrace_OStream.cxx.

References myOStream.

exotkTrace_OStream::~exotkTrace_OStream   [virtual]
 

Destructor.

Definition at line 73 of file exotkTrace_OStream.cxx.


Member Function Documentation

exotkTrace_OStream::IsValid   [virtual]
 

Return validity.

Returns:
Standard_Boolean

Reimplemented from exotkTrace_Root.

Definition at line 98 of file exotkTrace_OStream.cxx.

References myOStream.

void exotkTrace_OStream::operator delete void *    anAddress [inline]
 

OCC delete.

Returns:
inline void
Parameters:
void  *anAddress

Reimplemented from exotkTrace_Root.

Definition at line 80 of file exotkTrace_OStream.hxx.

void * exotkTrace_OStream::operator new size_t    size [inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t  size

Reimplemented from exotkTrace_Root.

Definition at line 69 of file exotkTrace_OStream.hxx.

void * exotkTrace_OStream::operator new size_t   ,
void *    anAddress
[inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t 
void  * anAddress

Reimplemented from exotkTrace_Root.

Definition at line 58 of file exotkTrace_OStream.hxx.

exotkTrace_OStream::Print const enum exotkTrace_Level    aLevel,
const Standard_CString    aString
[protected, virtual]
 

Print the string on the stream.

Parameters:
aLevel  const enum exotkTrace_Level
aString  const Standard_CString

Reimplemented from exotkTrace_Root.

Definition at line 112 of file exotkTrace_OStream.cxx.

exotkTrace_OStream::SetOStream Standard_OStream &    aStream
 

Set the stream.

Parameters:
Standard_OStream  & aStream

Definition at line 86 of file exotkTrace_OStream.cxx.

References myOStream.


Member Data Documentation

Standard_OStream* exotkTrace_OStream::myOStream [private]
 

the stream

Definition at line 123 of file exotkTrace_OStream.hxx.

Referenced by exotkTrace_OStream(), IsValid(), and SetOStream().


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 12:18:38 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001