BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
AssociativeIndexingPolicy< ASS > Class Template Reference

base class for associative STL containers (e.g. map, set) More...

#include <AssociativeIndexingPolicies.h>

Inheritance diagram for AssociativeIndexingPolicy< ASS >:

Public Types

typedef ASS::key_type index_type
typedef type_tools::Parameter< index_type >::const_type index_parm_type
typedef ASS::value_type value_type
typedef RemoveDataPtr< value_type >::type removedDataPtr_type
typedef removedDataPtr_typeElementPointer
typedef const ElementPointer ElementConstPointer
typedef removedDataPtr_typeElementReference
typedef const ElementReference ElementConstReference
typedef type_tools::Parameter< removedDataPtr_type >::type ElementParameter
typedef ASS::reference reference
typedef ASS::const_reference const_reference
typedef ASS::pointer pointer
typedef ASS::const_pointer const_pointer
typedef ASS::iterator iterator
typedef ASS::const_iterator const_iterator
typedef ASS::key_type index_type
typedef type_tools::Parameter< index_type >::const_type index_parm_type
typedef ASS::value_type value_type
typedef RemoveDataPtr< value_type >::type removedDataPtr_type
typedef removedDataPtr_typeElementPointer
typedef const ElementPointer ElementConstPointer
typedef removedDataPtr_typeElementReference
typedef const ElementReference ElementConstReference
typedef type_tools::Parameter< removedDataPtr_type >::type ElementParameter
typedef ASS::reference reference
typedef ASS::const_reference const_reference
typedef ASS::pointer pointer
typedef ASS::const_pointer const_pointer
typedef ASS::iterator iterator
typedef ASS::const_iterator const_iterator
typedef ASS::key_type index_type
typedef type_tools::Parameter< index_type >::const_type index_parm_type
typedef ASS::value_type value_type
typedef RemoveDataPtr< value_type >::type removedDataPtr_type
typedef removedDataPtr_typeElementPointer
typedef const ElementPointer ElementConstPointer
typedef removedDataPtr_typeElementReference
typedef const ElementReference ElementConstReference
typedef type_tools::Parameter< removedDataPtr_type >::type ElementParameter
typedef ASS::reference reference
typedef ASS::const_reference const_reference
typedef ASS::pointer pointer
typedef ASS::const_pointer const_pointer
typedef ASS::iterator iterator
typedef ASS::const_iterator const_iterator

Public Member Functions

index_parm_type index () const
template<class OS>
bool indexPut (OS &o) const
template<class IS>
bool indexGet (IS &i)
index_parm_type index () const
template<class OS>
bool indexPut (OS &o) const
template<class IS>
bool indexGet (IS &i)
index_parm_type index () const
template<class OS>
bool indexPut (OS &o) const
template<class IS>
bool indexGet (IS &i)

Protected Member Functions

 AssociativeIndexingPolicy ()
 AssociativeIndexingPolicy (index_parm_type key)
 ~AssociativeIndexingPolicy ()
iterator lookup (ASS &data) const
const_iterator lookup (const ASS &data) const
void setIndex (index_parm_type key)
 AssociativeIndexingPolicy ()
 AssociativeIndexingPolicy (index_parm_type key)
 ~AssociativeIndexingPolicy ()
iterator lookup (ASS &data) const
const_iterator lookup (const ASS &data) const
void setIndex (index_parm_type key)
 AssociativeIndexingPolicy ()
 AssociativeIndexingPolicy (index_parm_type key)
 ~AssociativeIndexingPolicy ()
iterator lookup (ASS &data) const
const_iterator lookup (const ASS &data) const
void setIndex (index_parm_type key)

Protected Attributes

index_type m_key

Detailed Description

template<class ASS>
class AssociativeIndexingPolicy< ASS >

base class for associative STL containers (e.g. map, set)

Author
Paolo Calafiura
Id
AssociativeIndexingPolicies.h,v 1.2 2003/04/16 01:32:53 calaf Exp

Definition at line 33 of file Event/GeneratorObject/include/DataModel/tools/AssociativeIndexingPolicies.h.

