Simbody
3.4 (development)
|
#include "SimTKcommon/internal/common.h"
#include "SimTKcommon/internal/String.h"
#include "SimTKcommon/internal/Exception.h"
#include <cassert>
#include <iostream>
#include <iomanip>
#include <cstdarg>
Go to the source code of this file.
Classes | |
class | SimTK::Stage |
This class is basically a glorified enumerated type, type-safe and range checked but permitting convenient (if limited) arithmetic. More... | |
class | SimTK::Exception::RealizeTopologyMustBeCalledFirst |
class | SimTK::Exception::StateAndSystemTopologyVersionsMustMatch |
class | SimTK::Exception::StageTooLow |
class | SimTK::Exception::StageIsWrong |
class | SimTK::Exception::StageTooHigh |
class | SimTK::Exception::StageOutOfRange |
class | SimTK::Exception::CacheEntryOutOfDate |
class | SimTK::Exception::RealizeCheckFailed |
Namespaces | |
namespace | SimTK |
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols. | |
namespace | SimTK::Exception |
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 & | SimTK::operator<< (std::ostream &o, Stage g) |
#define SimTK_REALIZECHECK_ALWAYS | ( | cond, | |
stage, | |||
subsysIx, | |||
subsysName, | |||
msg | |||
) |
do{if(!(cond))SimTK_THROW4(SimTK::Exception::RealizeCheckFailed, \ (stage),(subsysIx),(subsysName),(msg)); \ }while(false)
#define SimTK_REALIZECHECK1_ALWAYS | ( | cond, | |
stage, | |||
subsysIx, | |||
subsysName, | |||
msg, | |||
a1 | |||
) |
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 | |||
) |
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 | |||
) |
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 | |||
) |
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 | |||
) |
do{if(!(cond))SimTK_THROW9(SimTK::Exception::RealizeCheckFailed, \ (stage),(subsysIx),(subsysName),(msg),(a1),(a2),(a3),(a4),(a5)); \ }while(false)