CXFNodeTypeStatistics Class Reference

Holds info relating to a node of a particular type (i.e. tag value). More...

#include <cxftree.h>

Inheritance diagram for CXFNodeTypeStatistics:

ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CXFNodeTypeStatistics (UINT32 ThisTag)
void IncNumOccurances ()
void AddToTotalSize (INT32 s)
UINT32 GetTag ()
INT32 GetNumOccurances ()
INT32 GetTotalSize ()

Private Attributes

UINT32 Tag
INT32 NumOccurrences
INT32 TotalSize

Detailed Description

Holds info relating to a node of a particular type (i.e. tag value).

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
2/10/96
See also:
CXFTreeDlg

Definition at line 197 of file cxftree.h.


Constructor & Destructor Documentation

CXFNodeTypeStatistics::CXFNodeTypeStatistics UINT32  ThisTag  )  [inline]
 

Definition at line 202 of file cxftree.h.

00202 { Tag = ThisTag; NumOccurrences = 0; TotalSize = 0; }


Member Function Documentation

void CXFNodeTypeStatistics::AddToTotalSize INT32  s  )  [inline]
 

Definition at line 205 of file cxftree.h.

00205 { TotalSize += s; }

INT32 CXFNodeTypeStatistics::GetNumOccurances  )  [inline]
 

Definition at line 208 of file cxftree.h.

00208 { return NumOccurrences; }

UINT32 CXFNodeTypeStatistics::GetTag  )  [inline]
 

Definition at line 207 of file cxftree.h.

00207 { return Tag; }

INT32 CXFNodeTypeStatistics::GetTotalSize  )  [inline]
 

Definition at line 209 of file cxftree.h.

00209 { return TotalSize; }

void CXFNodeTypeStatistics::IncNumOccurances  )  [inline]
 

Definition at line 204 of file cxftree.h.

00204 { NumOccurrences++; }


Member Data Documentation

INT32 CXFNodeTypeStatistics::NumOccurrences [private]
 

Definition at line 213 of file cxftree.h.

UINT32 CXFNodeTypeStatistics::Tag [private]
 

Definition at line 212 of file cxftree.h.

INT32 CXFNodeTypeStatistics::TotalSize [private]
 

Definition at line 214 of file cxftree.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:53:27 2007 for Camelot by  doxygen 1.4.4