BGeometryCounts Class Reference

#include <BGeometryCounts.h>

List of all members.


Detailed Description

An object that keeps track of the number of BGeometry objects in a collection, as well as the type and class of each BGeometry.

Public Member Functions

 BGeometryCounts ()
 Default constructor.
void Clear (void)
 Resets all counts to zero.
void Decrement (EGeometryType eType)
 Decrements the counter for the specified geometry type.
void Decrement (EGeometryClass eClass)
 Decrements the counter for the specified geometry class.
UInt32 GetCount (EGeometryType eType) const
 Get the count for the specified geometry type.
UInt32 GetCount (EGeometryClass eClass) const
 Gets the count for the specified geometry class.
UInt32 GetCount () const
 Gets the total count of geometries that have been counted with this object.
void Increment (EGeometryType eType)
 Increments the counter for the specified geometry type.
void Increment (EGeometryClass eClass)
 Increments the counter for the specified geometry class.
 ~BGeometryCounts ()
 Destructor.

Constructor & Destructor Documentation

BGeometryCounts (  )  [inline]

Default constructor.

~BGeometryCounts (  )  [inline]

Destructor.


Member Function Documentation

void Clear ( void   )  [inline]

Resets all counts to zero.

void Decrement ( EGeometryType  eType  )  [inline]

Decrements the counter for the specified geometry type.

Parameters:
eType The geometry type whose count will be decremented.

void Decrement ( EGeometryClass  eClass  )  [inline]

Decrements the counter for the specified geometry class.

Parameters:
eClass The geometry class whose count will be decremented.

UInt32 GetCount ( EGeometryType  eType  )  const [inline]

Get the count for the specified geometry type.

Parameters:
eType The geometry type whose count will be returned.
Returns:
The count for the specified geometry type.

UInt32 GetCount ( EGeometryClass  eClass  )  const [inline]

Gets the count for the specified geometry class.

Parameters:
eClass The geometry class whose count will be returned.
Returns:
The count for the specified geometry class.

UInt32 GetCount (  )  const [inline]

Gets the total count of geometries that have been counted with this object.

Returns:
The total count.

void Increment ( EGeometryType  eType  )  [inline]

Increments the counter for the specified geometry type.

Parameters:
eType The geometry type whose count will be incremented.

void Increment ( EGeometryClass  eClass  )  [inline]

Increments the counter for the specified geometry class.

Parameters:
eClass The geometry class whose count will be incremented.


The documentation for this class was generated from the following file:

GeoTranslate 5.0 From Blue Marble Geographics