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

exotkTrace_File Class Reference

class to handle trace on a file. More...

#include <exotkTrace_File.hxx>

Inheritance diagram for exotkTrace_File:

Inheritance graph
[legend]
Collaboration diagram for exotkTrace_File:

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_File ()
 Constructor. More...

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

virtual Standard_EXPORT void SetFilename (const OSD_Path &aFilename)
 Set the file. More...

virtual Standard_EXPORT void GenerateFilename (const Standard_CString aSeed, const OSD_Directory &aDirectory)
 Generate a file using aSeed in aDirectory. More...

virtual Standard_EXPORT Standard_Boolean IsValid ()
 Retur ntrue if the handler is valid. More...


Protected Methods

virtual Standard_EXPORT void Print (const enum exotkTrace_Level aLevel, const Standard_CString aString)
 Really write aString in the file. More...


Protected Attributes

OSD_Path myFilename

Detailed Description

class to handle trace on a file.

Author:
Stephane Routelous

Definition at line 52 of file exotkTrace_File.hxx.


Constructor & Destructor Documentation

exotkTrace_File::exotkTrace_File  
 

Constructor.

Definition at line 84 of file exotkTrace_File.cxx.

exotkTrace_File::~exotkTrace_File   [virtual]
 

Destructor.

Definition at line 96 of file exotkTrace_File.cxx.


Member Function Documentation

exotkTrace_File::GenerateFilename const Standard_CString    aSeed,
const OSD_Directory &    aDirectory
[virtual]
 

Generate a file using aSeed in aDirectory.

Parameters:
const  Standard_CString aSeed
const  OSD_Directory& aDirectory

Definition at line 156 of file exotkTrace_File.cxx.

References exotkUtils::CurrentDateToAsciiString(), exotkUtils_dfFile, and myFilename.

exotkTrace_File::IsValid   [virtual]
 

Retur ntrue if the handler is valid.

Returns:
Standard_Boolean

Reimplemented from exotkTrace_Root.

Definition at line 128 of file exotkTrace_File.cxx.

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

OCC delete.

Returns:
inline void
Parameters:
void  *anAddress

Reimplemented from exotkTrace_Root.

Definition at line 85 of file exotkTrace_File.hxx.

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

OCC new.

Returns:
inline void*
Parameters:
size_t  size

Reimplemented from exotkTrace_Root.

Definition at line 74 of file exotkTrace_File.hxx.

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

OCC new.

Returns:
inline void*
Parameters:
size_t 
void  * anAddress

Reimplemented from exotkTrace_Root.

Definition at line 63 of file exotkTrace_File.hxx.

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

Really write aString in the file.

Parameters:
aLevel  const enum exotkTrace_Level
aString  const Standard_CString

Reimplemented from exotkTrace_Root.

Definition at line 109 of file exotkTrace_File.cxx.

References exotkUtils::CurrentDateToAsciiString(), exotkUtils_dfText, myFilename, and exotkTrace::TraceLevelToAsciiString().

exotkTrace_File::SetFilename const OSD_Path &    aFilename [virtual]
 

Set the file.

Parameters:
aFilename  const OSD_Path&

Definition at line 142 of file exotkTrace_File.cxx.

References myFilename.


Member Data Documentation

OSD_Path exotkTrace_File::myFilename [protected]
 

the filename

Definition at line 135 of file exotkTrace_File.hxx.

Referenced by GenerateFilename(), Print(), and SetFilename().


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