31 #define _ERR_TXT "\nERROR, Time=%g : %s \n" 32 #define _INT_ERR_TXT "\nERROR, Time=%g : %s (file:%s line:%d)\n" 33 #define _ABORT_TXT "\n ========== Simulation aborted ========== \n" 34 #define _WARNING_TXT "\nWARNING, Time=%g : %s \n" 52 va_start(argptr, fmt);
53 vsnprintf(s,
sizeof(s), fmt, argptr);
84 va_start(argptr, fmt);
85 vsnprintf(s,
sizeof(s), fmt, argptr);
void SIMLIB_error(const enum _ErrEnum N)
print error message and abort program
int _Print(const char *fmt,...)
output of messages to stdout, too
bool SIMLIB_DynamicFlag
in dynamic section
Implementation of class CalendarList interface is static - using global functions in SQS namespace...
void SIMLIB_warning(const enum _ErrEnum N)
print warning message and continue
const double & Time
model time (is NOT the block)
Internal header file for SIMLIB/C++.
Main SIMLIB/C++ interface.
SIMLIB_Phase_t SIMLIB_Phase
const char * _ErrMsg(enum _ErrEnum N)