Statistics. Counts the number of targets of each kind.
Definition at line 175 of file target.hpp.
#include <target.hpp>
|
| int | count [size_t(MAX_KIND)] |
| | The counted number of elements for each kind.
|
◆ count
| int dxl::Target::KindStats::count[size_t(MAX_KIND)] |
|
protected |
The counted number of elements for each kind.
Definition at line 178 of file target.hpp.
◆ KindStats()
| dxl::Target::KindStats::KindStats |
( |
| ) |
|
|
inline |
◆ Add()
| void dxl::Target::KindStats::Add |
( |
Kinds | pKind | ) |
|
|
inline |
Counts the given kind.
- Parameters
-
Definition at line 186 of file target.hpp.
◆ Get()
| int dxl::Target::KindStats::Get |
( |
Kinds | pKind | ) |
|
|
inline |
Returns the number of entities of a given kind parsed from the tag-file.
- Parameters
-
| pKind | The kind to receive the quantity for. |
- Returns
- The quantity of kinds of given kind pKind.
Definition at line 195 of file target.hpp.
◆ GetByIdx()
| int dxl::Target::KindStats::GetByIdx |
( |
int | kindIdx | ) |
|
|
inline |
Returns the number of entities of a given kind parsed from the tag-file.
- Parameters
-
| kindIdx | The kind-index to receive the quantity for. |
- Returns
- The quantity of kinds of given kindIdx.
Definition at line 204 of file target.hpp.
The documentation for this class was generated from the following file: