Open CASCADE Technology  7.7.2
Macros
Standard_OutOfRange.hxx File Reference
#include <Standard_Type.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

#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)