1 #ifndef DataFormats_Common_RefTraits_h 2 #define DataFormats_Common_RefTraits_h 7 template<
typename C,
typename T,
typename F>
class RefVector;
11 template<
typename C,
typename T>
17 result_type
operator()(first_argument_type iContainer, second_argument_type iIndex) {
18 typename C::const_iterator it = iContainer.begin();
19 std::advance(it, static_cast<typename C::size_type>(iIndex));
20 return it.operator->();
24 template<
typename REFV>
31 typename REFV::const_iterator it = iContainer.begin();
32 std::advance(it, iIndex);
33 return it.operator->()->get();
38 template<
typename C,
typename T>
43 template<
typename C,
typename T,
typename F>
58 template<
typename C,
typename T,
typename F>
FindRefVectorUsingAdvance< RefToBaseVector< T > > value
FindRefVectorUsingAdvance< RefVector< C, T, F > > value
Container::value_type value_type
REFV const & first_argument_type
unsigned int second_argument_type
typename REFV::member_type const * result_type
FindUsingAdvance< C, T > value
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
result_type operator()(first_argument_type iContainer, second_argument_type iIndex)
edm::RefVector< Container > RefVector
typename REFV::key_type second_argument_type
C const & first_argument_type
result_type operator()(first_argument_type iContainer, second_argument_type iIndex)