Member Typedef Documentation

◆ const_iterator [1/3]

template<class ASS>
typedef ASS::const_iterator AssociativeIndexingPolicy< ASS >::const_iterator

◆ const_iterator [2/3]

template<class ASS>
typedef ASS::const_iterator AssociativeIndexingPolicy< ASS >::const_iterator

◆ const_iterator [3/3]

template<class ASS>
typedef ASS::const_iterator AssociativeIndexingPolicy< ASS >::const_iterator

◆ const_pointer [1/3]

template<class ASS>
typedef ASS::const_pointer AssociativeIndexingPolicy< ASS >::const_pointer

◆ const_pointer [2/3]

template<class ASS>
typedef ASS::const_pointer AssociativeIndexingPolicy< ASS >::const_pointer

◆ const_pointer [3/3]

template<class ASS>
typedef ASS::const_pointer AssociativeIndexingPolicy< ASS >::const_pointer

◆ const_reference [1/3]

template<class ASS>
typedef ASS::const_reference AssociativeIndexingPolicy< ASS >::const_reference

◆ const_reference [2/3]

template<class ASS>
typedef ASS::const_reference AssociativeIndexingPolicy< ASS >::const_reference

◆ const_reference [3/3]

template<class ASS>
typedef ASS::const_reference AssociativeIndexingPolicy< ASS >::const_reference

◆ ElementConstPointer [1/3]

template<class ASS>
typedef const ElementPointer AssociativeIndexingPolicy< ASS >::ElementConstPointer

◆ ElementConstPointer [2/3]

template<class ASS>
typedef const ElementPointer AssociativeIndexingPolicy< ASS >::ElementConstPointer

◆ ElementConstPointer [3/3]

template<class ASS>
typedef const ElementPointer AssociativeIndexingPolicy< ASS >::ElementConstPointer

◆ ElementConstReference [1/3]

template<class ASS>
typedef const ElementReference AssociativeIndexingPolicy< ASS >::ElementConstReference

◆ ElementConstReference [2/3]

template<class ASS>
typedef const ElementReference AssociativeIndexingPolicy< ASS >::ElementConstReference

◆ ElementConstReference [3/3]

template<class ASS>
typedef const ElementReference AssociativeIndexingPolicy< ASS >::ElementConstReference

◆ ElementParameter [1/3]

template<class ASS>
typedef type_tools::Parameter<removedDataPtr_type>::type AssociativeIndexingPolicy< ASS >::ElementParameter

◆ ElementParameter [2/3]

template<class ASS>
typedef type_tools::Parameter<removedDataPtr_type>::type AssociativeIndexingPolicy< ASS >::ElementParameter

◆ ElementParameter [3/3]

template<class ASS>
typedef type_tools::Parameter<removedDataPtr_type>::type AssociativeIndexingPolicy< ASS >::ElementParameter

◆ ElementPointer [1/3]

template<class ASS>
typedef removedDataPtr_type* AssociativeIndexingPolicy< ASS >::ElementPointer

◆ ElementPointer [2/3]

◆ ElementPointer [3/3]

◆ ElementReference [1/3]

template<class ASS>
typedef removedDataPtr_type& AssociativeIndexingPolicy< ASS >::ElementReference

◆ ElementReference [2/3]

◆ ElementReference [3/3]

◆ index_parm_type [1/3]

template<class ASS>
typedef type_tools::Parameter<index_type>::const_type AssociativeIndexingPolicy< ASS >::index_parm_type

◆ index_parm_type [2/3]

template<class ASS>
typedef type_tools::Parameter<index_type>::const_type AssociativeIndexingPolicy< ASS >::index_parm_type

◆ index_parm_type [3/3]

template<class ASS>
typedef type_tools::Parameter<index_type>::const_type AssociativeIndexingPolicy< ASS >::index_parm_type

◆ index_type [1/3]

template<class ASS>
typedef ASS::key_type AssociativeIndexingPolicy< ASS >::index_type

◆ index_type [2/3]

