Class simtix::stat::ScalarBase
ClassList > simtix > stat > ScalarBase
Inherits the following classes: simtix::stat::StatBase
Inherited by the following classes: simtix::stat::Scalar, simtix::stat::Vector::Reduction
Public Functions
Type | Name |
---|---|
ScalarBase (double constant) Implicit conversion from double makes this ScalarBase become a constant. cppcheck-suppress noExplicitConstructor. |
|
ScalarBase (Group * parent, const std::string & name, const std::string & desc, const std::string & unit) |
|
bool | is_constant () const |
operator PostfixExpr () const |
|
virtual | operator double () const |
virtual | operator int64_t () const |
PostfixExpr | operator* (const ScalarBase & rhs) |
PostfixExpr | operator* (const PostfixExpr & rhs) |
PostfixExpr | operator+ (const ScalarBase & rhs) Operations to produce a expr (s <op> s) |
PostfixExpr | operator+ (const PostfixExpr & rhs) Operations to produce a expr (s <op> f) |
PostfixExpr | operator- (const ScalarBase & rhs) |
PostfixExpr | operator- (const PostfixExpr & rhs) |
PostfixExpr | operator/ (const ScalarBase & rhs) |
PostfixExpr | operator/ (const PostfixExpr & rhs) |
Public Functions inherited from simtix::stat::StatBase
Type | Name |
---|---|
StatBase (Group * parent, const std::string & name, const std::string & desc, const std::string & unit) Register itself to the parent if any exist. |
|
virtual toml::table | Tabularize () const = 0 |
const std::string & | desc () const |
const std::string & | name () const |
const std::string & | unit () const |
Protected Attributes inherited from simtix::stat::StatBase
Type | Name |
---|---|
std::string | desc_ |
std::string | name_ |
Group * | parent_ |
std::string | unit_ |
Public Functions Documentation
function ScalarBase [1/2]
Implicit conversion from double makes this ScalarBase become a constant. cppcheck-suppress noExplicitConstructor.
function ScalarBase [2/2]
inline explicit simtix::stat::ScalarBase::ScalarBase (
Group * parent,
const std::string & name,
const std::string & desc,
const std::string & unit
)
function is_constant
function operator PostfixExpr
function operator double
function operator int64_t
function operator*
function operator*
function operator+
Operations to produce a expr (s <op> s)
function operator+
Operations to produce a expr (s <op> f)
function operator-
function operator-
function operator/
function operator/
The documentation for this class was generated from the following file projects/simtix/include/simtix/statistics.h