|
| Vector (Group *parent=nullptr) |
|
| Vector (Group *parent, const char *name, const char *desc=nullptr) |
|
| Vector (Group *parent, const char *name, const units::Base *unit, const char *desc=nullptr) |
|
void | value (VCounter &vec) const |
|
void | result (VResult &vec) const |
| Copy the values to a local vector and return a reference to it.
|
|
Result | total () const |
| Return a total of all entries in this vector.
|
|
size_type | size () const |
|
bool | zero () const |
|
bool | check () const |
|
| VectorBase (Group *parent, const char *name, const units::Base *unit, const char *desc) |
|
| ~VectorBase () |
|
Vector & | init (size_type size) |
| Set this vector to have the given size.
|
|
Proxy | operator[] (off_type index) |
| Return a reference (ScalarProxy) to the stat at the given index.
|
|
| DataWrapVec (Group *parent=nullptr, const char *name=nullptr, const units::Base *unit=units::Unspecified::get(), const char *desc=nullptr) |
|
Vector & | subname (off_type index, const std::string &name) |
| Set the subfield name for the given index, and marks this stat to print at the end of simulation.
|
|
Vector & | subdesc (off_type index, const std::string &desc) |
| Set the subfield description for the given index and marks this stat to print at the end of simulation.
|
|
void | prepare () |
|
void | reset () |
|
const Info * | info () const |
|
| DataWrap ()=delete |
|
| DataWrap (const DataWrap &)=delete |
|
| DataWrap (Group *parent, const char *name, const units::Base *unit, const char *desc) |
|
DataWrap & | operator= (const DataWrap &)=delete |
|
Vector & | name (const std::string &name) |
| Set the name and marks this stat to print at the end of simulation.
|
|
const std::string & | name () const |
|
Vector & | setSeparator (const std::string &_sep) |
| Set the character(s) used between the name and vector number on vectors, dist, etc.
|
|
const std::string & | setSeparator () const |
|
Vector & | unit (const units::Base *_unit) |
| Set the unit of the stat.
|
|
Vector & | desc (const std::string &_desc) |
| Set the description and marks this stat to print at the end of simulation.
|
|
Vector & | precision (int _precision) |
| Set the precision and marks this stat to print at the end of simulation.
|
|
Vector & | flags (Flags _flags) |
| Set the flags and marks this stat to print at the end of simulation.
|
|
Vector & | prereq (const Stat &prereq) |
| Set the prerequisite stat and marks this stat to print at the end of simulation.
|
|
| InfoAccess () |
|
void | reset () |
| Reset the stat to the default state.
|
|
bool | zero () const |
|
bool | check () const |
| Check that this stat has been set up properly and is ready for use.
|
|
A vector of scalar stats.
- See also
- Stat, VectorBase, StatStor
Definition at line 2005 of file statistics.hh.