HLT::TypedHolder< FEATURE, CONTAINER > Class Template Reference

doubly templated class interfacing access to feature containers in StoreGate. More...

#include <TypedHolder.h>

Inheritance diagram for HLT::TypedHolder< FEATURE, CONTAINER >:
HLT::TypelessHolder asg::AsgMessaging HLT::BaseHolder

List of all members.

Public Member Functions

 TypedHolder (const BaseHolder &baseholder, EventPtr store, const std::string &container_name=ClassID_traits< CONTAINER >::typeName())
 constructor from BaseHolder. Throws runtime exception if clids of BaseHolder and FEATURE type don't match
 TypedHolder (const TypelessHolder &typeless, EventPtr store, const std::string &container_name=ClassID_traits< CONTAINER >::typeName())
 constructor from BaseHolder. Throws runtime exception if clids of BaseHolder and FEATURE type don't match
std::string key ()
 key used to access EventStore
template<typename T >
StatusCode_if< T, true > get (const T *&destination, HLT::TriggerElement::ObjectIndex idx)
 method creates a new VIEW container containing pointers to the elements pointed to by the ObjectIndex. Caller owns the VIEW container. Only enabled for CONTAINER holders
template<typename T >
StatusCode_if< T, false > get (const T *&destination, HLT::TriggerElement::ObjectIndex idx)
 method retrieves container from storegated and returns pointer at passed ObjectIndex Only enabled for ELEMENT holders (i.e. non CONTAINER)

Detailed Description

template<typename FEATURE, typename CONTAINER>
class HLT::TypedHolder< FEATURE, CONTAINER >

doubly templated class interfacing access to feature containers in StoreGate.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1