|
BOSS 8.0.0
BESIII Offline Software System
|
an STL list of pointers that by default owns its pointed elements. When a DataList it is created with the flag SG::VIEW_ELEMENTS (see enum OwnershipPolicy) it does now own its elements. This is typically used to have DataList elements allocated by DataPool. Notice the use of value_type instead of const_reference: this is justified by the fact that the elem are always ptrs More...
#include <DataList.h>
Public Types | |
list typedefs: it behaves like a list<T*> | |
| typedef T *& | reference |
| typedef const reference | const_reference |
| typedef PtrList::iterator | iterator |
| typedef PtrList::const_iterator | const_iterator |
| typedef PtrList::size_type | size_type |
| typedef PtrList::difference_type | difference_type |
| typedef T * | value_type |
| typedef PtrList::allocator_type | allocator_type |
| typedef T ** | pointer |
| typedef const pointer | const_pointer |
| typedef PtrList::reverse_iterator | reverse_iterator |
| typedef PtrList::const_reverse_iterator | const_reverse_iterator |
| typedef T *& | reference |
| typedef const reference | const_reference |
| typedef PtrList::iterator | iterator |
| typedef PtrList::const_iterator | const_iterator |
| typedef PtrList::size_type | size_type |
| typedef PtrList::difference_type | difference_type |
| typedef T * | value_type |
| typedef PtrList::allocator_type | allocator_type |
| typedef T ** | pointer |
| typedef const pointer | const_pointer |
| typedef PtrList::reverse_iterator | reverse_iterator |
| typedef PtrList::const_reverse_iterator | const_reverse_iterator |
| typedef T *& | reference |
| typedef const reference | const_reference |
| typedef PtrList::iterator | iterator |
| typedef PtrList::const_iterator | const_iterator |
| typedef PtrList::size_type | size_type |
| typedef PtrList::difference_type | difference_type |
| typedef T * | value_type |
| typedef PtrList::allocator_type | allocator_type |
| typedef T ** | pointer |
| typedef const pointer | const_pointer |
| typedef PtrList::reverse_iterator | reverse_iterator |
| typedef PtrList::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
| const PtrList & | stdcont () const |
| access the underlying std list; | |
| const PtrList & | stdcont () const |
| access the underlying std list; | |
| const PtrList & | stdcont () const |
| access the underlying std list; | |
list structors (no Allocators). Own elements by default | |
| DataList (SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS) | |
| DataList (size_type n, value_type pElem=0, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS) | |
| DataList (const DataList< T > &rhs) | |
| template<class InputIterator> | |
| DataList (InputIterator first, InputIterator last, SG::OwnershipPolicy ownPolicy=SG::VIEW_ELEMENTS) | |
| DataList< T > | operator= (const DataList< T > &rhs) |
| template<class InputIterator> | |
| void | assign (InputIterator first, InputIterator last) |
| the ownership policy will determine who owns the assigned elements | |
| void | assign (size_type n, value_type pElem) |
| the ownership policy will determine who owns the assigned elements | |
| virtual | ~DataList () |
| DataList (SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS) | |
| DataList (size_type n, value_type pElem=0, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS) | |
| DataList (const DataList< T > &rhs) | |
| template<class InputIterator> | |
| DataList (InputIterator first, InputIterator last, SG::OwnershipPolicy ownPolicy=SG::VIEW_ELEMENTS) | |
| DataList< T > | operator= (const DataList< T > &rhs) |
| template<class InputIterator> | |
| void | assign (InputIterator first, InputIterator last) |
| the ownership policy will determine who owns the assigned elements | |
| void | assign (size_type n, value_type pElem) |
| the ownership policy will determine who owns the assigned elements | |
| virtual | ~DataList () |
| DataList (SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS) | |
| DataList (size_type n, value_type pElem=0, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS) | |
| DataList (const DataList< T > &rhs) | |
| template<class InputIterator> | |
| DataList (InputIterator first, InputIterator last, SG::OwnershipPolicy ownPolicy=SG::VIEW_ELEMENTS) | |
| DataList< T > | operator= (const DataList< T > &rhs) |
| template<class InputIterator> | |
| void | assign (InputIterator first, InputIterator last) |
| the ownership policy will determine who owns the assigned elements | |
| void | assign (size_type n, value_type pElem) |
| the ownership policy will determine who owns the assigned elements | |
| virtual | ~DataList () |
an STL list of pointers that by default owns its pointed elements. When a DataList it is created with the flag SG::VIEW_ELEMENTS (see enum OwnershipPolicy) it does now own its elements. This is typically used to have DataList elements allocated by DataPool. Notice the use of value_type instead of const_reference: this is justified by the fact that the elem are always ptrs
Definition at line 33 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef PtrList::allocator_type DataList< T >::allocator_type |
Definition at line 52 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef PtrList::allocator_type DataList< T >::allocator_type |
Definition at line 52 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef PtrList::allocator_type DataList< T >::allocator_type |
Definition at line 52 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
| typedef PtrList::const_iterator DataList< T >::const_iterator |
Definition at line 48 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef PtrList::const_iterator DataList< T >::const_iterator |
Definition at line 48 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef PtrList::const_iterator DataList< T >::const_iterator |
Definition at line 48 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
Definition at line 54 of file Event/GeneratorObject/include/DataModel/DataList.h.
Definition at line 54 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
Definition at line 54 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
Definition at line 46 of file Event/GeneratorObject/include/DataModel/DataList.h.
Definition at line 46 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
| typedef PtrList::const_reverse_iterator DataList< T >::const_reverse_iterator |
Definition at line 56 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef PtrList::const_reverse_iterator DataList< T >::const_reverse_iterator |
Definition at line 56 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef PtrList::const_reverse_iterator DataList< T >::const_reverse_iterator |
Definition at line 56 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
| typedef PtrList::difference_type DataList< T >::difference_type |
Definition at line 50 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef PtrList::difference_type DataList< T >::difference_type |
Definition at line 50 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef PtrList::difference_type DataList< T >::difference_type |
Definition at line 50 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
| typedef PtrList::iterator DataList< T >::iterator |
Definition at line 47 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef PtrList::iterator DataList< T >::iterator |
Definition at line 47 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef PtrList::iterator DataList< T >::iterator |
Definition at line 47 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
| typedef T** DataList< T >::pointer |
Definition at line 53 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef T** DataList< T >::pointer |
Definition at line 53 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef T** DataList< T >::pointer |
Definition at line 53 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
| typedef T*& DataList< T >::reference |
Definition at line 45 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef T*& DataList< T >::reference |
Definition at line 45 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef T*& DataList< T >::reference |
Definition at line 45 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
| typedef PtrList::reverse_iterator DataList< T >::reverse_iterator |
Definition at line 55 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef PtrList::reverse_iterator DataList< T >::reverse_iterator |
Definition at line 55 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef PtrList::reverse_iterator DataList< T >::reverse_iterator |
Definition at line 55 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
| typedef PtrList::size_type DataList< T >::size_type |
Definition at line 49 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef PtrList::size_type DataList< T >::size_type |
Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef PtrList::size_type DataList< T >::size_type |
Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
| typedef T* DataList< T >::value_type |
Definition at line 51 of file Event/GeneratorObject/include/DataModel/DataList.h.
| typedef T* DataList< T >::value_type |
Definition at line 51 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
| typedef T* DataList< T >::value_type |
Definition at line 51 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
|
inlineexplicit |
Definition at line 61 of file Event/GeneratorObject/include/DataModel/DataList.h.
Referenced by DataList(), and operator=().
|
inlineexplicit |
Definition at line 65 of file Event/GeneratorObject/include/DataModel/DataList.h.
copy constructor: since it is a shallow copy the copy DataList does not own the elements
Definition at line 71 of file Event/GeneratorObject/include/DataModel/DataList.h.
|
inline |
Deletes the pointed-at elements when m_ownPolicy == SG::OWN_ELEMENTS (i.e. by default).
Definition at line 96 of file Event/GeneratorObject/include/DataModel/DataList.h.
|
inlineexplicit |
Definition at line 61 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
|
inlineexplicit |
Definition at line 65 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
copy constructor: since it is a shallow copy the copy DataList does not own the elements
Definition at line 71 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
|
inline |
Deletes the pointed-at elements when m_ownPolicy == SG::OWN_ELEMENTS (i.e. by default).
Definition at line 96 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
|
inlineexplicit |
Definition at line 61 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
|
inlineexplicit |
Definition at line 65 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
copy constructor: since it is a shallow copy the copy DataList does not own the elements
Definition at line 71 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
|
inline |
Deletes the pointed-at elements when m_ownPolicy == SG::OWN_ELEMENTS (i.e. by default).
Definition at line 96 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
op =: since it is a shallow copy the copy DataList does not own the elements
Definition at line 83 of file Event/GeneratorObject/include/DataModel/DataList.h.
op =: since it is a shallow copy the copy DataList does not own the elements
Definition at line 83 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
op =: since it is a shallow copy the copy DataList does not own the elements
Definition at line 83 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.
|
inline |
access the underlying std list;
Definition at line 41 of file Event/GeneratorObject/include/DataModel/DataList.h.
Referenced by DataList(), and operator=().
|
inline |
access the underlying std list;
Definition at line 41 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/DataList.h.
|
inline |
access the underlying std list;
Definition at line 41 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/DataList.h.