ATLAS Offline Software
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
Navigable< CONT, RPAR, COLL > Class Template Reference

Navigable template generalization to handle navigation. More...

#include <Navigable.h>

Inheritance diagram for Navigable< CONT, RPAR, COLL >:
Collaboration diagram for Navigable< CONT, RPAR, COLL >:

Public Types

typedef COLL constituent_coll
 
typedef constituent_coll::iterator constituent_iter
 
typedef constituent_coll::const_iterator constituent_const_iter
 
typedef CONT container_type
 Object container type. More...
 
typedef RPAR parameter_type
 \ brief Relational parameter type More...
 
typedef NavigationDefaults::DefaultChildColl< container_type, parameter_typenavhelper_t
 Collection manager type. More...
 
typedef CONT::base_value_type constituent_type
 
typedef CONT::reference constituent_ptr_ref
 
typedef CONT::const_reference constituent_const_ptr_ref
 
typedef CONT::value_type constituent_ptr
 
typedef SG::GenerateIndexingPolicy< CONT >::type::index_type external_index_type
 
typedef NavigableIterator< CONT, RPAR, COLL > object_iter
 

Public Member Functions

 Navigable ()
 
virtual ~Navigable ()=default
 
virtual void fillToken (INavigationToken &navToken) const
 
virtual void fillToken (INavigationToken &navToken, const std::any &parentParameter) const
 
void putElement (const CONT *objectContainer, const constituent_type *constituentObject, const RPAR &objectParameter=RPAR(), size_t sizeHint=0)
 
void putElement (const CONT *objectContainer, const external_index_type &theIndex, const RPAR &objectParameter=RPAR(), size_t sizeHint=0)
 
void insertElement (const CONT *objectContainer, const constituent_type *constituentObject, const RPAR &objectParameter=RPAR(), size_t sizeHint=0)
 
void insertElement (const CONT *objectContainer, const external_index_type &theIndex, const RPAR &objectParameter=RPAR(), size_t sizeHint=0)
 
void insertElement (const CONT *objectContainer, const external_index_type &theIndex, IProxyDict *sg, const RPAR &objectParameter=RPAR(), size_t sizeHint=0)
 
void insertElement (const ElementLink< CONT > &el, const RPAR &objectParameter=RPAR(), size_t sizeHint=0)
 
void reweight (const constituent_type *constituentObject, const RPAR &objectParameter=RPAR())
 
void reweight (const CONT *objectContainer, const external_index_type &theIndex, const RPAR &objectParameter=RPAR())
 
void reweight (object_iter &objectIter, const RPAR &objectParameter=RPAR())
 
bool remove (const constituent_type *aConstituent)
 
bool remove (const CONT *objectContainer, const external_index_type &theIndex)
 
bool removeAll ()
 
bool replace (const CONT *newObjectContainer)
 replace old object container with a new container assumes that all objects have been or will be inserted to the new container
More...
 
bool contains (const constituent_type *aConstituent) const
 
bool contains (const CONT *objectContainer, const external_index_type &theIndex) const
 
virtual object_iter begin () const
 
virtual object_iter end () const
 
virtual unsigned int size () const
 
RPAR getParameter (const constituent_type *aConstituent) const
 
RPAR getParameter (const CONT *objectContainer, const external_index_type &theIndex) const
 
RPAR getParameter (object_iter &theIter) const
 
const CONT * getContainer (const constituent_type *aConstituent) const
 
const CONT * getContainer (constituent_const_iter anIter) const
 
const CONT * getContainer (object_iter objectIter) const
 
bool getIndex (const constituent_type *aConstituent, external_index_type &theIndex) const
 
bool getIndex (constituent_const_iter anIter, external_index_type &theIndex) const
 
bool getIndex (object_iter objectIter, external_index_type &theIndex) const
 

Protected Member Functions

const constituent_collgetConstituents () const
 
constituent_collgetConstituents ()
 
const constituent_collgetPtrToConstituents () const
 
constituent_collgetPtrToConstituents ()
 
