|
Gaudi Framework, version v21r8 |
| Home | Generated: 17 Mar 2010 |
#include <KeyedTraits.h>


Static Public Member Functions | |
| static bool | checkBounds (const std::vector< DATATYPE * > *cnt, const typename DATATYPE::key_type &k) |
| Allow to check the access to container elements for consistency. | |
Select if container-checks should be performed by switching on/off the macro CHECK_KEYED_CONTAINER.
Definition at line 107 of file KeyedTraits.h.
| static bool Containers::traits< CONTAINER, DATATYPE >::checkBounds | ( | const std::vector< DATATYPE * > * | cnt, | |
| const typename DATATYPE::key_type & | k | |||
| ) | [inline, static] |
Allow to check the access to container elements for consistency.
Definition at line 110 of file KeyedTraits.h.
00111 { 00112 #ifdef CHECK_KEYED_CONTAINER 00113 return size_t(cnt->size()) > size_t(traits::hash(k)); 00114 #else 00115 return true; 00116 #endif 00117 }