summaryrefslogtreecommitdiff
path: root/inc/Standard_OutOfMemory.hxx
blob: bc959bf447a0c70cde336889fa9847a5e9bc4360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _Standard_OutOfMemory_HeaderFile
#define _Standard_OutOfMemory_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Standard_DefineException_HeaderFile
#include <Standard_DefineException.hxx>
#endif
#ifndef _Standard_SStream_HeaderFile
#include <Standard_SStream.hxx>
#endif

#ifndef _Standard_ProgramError_HeaderFile
#include <Standard_ProgramError.hxx>
#endif
#ifndef _Handle_Standard_OutOfMemory_HeaderFile
#include <Handle_Standard_OutOfMemory.hxx>
#endif

#if !defined No_Exception && !defined No_Standard_OutOfMemory
#define Standard_OutOfMemory_Raise_if(CONDITION,MESSAGE) \
  if (CONDITION) Standard_OutOfMemory::Raise(MESSAGE);
#else
#define Standard_OutOfMemory_Raise_if(CONDITION,MESSAGE)
#endif

DEFINE_STANDARD_EXCEPTION(Standard_OutOfMemory,Standard_ProgramError)

#endif