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

exotkUtils_OSD Class Reference

Utility class for OSD functions. More...

#include <exotkUtils_OSD.hxx>

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


Static Public Methods

Standard_EXPORT Standard_Boolean AddEnvironmentVariable (const TCollection_AsciiString &aName, const TCollection_AsciiString &aValue)
 Set the environment variable aName to aValue. More...

Standard_EXPORT Standard_Boolean FileExists (const TCollection_AsciiString &aFileToTest)
 Tests if aFileToTest exists. It can be a file ( C:\\where\\you\\want\\file.txt ) or a directory ( C:\where\you\want\ ). More...


Detailed Description

Utility class for OSD functions.

Author:
Stephane Routelous

Definition at line 49 of file exotkUtils_OSD.hxx.


Member Function Documentation

exotkUtils_OSD::AddEnvironmentVariable const TCollection_AsciiString &    aName,
const TCollection_AsciiString &    aValue
[static]
 

Set the environment variable aName to aValue.

Returns:
Standard_Boolean
Parameters:
aName  const TCollection_AsciiString&
aValue  const TCollection_AsciiString&

Definition at line 45 of file exotkUtils_OSD.cxx.

Referenced by exotkAF_Application::SetOpenCASCADEEnvironmentVariables().

exotkUtils_OSD::FileExists const TCollection_AsciiString &    aFileToTest [static]
 

Tests if aFileToTest exists. It can be a file ( C:\\where\\you\\want\\file.txt ) or a directory ( C:\where\you\want\ ).

Returns:
Standard_Boolean
Parameters:
aFileToTest  const TCollection_AsciiString&

Definition at line 68 of file exotkUtils_OSD.cxx.

Referenced by exotkAF_Application::SetOpenCASCADEEnvironmentVariables().

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

OCC delete.

Returns:
inline void
Parameters:
void  *anAddress

Definition at line 81 of file exotkUtils_OSD.hxx.

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

OCC new.

Returns:
inline void*
Parameters:
size_t  size

Definition at line 70 of file exotkUtils_OSD.hxx.

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

OCC new.

Returns:
inline void*
Parameters:
size_t 
void  * anAddress

Definition at line 59 of file exotkUtils_OSD.hxx.


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