virtual const constituent_typegetConstituentPtr (constituent_iter iter) const
 
virtual const constituent_typegetConstituentPtr (constituent_const_iter iter) const
 
virtual RPAR getConstituentPar (constituent_iter iter) const
 
virtual RPAR getConstituentPar (constituent_const_iter iter) const
 
void dumpStore () const
 

Private Member Functions

virtual void apply (NavigationToken< constituent_type > &navToken) const
 
virtual void apply (NavigationToken< constituent_type, RPAR > &navToken, const RPAR &aParameter) const
 
virtual void toKidsAfterAccept (INavigationToken &navToken) const
 
virtual void toKidsAfterReject (INavigationToken &navToken) const
 
virtual void toKidsAfterAccept (INavigationToken &navToken, const std::any &aParameter) const
 
virtual void toKidsAfterReject (INavigationToken &navToken, const std::any &aParameter) const
 

Private Attributes

constituent_coll m_constituents
 

Detailed Description

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
class Navigable< CONT, RPAR, COLL >

Navigable template generalization to handle navigation.

Generalization of navigable composite object implementation.

         Generalization of Navigable Object Features 
Author
P. Calafiura
P. Loch
S. Rajagopalan

The Navigable<CONT,RPAR,COLL> generalization handles navigation queries and provides persistifiable data stores for composite reconstruction objects. The template parameters are:

CONT - storable container type
RPAR - relational parameter type
COLL - internal collection type for future use< >

Date
Oct 7, 2003 update: first implementation
Dec 18, 2003 update: move to ElementLink internal store
Apr 27, 2004 update: included in release 8.1.0 and up, bug fixes

This class provides the most common implementation for a navigable composite object in Athena. In particular, homogeneous composites with only only one constituent type are easily implemented using this template.

Definition at line 92 of file Navigable.h.

Member Typedef Documentation

◆ constituent_coll

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef COLL Navigable< CONT, RPAR, COLL >::constituent_coll

Definition at line 101 of file Navigable.h.

◆ constituent_const_iter

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef constituent_coll::const_iterator Navigable< CONT, RPAR, COLL >::constituent_const_iter

Definition at line 103 of file Navigable.h.

◆ constituent_const_ptr_ref

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef CONT::const_reference Navigable< CONT, RPAR, COLL >::constituent_const_ptr_ref

Definition at line 151 of file Navigable.h.

◆ constituent_iter

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef constituent_coll::iterator Navigable< CONT, RPAR, COLL >::constituent_iter

Definition at line 102 of file Navigable.h.

◆ constituent_ptr

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef CONT::value_type Navigable< CONT, RPAR, COLL >::constituent_ptr

Definition at line 152 of file Navigable.h.

◆ constituent_ptr_ref

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef CONT::reference Navigable< CONT, RPAR, COLL >::constituent_ptr_ref

Definition at line 150 of file Navigable.h.

◆ constituent_type

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef CONT::base_value_type Navigable< CONT, RPAR, COLL >::constituent_type

Definition at line 149 of file Navigable.h.

◆ container_type

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef CONT Navigable< CONT, RPAR, COLL >::container_type

Object container type.

Definition at line 110 of file Navigable.h.

◆ external_index_type

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef SG::GenerateIndexingPolicy<CONT>::type::index_type Navigable< CONT, RPAR, COLL >::external_index_type

Definition at line 156 of file Navigable.h.

◆ navhelper_t

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef NavigationDefaults::DefaultChildColl<container_type,parameter_type> Navigable< CONT, RPAR, COLL >::navhelper_t

Collection manager type.

Definition at line 114 of file Navigable.h.

◆ object_iter

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef NavigableIterator<CONT,RPAR,COLL> Navigable< CONT, RPAR, COLL >::object_iter

Definition at line 159 of file Navigable.h.

◆ parameter_type

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
typedef RPAR Navigable< CONT, RPAR, COLL >::parameter_type

\ brief Relational parameter type

Definition at line 112 of file Navigable.h.

