|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef NAVIGATION_NAVWRAPPER_H
6 #define NAVIGATION_NAVWRAPPER_H
13 template<
class NAVIMPL>
51 {
m_nav.fillToken(navToken); }
58 const std::any& parentParameter)
const
59 {
m_nav.fillToken(navToken, parentParameter); }
73 {
m_nav.putElement(pCont,pObj,oPar,sizeHint); }
79 {
m_nav.putElement(pCont,iObj,oPar,sizeHint); }
85 {
m_nav.insertElement(pCont,pObj,oPar,sizeHint); }
91 {
m_nav.insertElement(pCont,iObj,oPar,sizeHint); }
100 {
m_nav.reweight(pObj,oPar); }
104 {
m_nav.reweight(pCont,iObj,oPar); }
107 {
m_nav.reweight(oIter,oPar); }
111 {
return m_nav.remove(pObj); }
113 {
return m_nav.remove(pCont,iObj); }
118 {
return m_nav.contains(pObj); }
121 {
return m_nav.contains(pCont,iObj); }
130 virtual size_t size()
const {
return size_t(
m_nav.size()); }
134 {
return m_nav.getParameter(pObj); }
137 {
return m_nav.getParameter(pCont,iObj); }
139 {
return m_nav.getParameter(oIter); }
143 {
return m_nav.getContainer(pObj); }
147 {
return m_nav.getContainer(oIter); }
152 {
return m_nav.getIndex(pObj,iObj); }
157 {
return m_nav.getIndex(oIter,iObj); }
211 const std::any& )
const { };
parameter_type getParameter(object_iter &oIter) const
bool contains(const container_type *pCont, external_index_type &iObj) const
void reweight(const container_type *pCont, external_index_type &iObj, const parameter_type &oPar=parameter_type())
SG::GenerateIndexingPolicy< DataVector< INavigable4Momentum > >::type::index_type external_index_type
void insertElement(const container_type *pCont, external_index_type &iObj, const parameter_type &oPar=parameter_type(), size_t sizeHint=0)
Insert element into Navigable store.
NavWrapper()
Default constructor.
void reweight(object_iter &oIter, const parameter_type &oPar=parameter_type())
virtual void fillToken(INavigationToken &, const std::any &) const
Dummy type needed fro specialized implementation.
void reweight(const constituent_type *pObj, const parameter_type &oPar=parameter_type())
virtual void fillToken(INavigationToken &navToken) const
Visitor handler without relational parameter.
navimpl_t::external_index_type external_index_type
navimpl_t::object_iter object_iter
navimpl_t::constituent_type constituent_type
parameter_type getParameter(const constituent_type *pObj) const
virtual object_iter begin() const
navimpl_t::parameter_type parameter_type
NavWrapper(const navimpl_t &theNav)
Optional constructor: construct from Navigable.
double parameter_type
\ brief Relational parameter type
CONT::base_value_type constituent_type
NAVIMPL navimpl_t
Publish navigation implementation type.
bool remove(const constituent_type *pObj)
const navimpl_t & getNavImpl() const
bool getIndex(const constituent_type *pObj, external_index_type &iObj) const
virtual size_t size() const
bool contains(const constituent_type *pObj) const
void insertElement(const container_type *pCont, const constituent_type *pObj, const parameter_type &oPar=parameter_type(), size_t sizeHint=0)
Insert element into Navigable store.
bool getIndex(object_iter oIter, external_index_type &iObj) const
navimpl_t::container_type container_type
{
const container_type * getContainer(object_iter oIter) const
Wrapper for Navigable implementation.
virtual ~NavWrapper()
Base class destructor.
void putElement(const container_type *pCont, external_index_type &iObj, const parameter_type &oPar=parameter_type(), size_t sizeHint=0)
Add element to the Navigable store.
virtual void fillToken(INavigationToken &) const
{
virtual ~NavWrapper()
Base class destructor.
virtual void fillToken(INavigationToken &navToken, const std::any &parentParameter) const
Visitor handler including a relational parameter.
parameter_type getParameter(const container_type *pCont, external_index_type &iObj) const
void putElement(const container_type *pCont, const constituent_type *pObj, const parameter_type &oPar=parameter_type(), size_t sizeHint=0)
Add element to Navigable store.
virtual object_iter end() const
navimpl_t m_nav
Wrapped Navigable implementation.
bool remove(const container_type *pCont, external_index_type &iObj)
const container_type * getContainer(const constituent_type *pObj) const