Open CASCADE Technology  7.5.0
Macros
Standard_OutOfRange.hxx File Reference
#include <Standard_Type.hxx>
#include <Standard_DefineException.hxx>
#include <Standard_SStream.hxx>
#include <Standard_RangeError.hxx>

Macros

#define Standard_OutOfRange_Always_Raise_if(CONDITION, MESSAGE)   if (CONDITION) throw Standard_OutOfRange(MESSAGE);
 
#define Standard_OutOfRange_Raise_if(CONDITION, MESSAGE)   Standard_OutOfRange_Always_Raise_if(CONDITION, MESSAGE)
 

Macro Definition Documentation

◆ Standard_OutOfRange_Always_Raise_if

#define Standard_OutOfRange_Always_Raise_if (   CONDITION,
  MESSAGE 
)    if (CONDITION) throw Standard_OutOfRange(MESSAGE);

◆ Standard_OutOfRange_Raise_if

#define Standard_OutOfRange_Raise_if (   CONDITION,
  MESSAGE 
)    Standard_OutOfRange_Always_Raise_if(CONDITION, MESSAGE)