Constructor & Destructor Documentation

◆ Navigable()

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
Navigable< CONT, RPAR, COLL >::Navigable ( )

◆ ~Navigable()

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual Navigable< CONT, RPAR, COLL >::~Navigable ( )
virtualdefault

Member Function Documentation

◆ apply() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual void Navigable< CONT, RPAR, COLL >::apply ( NavigationToken< constituent_type > &  navToken) const
privatevirtual

◆ apply() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual void Navigable< CONT, RPAR, COLL >::apply ( NavigationToken< constituent_type, RPAR > &  navToken,
const RPAR &  aParameter 
) const
privatevirtual

◆ begin()

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual object_iter Navigable< CONT, RPAR, COLL >::begin ( ) const
virtual

◆ contains() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
bool Navigable< CONT, RPAR, COLL >::contains ( const constituent_type aConstituent) const

◆ contains() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
bool Navigable< CONT, RPAR, COLL >::contains ( const CONT *  objectContainer,
const external_index_type theIndex 
) const

◆ dumpStore()

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::dumpStore ( ) const
protected

◆ end()

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual object_iter Navigable< CONT, RPAR, COLL >::end ( ) const
virtual

◆ fillToken() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual void Navigable< CONT, RPAR, COLL >::fillToken ( INavigationToken navToken) const
virtual

Implements INavigable.

Reimplemented in Analysis::MuonAssociation.

◆ fillToken() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual void Navigable< CONT, RPAR, COLL >::fillToken ( INavigationToken navToken,
const std::any &  parentParameter 
) const
virtual

Implements INavigable.

Reimplemented in Analysis::MuonAssociation.

◆ getConstituentPar() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual RPAR Navigable< CONT, RPAR, COLL >::getConstituentPar ( constituent_const_iter  iter) const
protectedvirtual

◆ getConstituentPar() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual RPAR Navigable< CONT, RPAR, COLL >::getConstituentPar ( constituent_iter  iter) const
protectedvirtual

◆ getConstituentPtr() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual const constituent_type* Navigable< CONT, RPAR, COLL >::getConstituentPtr ( constituent_const_iter  iter) const
protectedvirtual

◆ getConstituentPtr() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual const constituent_type* Navigable< CONT, RPAR, COLL >::getConstituentPtr ( constituent_iter  iter) const
protectedvirtual

◆ getConstituents() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
constituent_coll& Navigable< CONT, RPAR, COLL >::getConstituents ( )
inlineprotected

Definition at line 291 of file Navigable.h.

291 { return m_constituents; }

◆ getConstituents() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
const constituent_coll& Navigable< CONT, RPAR, COLL >::getConstituents ( ) const
inlineprotected

Definition at line 290 of file Navigable.h.

290 { return m_constituents; }

