CMXNodeTypeStatistics Class Reference

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

#include <cmxtree.h>

Inheritance diagram for CMXNodeTypeStatistics:

ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CMXNodeTypeStatistics (FOURCC ThisChunk)
void IncNumOccurances ()
void AddToTotalSize (INT32 s)
FOURCC GetChunkType ()
INT32 GetNumOccurances ()
INT32 GetTotalSize ()

Private Attributes

FOURCC m_ChunkType
INT32 NumOccurrences
INT32 TotalSize

Detailed Description

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

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> from Markn code
Date:
7/11/97
See also:
CMXTreeDlg

Definition at line 271 of file cmxtree.h.


Constructor & Destructor Documentation

CMXNodeTypeStatistics::CMXNodeTypeStatistics FOURCC  ThisChunk  )  [inline]
 

Definition at line 276 of file cmxtree.h.

00276 { m_ChunkType = ThisChunk; NumOccurrences = 0; TotalSize = 0; }


Member Function Documentation

void CMXNodeTypeStatistics::AddToTotalSize INT32  s  )  [inline]
 

Definition at line 279 of file cmxtree.h.

00279 { TotalSize += s; }

FOURCC CMXNodeTypeStatistics::GetChunkType  )  [inline]
 

Definition at line 281 of file cmxtree.h.

00281 { return m_ChunkType; }

INT32 CMXNodeTypeStatistics::GetNumOccurances  )  [inline]
 

Definition at line 283 of file cmxtree.h.

00283 { return NumOccurrences; }

INT32 CMXNodeTypeStatistics::GetTotalSize  )  [inline]
 

Definition at line 284 of file cmxtree.h.

00284 { return TotalSize; }

void CMXNodeTypeStatistics::IncNumOccurances  )  [inline]
 

Definition at line 278 of file cmxtree.h.

00278 { NumOccurrences++; }


Member Data Documentation

FOURCC CMXNodeTypeStatistics::m_ChunkType [private]
 

Definition at line 287 of file cmxtree.h.

INT32 CMXNodeTypeStatistics::NumOccurrences [private]
 

Definition at line 289 of file cmxtree.h.

INT32 CMXNodeTypeStatistics::TotalSize [private]
 

Definition at line 290 of file cmxtree.h.


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