#include <chist.h>
Inheritance diagram for cHistogramBase::
Public Methods | |
Constructors, destructor, assignment. | |
cHistogramBase (const cHistogramBase &r) | |
cHistogramBase (const char *name, int numcells) | |
virtual | ~cHistogramBase () |
cHistogramBase& | operator= (const cHistogramBase &res) |
Redefined cObject member functions. | |
virtual int | netPack () |
virtual int | netUnpack () |
Redefined member functions from cStatistic and its subclasses. | |
virtual void | clearResult () |
virtual void | transform () |
virtual int | cells () const |
virtual void | saveToFile (FILE *) const |
virtual void | loadFromFile (FILE *) |
New member functions. | |
virtual void | setNumCells (int numcells) |
|
Copy constructor. |
|
Constructor. |
|
Destructor. |
|
Returns the number of histogram cells used. Reimplemented from cDensityEstBase. |
|
Clears the results collected so far. Reimplemented from cDensityEstBase. Reimplemented in cVarHistogram. |
|
Reads the object data from a file, in the format written out by saveToFile(). Reimplemented from cDensityEstBase. Reimplemented in cEqdHistogramBase, and cVarHistogram. |
|
Serializes the object into a PVM or MPI send buffer. Used by the simulation kernel for parallel execution. See cObject for more details. Reimplemented from cDensityEstBase. Reimplemented in cEqdHistogramBase, cLongHistogram, cDoubleHistogram, and cVarHistogram. |
|
Deserializes the object from a PVM or MPI receive buffer Used by the simulation kernel for parallel execution. See cObject for more details. Reimplemented from cDensityEstBase. Reimplemented in cEqdHistogramBase, cLongHistogram, cDoubleHistogram, and cVarHistogram. |
|
Assignment operator. The name member doesn't get copied; see cObject's operator=() for more details. |
|
Writes the contents of the object into a text file. Reimplemented from cDensityEstBase. Reimplemented in cEqdHistogramBase, and cVarHistogram. |
|
Sets the number of cells. Cannot be called when the cells have been set up already. |
|
Transforms the table of pre-collected values into an internal histogram structure. Reimplemented from cDensityEstBase. Reimplemented in cVarHistogram. |