w_stat_t Class Reference

List of all members.

Detailed Description

A single statistic punning structure.

This structure holds a single generic statistic, be it an integer or a floating-point number. These are the statistics that are described in inputs to a Perl script, and whose handling-code is generated by that script. See STATS.

This struct doesn't do much; it's a union of the two numeric types w_base_t::base_stat_t and w_base_t::base_float_t. With this class you output the contents to an output stream, and compare two stats (equal, not-equal).

Definition at line 142 of file w_stat.h.

Public Member Functions

 w_stat_t ()
 Initialize to zero.
 w_stat_t (int i)
 Initialize to integer i.
 operator int () const
 w_stat_t (w_base_t::base_float_t i)
 Initialize to floating point i.
 operator w_base_t::base_float_t () const
 Interpret as a floating point.


The documentation for this class was generated from the following file:
Generated on Wed Jul 7 17:22:44 2010 for Shore Storage Manager by  doxygen 1.4.7