SimpleStats v1.5

http://simplestats.sourceforge.net

Powered by: SourceForge Logo

Project Admin: Eric J. Peters


class StatsNode

This is the definition of the StatsNode class


Private Fields

friend class Stats
DWORD m_datum
This is the primary data.
DWORD m_datum2
This is the secondary data.
StatsNode* m_previous
This is the previous node.
StatsNode* m_next
This is the next node.

Private Methods

StatsNode(DWORD _d, StatsNode *_p, StatsNode *_n, DWORD _s=0)
This creates a StatsNode object
~StatsNode()
This destroys a StatsNode object.

Documentation

This is the definition of the StatsNode class. It is intended for use only by the Stats object.

friend class Stats

StatsNode(DWORD _d, StatsNode *_p, StatsNode *_n, DWORD _s=0)

This creates a StatsNode object. The StatsNode object is a node in a doubley linked list. It is intended only for use by the Stats object and is therefore entirely private.

Returns:
This returns a new StatsNode object.
Parameters:
_d - This is the data stored by this node.
_p - This is the previous node.
_n - This is the next node.
_s - This is the (optional) secondary data. If this data is not provided, it defaults to 0.
Version:
Change Log:
  • 05/07/2001 erpeters{at}users.sourceforge.net
    • initial implementation.
  • 11/23/2001 erpeters{at}users.sourceforge.net
    • documentation.
    • moved function in header.
  • 11/25/2001 erpeters{at}users.sourceforge.net
    • Added storage for secondary data.

~StatsNode()

This destroys a StatsNode object. This does *not* affect the previous or next nodes - only this node.

Version:
Change Log:
  • 05/07/2001 erpeters{at}users.sourceforge.net
    • initial implementation
  • 11/23/2001 erpeters{at}users.sourceforge.net
    • documentation.
    • moved function into header.

DWORD m_datum
This is the primary data.

DWORD m_datum2
This is the secondary data.

StatsNode* m_previous
This is the previous node.

StatsNode* m_next
This is the next node.


This class has no child classes.
Author:
Eric J. Peters <erpeters{at}users.sourceforge.net>
Version:
1.3 Change Log:
See Also:
Stats.h

alphabetic index hierarchy of classes


Powered by: SourceForge Logo
Project Admin: Eric J. Peters

generated by doc++