#include <TestTypesB.h>
|
| static constexpr bool | must_own |
| | If true, then this type must own its contents.
|
|
| 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.
|
|
| 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.
|
Definition at line 45 of file TestTypesB.h.
◆ allocator_type
◆ base_value_type
◆ BaseContainer
◆ const_iterator
◆ const_pointer
◆ const_reference
◆ const_reverse_iterator
◆ const_value_type
◆ difference_type
◆ DVL_BASE
◆ Pers_t
The old persistent form of this class.
Definition at line 91 of file ViewVector.h.
◆ pointer
◆ reference
◆ size_type
Basic types, forwarded from the base.
Definition at line 70 of file ViewVector.h.
◆ unique_type
◆ value_type
◆ TestBContainerView()
| TrigNavTest::TestBContainerView::TestBContainerView |
( |
| ) |
|
|
inline |
Definition at line 47 of file TestTypesB.h.
ViewVector(SG::OwnershipPolicy ownPolicy=SG::VIEW_ELEMENTS)
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
◆ clear()
◆ clearPersistent()
| void SG::ViewVectorBase::clearPersistent |
( |
| ) |
|
|
inherited |
Clear the persistent data.
◆ doToPersistent()
template<class DV>
| void SG::ViewVectorBase::doToPersistent |
( |
DV & | v | ) |
|
|
protectedinherited |
Convert to persistent form.
- Parameters
-
This will abort if called for a class with no CLID.
◆ doToPersistent1() [1/2]
template<class DV>
| void SG::ViewVectorBase::doToPersistent1 |
( |
DV & | , |
|
|
const std::false_type & | ) |
|
protectedinherited |
Convert to persistent form.
- Parameters
-
Called for classes that do not have a CLID. This will simply abort.
◆ doToPersistent1() [2/2]
template<class DV>
| void SG::ViewVectorBase::doToPersistent1 |
( |
DV & | v, |
|
|
const std::true_type & | ) |
|
protectedinherited |
Convert to persistent form.
- Parameters
-
Called for classes that have a CLID.
◆ doToTransient()
template<class DV>
| void SG::ViewVectorBase::doToTransient |
( |
DV & | v | ) |
|
|
inlineprotectedinherited |
Convert to persistent form.
- Parameters
-
Dispatch based on whether the class has a CLID.
Definition at line 157 of file ViewVectorBase.h.
158 {
159#ifdef XAOD_STANDALONE
161#else
163#endif
164 }
void doToTransient1(DV &v, const std::true_type &)
Convert to persistent form.
std::false_type has_classID_tag
◆ doToTransient1() [1/2]
template<class DV>
| void SG::ViewVectorBase::doToTransient1 |
( |
DV & | , |
|
|
const std::false_type & | ) |
|
inlineprotectedinherited |
Convert to transient form.
- Parameters
-
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.
◆ doToTransient1() [2/2]
template<class DV>
| void SG::ViewVectorBase::doToTransient1 |
( |
DV & | v, |
|
|
const std::true_type & | ) |
|
inlineprotectedinherited |
Convert to persistent form.
- Parameters
-
Class has a CLID; dispatch based on whether DV is a ConstDataVector.
Definition at line 131 of file ViewVectorBase.h.
132 {
133 doToTransient2 (v, std::is_same<DV, typename DV::base_data_vector>());
134 }
void doToTransient2(DV &v, const std::true_type &)
Convert to transient form.
◆ doToTransient2() [1/2]
template<class DV>
| void SG::ViewVectorBase::doToTransient2 |
( |
DV & | , |
|
|
const std::false_type & | ) |
|
inlineprotectedinherited |
◆ doToTransient2() [2/2]
template<class DV>
| void SG::ViewVectorBase::doToTransient2 |
( |
DV & | v, |
|
|
const std::true_type & | ) |
|
protectedinherited |
Convert to transient form.
- Parameters
-
Called for classes that have a CLID if DV is not a ConstDataVector.
◆ registerBaseInit()
Helper to ensure that the inheritance information for this class gets initialized.
◆ setClearOnPersistent()
| void SG::ViewVectorBase::setClearOnPersistent |
( |
| ) |
|
|
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.
◆ toPersistent()
◆ toTransient()
◆ m_clearOnPersistent
| bool SG::ViewVectorBase::m_clearOnPersistent = false |
|
privateinherited |
If true, the vector should be cleared when doPersistent is called.
Definition at line 176 of file ViewVectorBase.h.
◆ m_persIndex
| std::vector<unsigned int> SG::ViewVectorBase::m_persIndex |
|
privateinherited |
◆ m_persKey
| std::vector<sgkey_t> SG::ViewVectorBase::m_persKey |
|
privateinherited |
◆ must_own
If true, then this type must own its contents.
Definition at line 88 of file ViewVector.h.
The documentation for this class was generated from the following file: