Skip to content

Class simtix::stat::Formula

template <class T>

ClassList > simtix > stat > Formula

Inherits the following classes: simtix::stat::StatBase

Public Types

Type Name
typedef typename T::Storage Storage

Public Functions

Type Name
Formula (Group * parent, const std::string & name, const std::string & desc, const std::string & unit)
virtual toml::table Tabularize () override const
Formula & operator= (PostfixExpr && other)

Public Functions inherited from simtix::stat::StatBase

See 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

Type Name
PostfixExpr expr_

Protected Attributes inherited from simtix::stat::StatBase

See simtix::stat::StatBase

Type Name
std::string desc_
std::string name_
Group * parent_
std::string unit_

Public Types Documentation

typedef Storage

using simtix::stat::Formula< T >::Storage =  typename T::Storage;

Public Functions Documentation

function Formula

inline explicit simtix::stat::Formula::Formula (
    Group * parent,
    const std::string & name,
    const std::string & desc,
    const std::string & unit
) 

function Tabularize

inline virtual toml::table simtix::stat::Formula::Tabularize () override const

Implements simtix::stat::StatBase::Tabularize


function operator=

inline Formula & simtix::stat::Formula::operator= (
    PostfixExpr && other
) 

Protected Attributes Documentation

variable expr_

PostfixExpr simtix::stat::Formula< T >::expr_;


The documentation for this class was generated from the following file projects/simtix/include/simtix/statistics.h