template<class ASS>
typedef ASS::key_type AssociativeIndexingPolicy< ASS >::index_type

◆ index_type [3/3]

template<class ASS>
typedef ASS::key_type AssociativeIndexingPolicy< ASS >::index_type

◆ iterator [1/3]

template<class ASS>
typedef ASS::iterator AssociativeIndexingPolicy< ASS >::iterator

◆ iterator [2/3]

template<class ASS>
typedef ASS::iterator AssociativeIndexingPolicy< ASS >::iterator

◆ iterator [3/3]

template<class ASS>
typedef ASS::iterator AssociativeIndexingPolicy< ASS >::iterator

◆ pointer [1/3]

template<class ASS>
typedef ASS::pointer AssociativeIndexingPolicy< ASS >::pointer

◆ pointer [2/3]

template<class ASS>
typedef ASS::pointer AssociativeIndexingPolicy< ASS >::pointer

◆ pointer [3/3]

template<class ASS>
typedef ASS::pointer AssociativeIndexingPolicy< ASS >::pointer

◆ reference [1/3]

template<class ASS>
typedef ASS::reference AssociativeIndexingPolicy< ASS >::reference

◆ reference [2/3]

template<class ASS>
typedef ASS::reference AssociativeIndexingPolicy< ASS >::reference

◆ reference [3/3]

template<class ASS>
typedef ASS::reference AssociativeIndexingPolicy< ASS >::reference

◆ removedDataPtr_type [1/3]

template<class ASS>
typedef RemoveDataPtr<value_type>::type AssociativeIndexingPolicy< ASS >::removedDataPtr_type

◆ removedDataPtr_type [2/3]

◆ removedDataPtr_type [3/3]

◆ value_type [1/3]

template<class ASS>
typedef ASS::value_type AssociativeIndexingPolicy< ASS >::value_type

◆ value_type [2/3]

template<class ASS>
typedef ASS::value_type AssociativeIndexingPolicy< ASS >::value_type

◆ value_type [3/3]

template<class ASS>
typedef ASS::value_type AssociativeIndexingPolicy< ASS >::value_type

Constructor & Destructor Documentation

◆ AssociativeIndexingPolicy() [1/6]

◆ AssociativeIndexingPolicy() [2/6]

◆ ~AssociativeIndexingPolicy() [1/3]

template<class ASS>
AssociativeIndexingPolicy< ASS >::~AssociativeIndexingPolicy ( )
inlineprotected

Definition at line 69 of file Event/GeneratorObject/include/DataModel/tools/AssociativeIndexingPolicies.h.

69{} // disallow accidental base class deletion

◆ AssociativeIndexingPolicy() [3/6]

template<class ASS>
AssociativeIndexingPolicy< ASS >::AssociativeIndexingPolicy ( )
inlineprotected

◆ AssociativeIndexingPolicy() [4/6]

template<class ASS>
AssociativeIndexingPolicy< ASS >::AssociativeIndexingPolicy ( index_parm_type key)
inlineprotected

◆ ~AssociativeIndexingPolicy() [2/3]

template<class ASS>
AssociativeIndexingPolicy< ASS >::~AssociativeIndexingPolicy ( )
inlineprotected

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/tools/AssociativeIndexingPolicies.h.

69{} // disallow accidental base class deletion

◆ AssociativeIndexingPolicy() [5/6]

template<class ASS>
AssociativeIndexingPolicy< ASS >::AssociativeIndexingPolicy ( )
inlineprotected

◆ AssociativeIndexingPolicy() [6/6]

template<class ASS>
AssociativeIndexingPolicy< ASS >::AssociativeIndexingPolicy ( index_parm_type key)
inlineprotected

◆ ~AssociativeIndexingPolicy() [3/3]

template<class ASS>
AssociativeIndexingPolicy< ASS >::~AssociativeIndexingPolicy ( )
inlineprotected

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/tools/AssociativeIndexingPolicies.h.

69{} // disallow accidental base class deletion

Member Function Documentation

◆ index() [1/3]

◆ index() [2/3]

