34 min(initval),
max(initval),
44 min(initval),
max(initval),
49 Dprintf((
"TStat::TStat(\"%s\")",name));
58 Dprintf((
"TStat::~TStat() // \"%s\" ",
Name().c_str()));
85 Dprintf((
"TStat::Clear() // \"%s\" ",
Name().c_str()));
103 return sumxt/(double(
Time)-
t0);
void SIMLIB_error(const enum _ErrEnum N)
print error message and abort program
void SetName(const std::string &name)
assign the name
TStat(double initval=0.0)
virtual void operator()(double x)
record the value
Implementation of class CalendarList interface is static - using global functions in SQS namespace...
double max(double a, double b)
void SIMLIB_warning(const enum _ErrEnum N)
print warning message and continue
const double & Time
model time (is NOT the block)
double min(double a, double b)
Internal header file for SIMLIB/C++.
Main SIMLIB/C++ interface.
virtual std::string Name() const
get object name
virtual void Clear(double initval=0.0)
initialize