#include "SimTKcommon/internal/common.h"
#include "SimTKcommon/internal/String.h"
#include "SimTKcommon/internal/Exception.h"
#include "SimTKcommon/internal/Enumeration.h"
#include <cassert>
#include <iostream>
#include <iomanip>
#include <cstdarg>
Go to the source code of this file.
Namespaces | |
namespace | SimTK |
namespace | SimTK::Exception |
Classes | |
class | Stage |
This class is basically a glorified enumerated type, type-safe and range checked but permitting convenient (if limited) arithmetic. More... | |
class | RealizeTopologyMustBeCalledFirst |
class | StageTooLow |
class | StageIsWrong |
class | StageTooHigh |
class | StageOutOfRange |
class | RealizeCheckFailed |
Defines | |
#define | SimTK_REALIZECHECK_ALWAYS(cond, stage, subsysIx, subsysName, msg) |
#define | SimTK_REALIZECHECK1_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1) |
#define | SimTK_REALIZECHECK2_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1, a2) |
#define | SimTK_REALIZECHECK3_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1, a2, a3) |
#define | SimTK_REALIZECHECK4_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1, a2, a3, a4) |
#define | SimTK_REALIZECHECK5_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1, a2, a3, a4, a5) |
Functions | |
std::ostream & | operator<< (std::ostream &o, Stage g) |
#define SimTK_REALIZECHECK1_ALWAYS | ( | cond, | |||
stage, | |||||
subsysIx, | |||||
subsysName, | |||||
msg, | |||||
a1 | ) |
Value:
do{if(!(cond))SimTK_THROW5(SimTK::Exception::RealizeCheckFailed, \ (stage),(subsysIx),(subsysName),(msg),(a1)); \ }while(false)
#define SimTK_REALIZECHECK2_ALWAYS | ( | cond, | |||
stage, | |||||
subsysIx, | |||||
subsysName, | |||||
msg, | |||||
a1, | |||||
a2 | ) |
Value:
do{if(!(cond))SimTK_THROW6(SimTK::Exception::RealizeCheckFailed, \ (stage),(subsysIx),(subsysName),(msg),(a1),(a2)); \ }while(false)
#define SimTK_REALIZECHECK3_ALWAYS | ( | cond, | |||
stage, | |||||
subsysIx, | |||||
subsysName, | |||||
msg, | |||||
a1, | |||||
a2, | |||||
a3 | ) |
Value:
do{if(!(cond))SimTK_THROW7(SimTK::Exception::RealizeCheckFailed, \ (stage),(subsysIx),(subsysName),(msg),(a1),(a2),(a3)); \ }while(false)
#define SimTK_REALIZECHECK4_ALWAYS | ( | cond, | |||
stage, | |||||
subsysIx, | |||||
subsysName, | |||||
msg, | |||||
a1, | |||||
a2, | |||||
a3, | |||||
a4 | ) |
Value:
do{if(!(cond))SimTK_THROW8(SimTK::Exception::RealizeCheckFailed, \ (stage),(subsysIx),(subsysName),(msg),(a1),(a2),(a3),(a4)); \ }while(false)
#define SimTK_REALIZECHECK5_ALWAYS | ( | cond, | |||
stage, | |||||
subsysIx, | |||||
subsysName, | |||||
msg, | |||||
a1, | |||||
a2, | |||||
a3, | |||||
a4, | |||||
a5 | ) |
Value:
do{if(!(cond))SimTK_THROW9(SimTK::Exception::RealizeCheckFailed, \ (stage),(subsysIx),(subsysName),(msg),(a1),(a2),(a3),(a4),(a5)); \ }while(false)
#define SimTK_REALIZECHECK_ALWAYS | ( | cond, | |||
stage, | |||||
subsysIx, | |||||
subsysName, | |||||
msg | ) |
Value:
do{if(!(cond))SimTK_THROW4(SimTK::Exception::RealizeCheckFailed, \ (stage),(subsysIx),(subsysName),(msg)); \ }while(false)