![]() |
ATLAS Offline Software
|
#include <TestTypesB.h>
Public Types | |
| typedef TestBContainer::size_type | size_type |
| Basic types, forwarded from the base. | |
| typedef TestBContainer::difference_type | difference_type |
| typedef TestBContainer::allocator_type | allocator_type |
| typedef TestBContainer::base_value_type | base_value_type |
| typedef TestBContainer::BaseContainer | BaseContainer |
| typedef TestBContainer::DVL_BASE | DVL_BASE |
| typedef TestBContainer::const_iterator | const_iterator |
| typedef TestBContainer::const_reverse_iterator | const_reverse_iterator |
| typedef TestBContainer::value_type | value_type |
| typedef TestBContainer::const_value_type | const_value_type |
| typedef TestBContainer::reference | reference |
| typedef TestBContainer::const_reference | const_reference |
| typedef TestBContainer::pointer | pointer |
| typedef TestBContainer::const_pointer | const_pointer |
| typedef TestBContainer::unique_type | unique_type |
| typedef std::vector< ElementLink< TestBContainer > > | Pers_t |
| The old persistent form of this class. | |
Public Member Functions | |
| TestBContainerView () | |
| void | clearPersistent () |
| Clear the persistent data. | |
| void | setClearOnPersistent () |
| Set a flag to declare that the vector should be cleared on the next call to toPersistent(). | |
Static Public Attributes | |
| static constexpr bool | must_own |
| If true, then this type must own its contents. | |
Protected Member Functions | |
| template<class DV> | |
| void | doToPersistent1 (DV &v, const std::true_type &) |
| Convert to persistent form. | |
| template<class DV> | |
| void | doToPersistent1 (DV &, const std::false_type &) |
| Convert to persistent form. | |
| template<class DV> | |
| void | doToPersistent (DV &v) |
| Convert to persistent form. | |
| template<class DV> | |
| void | doToTransient2 (DV &v, const std::true_type &) |
| Convert to transient form. | |
| template<class DV> | |
| void | doToTransient2 (DV &, const std::false_type &) |
| Convert to transient form. | |
| template<class DV> | |
| void | doToTransient1 (DV &v, const std::true_type &) |
| Convert to persistent form. | |
| template<class DV> | |
| void | doToTransient1 (DV &, const std::false_type &) |
| Convert to transient form. | |
| template<class DV> | |
| void | doToTransient (DV &v) |
| Convert to persistent form. | |
Private Attributes | |
| std::vector< sgkey_t > | m_persKey |
| The persistent form. (sgkey, index). | |
| std::vector< unsigned int > | m_persIndex |
| bool | m_clearOnPersistent = false |
| If true, the vector should be cleared when doPersistent is called. | |
Constructors, destructors, assignment. | |
| void | clear (SG::OwnershipPolicy ownPolicy) |
| virtual void | toPersistent () override |
| Convert the vector to persistent form. | |
| virtual void | toTransient () override |
| Convert the vector to transient form. | |
| *Helper to ensure that the inheritance information for this class gets initialized void | registerBaseInit () |
Definition at line 45 of file TestTypesB.h.
|
inherited |
Definition at line 72 of file ViewVector.h.
|
inherited |
Definition at line 73 of file ViewVector.h.
|
inherited |
Definition at line 74 of file ViewVector.h.
|
inherited |
Definition at line 76 of file ViewVector.h.
|
inherited |
Definition at line 83 of file ViewVector.h.
|
inherited |
Definition at line 81 of file ViewVector.h.
|
inherited |
Definition at line 77 of file ViewVector.h.
|
inherited |
Definition at line 79 of file ViewVector.h.
|
inherited |
Definition at line 71 of file ViewVector.h.
|
inherited |
Definition at line 75 of file ViewVector.h.
|
inherited |
The old persistent form of this class.
Definition at line 91 of file ViewVector.h.
|
inherited |
Definition at line 82 of file ViewVector.h.
|
inherited |
Definition at line 80 of file ViewVector.h.
|
inherited |
Basic types, forwarded from the base.
Definition at line 70 of file ViewVector.h.
|
inherited |
Definition at line 84 of file ViewVector.h.
|
inherited |
Definition at line 78 of file ViewVector.h.
|
inline |
Definition at line 47 of file TestTypesB.h.
|
inherited |
|
inherited |
Clear the persistent data.
|
protectedinherited |
Convert to persistent form.
| v | The vector to convert. |
This will abort if called for a class with no CLID.
|
protectedinherited |
Convert to persistent form.
| v | The vector to convert. |
Called for classes that do not have a CLID. This will simply abort.
|
protectedinherited |
|
inlineprotectedinherited |
Convert to persistent form.
| v | The vector to convert. |
Dispatch based on whether the class has a CLID.
Definition at line 157 of file ViewVectorBase.h.
|
inlineprotectedinherited |
Convert to transient form.
| v | The vector to fill in. |
Called for the case that DV doesn't have a CLID. A no-op.
This is also what will get called for the case of an older version of a schema-evolved vector.
Definition at line 147 of file ViewVectorBase.h.
|
inlineprotectedinherited |
Convert to persistent form.
| v | The vector to convert. |
Class has a CLID; dispatch based on whether DV is a ConstDataVector.
Definition at line 131 of file ViewVectorBase.h.
|
inlineprotectedinherited |
Convert to transient form.
| v | The vector to fill in. |
Called for the case that DV is not a ConstDataVector. A no-op.
Definition at line 121 of file ViewVectorBase.h.
|
protectedinherited |
Convert to transient form.
| v | The vector to fill in. |
Called for classes that have a CLID if DV is not a ConstDataVector.
|
privateinherited |
|
inherited |
Set a flag to declare that the vector should be cleared on the next call to toPersistent().
This would be used in the case where we make a copy of the object being written.
|
overridevirtualinherited |
Convert the vector to persistent form.
Implements SG::ViewVectorBase.
|
overridevirtualinherited |
Convert the vector to transient form.
Implements SG::ViewVectorBase.
|
privateinherited |
If true, the vector should be cleared when doPersistent is called.
Definition at line 176 of file ViewVectorBase.h.
|
privateinherited |
Definition at line 173 of file ViewVectorBase.h.
|
privateinherited |
The persistent form. (sgkey, index).
Definition at line 172 of file ViewVectorBase.h.
|
staticconstexprinherited |
If true, then this type must own its contents.
Definition at line 88 of file ViewVector.h.