![]() |
Polygon Crucher SDK - Documentation
Documentation
|
This collector is to used when you know that the collecting process does not involves duplicate pairs in the CAssociationMap. More...
This collector is to used when you know that the collecting process does not involves duplicate pairs in the CAssociationMap.
It is quicker to build than CSingleAssociationCollector which verify that the value has not already been inserted. Once build the collector can be used to build a CAssociationMap which is a very compact way to store the association data
#include <AssociationMap.h>
Classes | |
struct | CollectorEntry |
Public Types | |
typedef struct CAssociationCollector::CollectorEntry | CollectorEntry |
typedef CXArray< CollectorEntry > | CollectorArray |
typedef CHashMap< MAPTYPE, const MAPTYPE &, unsigned int > | CollectorMap |
Public Member Functions | |
CAssociationCollector (int elementNbr=0, int collectorGrowMode=CollectorArray::GROW_DOUBLE_SIZE) | |
void | Add (const MAPTYPE &key, const ASSOCTYPE &assoc) |
void | Add (const CollectorEntry &entry) |