|
BOSS 8.0.0
BESIII Offline Software System
|
a persistable pointer to an element of a STORABLE (data object) More...
#include <ElementLink.h>
Public Types | |
| typedef std::string | ID_type |
| typedef const STORABLE & | BaseConstReference |
| typedef IndexingPolicy::index_type | index_type |
| typedef IndexingPolicy::ElementParameter | ElementParameter |
| typedef IndexingPolicy::ElementConstReference | ElementConstReference |
| typedef IndexingPolicy::ElementConstPointer | ElementConstPointer |
| typedef IndexingPolicy::ElementPointer | ElementPointer |
| typedef std::string | ID_type |
| typedef const STORABLE & | BaseConstReference |
| typedef IndexingPolicy::index_type | index_type |
| typedef IndexingPolicy::ElementParameter | ElementParameter |
| typedef IndexingPolicy::ElementConstReference | ElementConstReference |
| typedef IndexingPolicy::ElementConstPointer | ElementConstPointer |
| typedef IndexingPolicy::ElementPointer | ElementPointer |
| typedef std::string | ID_type |
| typedef const STORABLE & | BaseConstReference |
| typedef IndexingPolicy::index_type | index_type |
| typedef IndexingPolicy::ElementParameter | ElementParameter |
| typedef IndexingPolicy::ElementConstReference | ElementConstReference |
| typedef IndexingPolicy::ElementConstPointer | ElementConstPointer |
| typedef IndexingPolicy::ElementPointer | ElementPointer |
| Public Types inherited from DataProxyStorage< STORABLE > | |
| typedef STORABLE | value_type |
| typedef STORABLE * | pointer |
| typedef const STORABLE * | const_pointer |
| typedef STORABLE & | reference |
| typedef const STORABLE & | const_reference |
| typedef IStoragePolicy::ID_type | ID_type |
| typedef STORABLE | value_type |
| typedef STORABLE * | pointer |
| typedef const STORABLE * | const_pointer |
| typedef STORABLE & | reference |
| typedef const STORABLE & | const_reference |
| typedef IStoragePolicy::ID_type | ID_type |
| typedef STORABLE | value_type |
| typedef STORABLE * | pointer |
| typedef const STORABLE * | const_pointer |
| typedef STORABLE & | reference |
| typedef const STORABLE & | const_reference |
| typedef IStoragePolicy::ID_type | ID_type |
| Public Types inherited from IStoragePolicy | |
| typedef std::string | ID_type |
| typedef std::string | ID_type |
| typedef std::string | ID_type |
Public Member Functions | |
| ElementLink (IProxyDict *sg=StoragePolicy::defaultDataSource()) | |
| default | |
| ElementLink (const ID_type &dataID, index_type elemID, IProxyDict *sg=StoragePolicy::defaultDataSource()) | |
| o(1) version: provide storable key and element index | |
| ElementLink (const ID_type &dataID, index_type elemID, ElementPointer pEl) | |
| ElementLink (BaseConstReference data, index_type elemID, IProxyDict *sg=StoragePolicy::defaultDataSource()) | |
| ElementLink (IProxyDict *sg=StoragePolicy::defaultDataSource()) | |
| default | |
| ElementLink (const ID_type &dataID, index_type elemID, IProxyDict *sg=StoragePolicy::defaultDataSource()) | |
| o(1) version: provide storable key and element index | |
| ElementLink (const ID_type &dataID, index_type elemID, ElementPointer pEl) | |
| ElementLink (BaseConstReference data, index_type elemID, IProxyDict *sg=StoragePolicy::defaultDataSource()) | |
| ElementLink (IProxyDict *sg=StoragePolicy::defaultDataSource()) | |
| default | |
| ElementLink (const ID_type &dataID, index_type elemID, IProxyDict *sg=StoragePolicy::defaultDataSource()) | |
| o(1) version: provide storable key and element index | |
| ElementLink (const ID_type &dataID, index_type elemID, ElementPointer pEl) | |
| ElementLink (BaseConstReference data, index_type elemID, IProxyDict *sg=StoragePolicy::defaultDataSource()) | |
Modifiers, use to make an ElementLink persistable | |
this will trigger a linear search for sequence | |
| void | toIndexedElement (BaseConstReference data, index_type elementID) |
| set link to point to given index: FAST | |
| bool | toContainedElement (BaseConstReference data, ElementParameter element) |
| set link to point to given element: O(n) for sequences! | |
| void | setStorableObject (BaseConstReference data) |
| set link storable to data object pointed by data | |
| void | toIndexedElement (BaseConstReference data, index_type elementID) |
| set link to point to given index: FAST | |
| bool | toContainedElement (BaseConstReference data, ElementParameter element) |
| set link to point to given element: O(n) for sequences! | |
| void | setStorableObject (BaseConstReference data) |
| set link storable to data object pointed by data | |
| void | toIndexedElement (BaseConstReference data, index_type elementID) |
| set link to point to given index: FAST | |
| bool | toContainedElement (BaseConstReference data, ElementParameter element) |
| set link to point to given element: O(n) for sequences! | |
| void | setStorableObject (BaseConstReference data) |
| set link storable to data object pointed by data | |
| Public Member Functions inherited from DataProxyStorage< STORABLE > | |
| bool | isValid () const |
| const ID_type & | dataID () const |
| pointer | getDataPtr () const |
| reference | getDataRef () const |
| template<class OS> | |
| bool | dataPut (OS &os) |
| template<class IS> | |
| bool | dataGet (IS &is) |
| bool | isValid () const |
| const ID_type & | dataID () const |
| pointer | getDataPtr () const |
| reference | getDataRef () const |
| template<class OS> | |
| bool | dataPut (OS &os) |
| template<class IS> | |
| bool | dataGet (IS &is) |
| bool | isValid () const |
| const ID_type & | dataID () const |
| pointer | getDataPtr () const |
| reference | getDataRef () const |
| template<class OS> | |
| bool | dataPut (OS &os) |
| template<class IS> | |
| bool | dataGet (IS &is) |
Accessors | |
| ElementConstReference | operator* () const |
| ElementConstPointer | operator-> () const |
| operator ElementConstPointer () const | |
| ElementConstPointer | cptr () const |
| bool | isValid () const |
| bool | operator! () const |
| ElementConstReference | operator* () const |
| ElementConstPointer | operator-> () const |
| operator ElementConstPointer () const | |
| ElementConstPointer | cptr () const |
| bool | isValid () const |
| bool | operator! () const |
| ElementConstReference | operator* () const |
| ElementConstPointer | operator-> () const |
| operator ElementConstPointer () const | |
| ElementConstPointer | cptr () const |
| bool | isValid () const |
| bool | operator! () const |
Additional Inherited Members | |
| Static Public Member Functions inherited from DataProxyStorage< STORABLE > | |
| static IProxyDict * | defaultDataSource () |
| static IProxyDict * | defaultDataSource () |
| static IProxyDict * | defaultDataSource () |
| Protected Member Functions inherited from DataProxyStorage< STORABLE > | |
| bool | setDataSource (IProxyDict *sg) |
| virtual | ~DataProxyStorage () |
| DataProxyStorage (IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (const_reference rdata, IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (const_pointer pdata, IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (const ID_type &dataID, IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (SG::DataProxy *proxy, IProxyDict *sg=defaultDataSource()) | |
| void | reset () |
| void | clear () |
| void | setData (const_reference rdata) |
| void | setData (const_pointer pdata) |
| virtual void | setData (DataObject *rdata) |
| virtual void | setData (const ID_type &dataID) |
| virtual void | setData (SG::DataProxy *proxy) |
| void | changeState () |
| virtual void * | storable () const |
| virtual SG::DataProxy * | proxy () const |
| virtual ID_type | ID () const |
| virtual const CLID | classID () const |
| virtual IProxyDict * | source () const |
| bool | setDataSource (IProxyDict *sg) |
| virtual | ~DataProxyStorage () |
| DataProxyStorage (IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (const_reference rdata, IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (const_pointer pdata, IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (const ID_type &dataID, IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (SG::DataProxy *proxy, IProxyDict *sg=defaultDataSource()) | |
| void | reset () |
| void | clear () |
| void | setData (const_reference rdata) |
| void | setData (const_pointer pdata) |
| virtual void | setData (DataObject *rdata) |
| virtual void | setData (const ID_type &dataID) |
| virtual void | setData (SG::DataProxy *proxy) |
| void | changeState () |
| virtual void * | storable () const |
| virtual SG::DataProxy * | proxy () const |
| virtual ID_type | ID () const |
| virtual const CLID | classID () const |
| virtual IProxyDict * | source () const |
| bool | setDataSource (IProxyDict *sg) |
| virtual | ~DataProxyStorage () |
| DataProxyStorage (IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (const_reference rdata, IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (const_pointer pdata, IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (const ID_type &dataID, IProxyDict *sg=defaultDataSource()) | |
| DataProxyStorage (SG::DataProxy *proxy, IProxyDict *sg=defaultDataSource()) | |
| void | reset () |
| void | clear () |
| void | setData (const_reference rdata) |
| void | setData (const_pointer pdata) |
| virtual void | setData (DataObject *rdata) |
| virtual void | setData (const ID_type &dataID) |
| virtual void | setData (SG::DataProxy *proxy) |
| void | changeState () |
| virtual void * | storable () const |
| virtual SG::DataProxy * | proxy () const |
| virtual ID_type | ID () const |
| virtual const CLID | classID () const |
| virtual IProxyDict * | source () const |
| Static Protected Member Functions inherited from DataProxyStorage< STORABLE > | |
| static IProxyDict * | getDataSource (std::string storeName) |
| static IProxyDict * | getDataSource (std::string storeName) |
| static IProxyDict * | getDataSource (std::string storeName) |
a persistable pointer to an element of a STORABLE (data object)
| STORABLE | host object type (e,g. vector<Elem>, NOT Elem), |
| StoragePolicy | STORABLE management policy (defaults to DataProxyStorage) |
| IndexingPolicy | policy to find the element in the host STORABLE IndexingPolicy is generated automatically for STL sequences (e.g. vector, DataList etc). For other types of containers (e.g. maps), the container author must define the container type using the macros in tools/DeclareIndexingPolicies.h Advanced developers may have to define an ad-hoc indexing policy (e.g. GenParticleIndexing in GeneratorObjects/McEventIndexingPolicy.h) |
Definition at line 37 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
| typedef const STORABLE& ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::BaseConstReference |
Definition at line 45 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
| typedef const STORABLE& ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::BaseConstReference |
Definition at line 45 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
| typedef const STORABLE& ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::BaseConstReference |
Definition at line 45 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementConstPointer ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementConstPointer |
Definition at line 49 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementConstPointer ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementConstPointer |
Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementConstPointer ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementConstPointer |
Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementConstReference ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementConstReference |
Definition at line 48 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementConstReference ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementConstReference |
Definition at line 48 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementConstReference ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementConstReference |
Definition at line 48 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementParameter ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementParameter |
Definition at line 47 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementParameter ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementParameter |
Definition at line 47 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementParameter ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementParameter |
Definition at line 47 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementPointer ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementPointer |
Definition at line 50 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementPointer ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementPointer |
Definition at line 50 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::ElementPointer ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ElementPointer |
Definition at line 50 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
| typedef std::string ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ID_type |
Definition at line 43 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
| typedef std::string ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ID_type |
Definition at line 43 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
| typedef std::string ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::ID_type |
Definition at line 43 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::index_type ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::index_type |
Definition at line 46 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::index_type ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::index_type |
Definition at line 46 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
| typedef IndexingPolicy::index_type ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::index_type |
Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
|
inline |
default
Definition at line 54 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
|
inline |
o(1) version: provide storable key and element index
Definition at line 58 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
|
inline |
o(1) version: provide storable key, element index AND element ptr USE CAREFULLY: no coherency checks, we just trust you!
Definition at line 63 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
|
inline |
o(1) version: provide index (identifier) of owned object and a pointer to the storable
| std::invalid_argument | when the element is not found |
Definition at line 68 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
|
inline |
default
Definition at line 54 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
|
inline |
o(1) version: provide storable key and element index
Definition at line 58 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
|
inline |
o(1) version: provide storable key, element index AND element ptr USE CAREFULLY: no coherency checks, we just trust you!
Definition at line 63 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
|
inline |
o(1) version: provide index (identifier) of owned object and a pointer to the storable
| std::invalid_argument | when the element is not found |
Definition at line 68 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
|
inline |
default
Definition at line 54 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
|
inline |
o(1) version: provide storable key and element index
Definition at line 58 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
|
inline |
o(1) version: provide storable key, element index AND element ptr USE CAREFULLY: no coherency checks, we just trust you!
Definition at line 63 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
|
inline |
o(1) version: provide index (identifier) of owned object and a pointer to the storable
| std::invalid_argument | when the element is not found |
Definition at line 68 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
| ElementConstPointer ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::cptr | ( | ) | const |
| ElementConstPointer ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::cptr | ( | ) | const |
| ElementConstPointer ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::cptr | ( | ) | const |
|
inline |
Definition at line 102 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
Referenced by ElementLink< STORABLE, PlainPtrStorage< STORABLE >, IndexingPolicy >::operator!().
|
inline |
Definition at line 102 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
|
inline |
Definition at line 102 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
|
inline |
Definition at line 99 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
|
inline |
Definition at line 99 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
|
inline |
Definition at line 99 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
|
inline |
Definition at line 103 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
|
inline |
Definition at line 103 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
|
inline |
Definition at line 103 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
| ElementConstReference ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::operator* | ( | ) | const |
| std::runtime_error | when the element is not found |
| ElementConstReference ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::operator* | ( | ) | const |
| std::runtime_error | when the element is not found |
| ElementConstReference ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::operator* | ( | ) | const |
| std::runtime_error | when the element is not found |
|
inline |
Definition at line 98 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
|
inline |
Definition at line 98 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
|
inline |
Definition at line 98 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
|
inline |
set link storable to data object pointed by data
Definition at line 90 of file Event/GeneratorObject/include/DataModel/ElementLink.h.
|
inline |
set link storable to data object pointed by data
Definition at line 90 of file InstallArea/x86_64-el9-gcc13-dbg/include/DataModel/ElementLink.h.
|
inline |
set link storable to data object pointed by data
Definition at line 90 of file InstallArea/x86_64-el9-gcc13-opt/include/DataModel/ElementLink.h.
| bool ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::toContainedElement | ( | BaseConstReference | data, |
| ElementParameter | element ) |
set link to point to given element: O(n) for sequences!
| bool ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::toContainedElement | ( | BaseConstReference | data, |
| ElementParameter | element ) |
set link to point to given element: O(n) for sequences!
| bool ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::toContainedElement | ( | BaseConstReference | data, |
| ElementParameter | element ) |
set link to point to given element: O(n) for sequences!
| void ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::toIndexedElement | ( | BaseConstReference | data, |
| index_type | elementID ) |
set link to point to given index: FAST
| void ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::toIndexedElement | ( | BaseConstReference | data, |
| index_type | elementID ) |
set link to point to given index: FAST
| void ElementLink< STORABLE, StoragePolicy, IndexingPolicy >::toIndexedElement | ( | BaseConstReference | data, |
| index_type | elementID ) |
set link to point to given index: FAST