Open CASCADE Technology  7.1.0.beta
Data Structures | Macros

Standard_OutOfMemory.hxx File Reference

#include <Standard_Type.hxx>
#include <Standard_DefineException.hxx>
#include <Standard_SStream.hxx>
#include <Standard_ProgramError.hxx>

Data Structures

class  Standard_OutOfMemory
 Standard_OutOfMemory exception is defined explicitly and not by macro DEFINE_STANDARD_EXCEPTION, to avoid necessity of dynamic memory allocations during throwing and stack unwinding: More...
 

Macros

#define Standard_OutOfMemory_Raise_if(CONDITION, MESSAGE)   if (CONDITION) Standard_OutOfMemory::Raise(MESSAGE);
 

Macro Definition Documentation

#define Standard_OutOfMemory_Raise_if (   CONDITION,
  MESSAGE 
)    if (CONDITION) Standard_OutOfMemory::Raise(MESSAGE);