Open CASCADE Technology  7.5.0
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) throw Standard_OutOfMemory(MESSAGE);
 

Macro Definition Documentation

◆ Standard_OutOfMemory_Raise_if

#define Standard_OutOfMemory_Raise_if (   CONDITION,
  MESSAGE 
)    if (CONDITION) throw Standard_OutOfMemory(MESSAGE);