◆ getContainer() [1/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
const CONT* Navigable< CONT, RPAR, COLL >::getContainer ( const constituent_type aConstituent) const

◆ getContainer() [2/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
const CONT* Navigable< CONT, RPAR, COLL >::getContainer ( constituent_const_iter  anIter) const

◆ getContainer() [3/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
const CONT* Navigable< CONT, RPAR, COLL >::getContainer ( object_iter  objectIter) const

◆ getIndex() [1/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
bool Navigable< CONT, RPAR, COLL >::getIndex ( const constituent_type aConstituent,
external_index_type theIndex 
) const

◆ getIndex() [2/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
bool Navigable< CONT, RPAR, COLL >::getIndex ( constituent_const_iter  anIter,
external_index_type theIndex 
) const

◆ getIndex() [3/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
bool Navigable< CONT, RPAR, COLL >::getIndex ( object_iter  objectIter,
external_index_type theIndex 
) const

◆ getParameter() [1/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
RPAR Navigable< CONT, RPAR, COLL >::getParameter ( const constituent_type aConstituent) const

◆ getParameter() [2/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
RPAR Navigable< CONT, RPAR, COLL >::getParameter ( const CONT *  objectContainer,
const external_index_type theIndex 
) const

◆ getParameter() [3/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
RPAR Navigable< CONT, RPAR, COLL >::getParameter ( object_iter theIter) const

◆ getPtrToConstituents() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
constituent_coll* Navigable< CONT, RPAR, COLL >::getPtrToConstituents ( )
inlineprotected

Definition at line 296 of file Navigable.h.

297  { return &m_constituents; }

◆ getPtrToConstituents() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
const constituent_coll* Navigable< CONT, RPAR, COLL >::getPtrToConstituents ( ) const
inlineprotected

Definition at line 294 of file Navigable.h.

295  { return &m_constituents; }

◆ insertElement() [1/4]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::insertElement ( const CONT *  objectContainer,
const constituent_type constituentObject,
const RPAR &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)

◆ insertElement() [2/4]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::insertElement ( const CONT *  objectContainer,
const external_index_type theIndex,
const RPAR &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)

◆ insertElement() [3/4]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::insertElement ( const CONT *  objectContainer,
const external_index_type theIndex,
IProxyDict sg,
const RPAR &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)

◆ insertElement() [4/4]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::insertElement ( const ElementLink< CONT > &  el,
const RPAR &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)

◆ putElement() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::putElement ( const CONT *  objectContainer,
const constituent_type constituentObject,
const RPAR &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)

◆ putElement() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::putElement ( const CONT *  objectContainer,
const external_index_type theIndex,
const RPAR &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)

◆ remove() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
bool Navigable< CONT, RPAR, COLL >::remove ( const constituent_type aConstituent)

◆ remove() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
bool Navigable< CONT, RPAR, COLL >::remove ( const CONT *  objectContainer,
const external_index_type theIndex 
)

◆ removeAll()

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
bool Navigable< CONT, RPAR, COLL >::removeAll ( )
inline

Definition at line 237 of file Navigable.h.

237 { m_constituents.clear(); return this->size() == 0 ; }

◆ replace()

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
bool Navigable< CONT, RPAR, COLL >::replace ( const CONT *  newObjectContainer)

replace old object container with a new container assumes that all objects have been or will be inserted to the new container

◆ reweight() [1/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::reweight ( const constituent_type constituentObject,
const RPAR &  objectParameter = RPAR() 
)

◆ reweight() [2/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::reweight ( const CONT *  objectContainer,
const external_index_type theIndex,
const RPAR &  objectParameter = RPAR() 
)

◆ reweight() [3/3]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
void Navigable< CONT, RPAR, COLL >::reweight ( object_iter objectIter,
const RPAR &  objectParameter = RPAR() 
)

◆ size()

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual unsigned int Navigable< CONT, RPAR, COLL >::size ( ) const
virtual

◆ toKidsAfterAccept() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual void Navigable< CONT, RPAR, COLL >::toKidsAfterAccept ( INavigationToken navToken) const
privatevirtual

◆ toKidsAfterAccept() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual void Navigable< CONT, RPAR, COLL >::toKidsAfterAccept ( INavigationToken navToken,
const std::any &  aParameter 
) const
privatevirtual

◆ toKidsAfterReject() [1/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual void Navigable< CONT, RPAR, COLL >::toKidsAfterReject ( INavigationToken navToken) const
privatevirtual

◆ toKidsAfterReject() [2/2]

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
virtual void Navigable< CONT, RPAR, COLL >::toKidsAfterReject ( INavigationToken navToken,
const std::any &  aParameter 
) const
privatevirtual

Member Data Documentation

◆ m_constituents

template<typename CONT = NavigationDefaults::TerminalNode, typename RPAR = NavigationDefaults::DefaultWeight, typename COLL = typename NavigationDefaults::DefaultChildColl<CONT, RPAR>::type>
constituent_coll Navigable< CONT, RPAR, COLL >::m_constituents
private

Definition at line 345 of file Navigable.h.


The documentation for this class was generated from the following file:
Navigable::m_constituents
constituent_coll m_constituents
Definition: Navigable.h:345
Navigable::size
virtual unsigned int size() const