template<class ASS>
index_parm_type AssociativeIndexingPolicy< ASS >::index ( ) const
inline

◆ index() [3/3]

template<class ASS>
index_parm_type AssociativeIndexingPolicy< ASS >::index ( ) const
inline

◆ indexGet() [1/3]

template<class ASS>
template<class IS>
bool AssociativeIndexingPolicy< ASS >::indexGet ( IS & i)
inline

Definition at line 60 of file Event/GeneratorObject/include/DataModel/tools/AssociativeIndexingPolicies.h.

60 {
61 // boost::function_requires<isStreamable<IS, index_type> > ();
62 return ( i >> m_key ).good();
63 }

◆ indexGet() [2/3]

template<class ASS>
template<class IS>
bool AssociativeIndexingPolicy< ASS >::indexGet ( IS & i)
inline

Definition at line 60 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/tools/AssociativeIndexingPolicies.h.

60 {
61 // boost::function_requires<isStreamable<IS, index_type> > ();
62 return ( i >> m_key ).good();
63 }

◆ indexGet() [3/3]

template<class ASS>
template<class IS>
bool AssociativeIndexingPolicy< ASS >::indexGet ( IS & i)
inline

Definition at line 60 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/tools/AssociativeIndexingPolicies.h.

60 {
61 // boost::function_requires<isStreamable<IS, index_type> > ();
62 return ( i >> m_key ).good();
63 }

◆ indexPut() [1/3]

template<class ASS>
template<class OS>
bool AssociativeIndexingPolicy< ASS >::indexPut ( OS & o) const
inline

Definition at line 56 of file Event/GeneratorObject/include/DataModel/tools/AssociativeIndexingPolicies.h.

56 {
57 // boost::function_requires<isStreamable<OS, index_type> > ();
58 return ( o << m_key ).good();
59 }

◆ indexPut() [2/3]

template<class ASS>
template<class OS>
bool AssociativeIndexingPolicy< ASS >::indexPut ( OS & o) const
inline

Definition at line 56 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/tools/AssociativeIndexingPolicies.h.

56 {
57 // boost::function_requires<isStreamable<OS, index_type> > ();
58 return ( o << m_key ).good();
59 }

◆ indexPut() [3/3]

template<class ASS>
template<class OS>
bool AssociativeIndexingPolicy< ASS >::indexPut ( OS & o) const
inline

Definition at line 56 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/tools/AssociativeIndexingPolicies.h.

56 {
57 // boost::function_requires<isStreamable<OS, index_type> > ();
58 return ( o << m_key ).good();
59 }

◆ lookup() [1/6]

template<class ASS>
iterator AssociativeIndexingPolicy< ASS >::lookup ( ASS & data) const
inlineprotected

◆ lookup() [2/6]

template<class ASS>
iterator AssociativeIndexingPolicy< ASS >::lookup ( ASS & data) const
inlineprotected

◆ lookup() [3/6]

template<class ASS>
iterator AssociativeIndexingPolicy< ASS >::lookup ( ASS & data) const
inlineprotected

◆ lookup() [4/6]

template<class ASS>
const_iterator AssociativeIndexingPolicy< ASS >::lookup ( const ASS & data) const
inlineprotected

◆ lookup() [5/6]

template<class ASS>
const_iterator AssociativeIndexingPolicy< ASS >::lookup ( const ASS & data) const
inlineprotected

◆ lookup() [6/6]

template<class ASS>
const_iterator AssociativeIndexingPolicy< ASS >::lookup ( const ASS & data) const
inlineprotected

◆ setIndex() [1/3]

template<class ASS>
void AssociativeIndexingPolicy< ASS >::setIndex ( index_parm_type key)
inlineprotected

◆ setIndex() [2/3]

template<class ASS>
void AssociativeIndexingPolicy< ASS >::setIndex ( index_parm_type key)
inlineprotected

◆ setIndex() [3/3]

template<class ASS>
void AssociativeIndexingPolicy< ASS >::setIndex ( index_parm_type key)
inlineprotected

Member Data Documentation

◆ m_key


The documentation for this class was generated from the following files: