|
| NavWrapper () |
| } More...
|
|
| NavWrapper (const navimpl_t &theNav) |
| Optional constructor: construct from Navigable. More...
|
|
virtual | ~NavWrapper () |
| Base class destructor. More...
|
|
virtual void | fillToken (INavigationToken &navToken) const |
| Visitor handler without relational parameter. More...
|
|
virtual void | fillToken (INavigationToken &navToken, const std::any &parentParameter) const |
| Visitor handler including a relational parameter. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
void | reweight (const constituent_type *pObj, const parameter_type &oPar=parameter_type()) |
|
void | reweight (const container_type *pCont, external_index_type &iObj, const parameter_type &oPar=parameter_type()) |
|
void | reweight (object_iter &oIter, const parameter_type &oPar=parameter_type()) |
|
bool | remove (const constituent_type *pObj) |
|
bool | remove (const container_type *pCont, external_index_type &iObj) |
|
bool | removeAll () |
|
bool | contains (const constituent_type *pObj) const |
|
bool | contains (const container_type *pCont, external_index_type &iObj) const |
|
virtual object_iter | begin () const |
|
virtual object_iter | end () const |
|
virtual size_t | size () const |
|
parameter_type | getParameter (const constituent_type *pObj) const |
|
parameter_type | getParameter (const container_type *pCont, external_index_type &iObj) const |
|
parameter_type | getParameter (object_iter &oIter) const |
|
const container_type * | getContainer (const constituent_type *pObj) const |
|
const container_type * | getContainer (object_iter oIter) const |
|
bool | getIndex (const constituent_type *pObj, external_index_type &iObj) const |
|
bool | getIndex (object_iter oIter, external_index_type &iObj) const |
|
template<class NAVIMPL>
class NavWrapper< NAVIMPL >
Wrapper for Navigable implementation.
- Date
- June 2, 2006
- Author
- Peter Loch loch@.nosp@m.phys.nosp@m.ics.a.nosp@m.rizo.nosp@m.na.ed.nosp@m.u
This templated wrapper decouples the navigation implementation (implementing INavigable) from the client class by forwarding the Navigable behaviour to the actual implementation, rather than inheriting it. In particular this means this template itself is not derived from INavigable. This wrapper together with the P4Wrapper allows an un-ambiguous implementation of the combined INavigable4Momentum interface.
Definition at line 14 of file NavWrapper.h.
{
Publish important types from Navigable, new style / typedef typename navimpl::container_t container_t; typedef typename navimpl::constituent_t constituent_t; typedef typename navimpl::parameter_t parameter_t; typedef typename navimpl::object_iter_t object_iter_t; typedef typename navimpl::external_index_t external_index_t; /!}
{ Publish important types from Navigable, old style, soon to be obsolete!
Definition at line 30 of file NavWrapper.h.