34 MsgStream&
msg )
const
44 const std::size_t nJetSampling = pers->size();
45 if (
pool.capacity() -
pool.allocated() < nJetSampling ) {
46 pool.reserve(
pool.allocated() + nJetSampling );
50 for ( JetSamplingCollection_p2::const_iterator
66 MsgStream&
msg )
const
71 std::size_t size = trans->
size();
76 JetSamplingCollection_p2::iterator persItr = pers->begin();
79 ++persItr; ++transItr; --size;
static const JetSamplingCnv_p1 jetSamplingCnv
a typed memory pool that saves time spent allocation small object.
DataModel_detail::const_iterator< DataVector > const_iterator
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
void clear()
Erase all the elements in the collection.
virtual void persToTrans(const JetSamplingCollection_p2 *pers, JetSamplingCollection *trans, MsgStream &msg) const override
Method creating the transient representation of JetSamplingCollection from its persistent representat...
virtual void transToPers(const JetSamplingCollection *trans, JetSamplingCollection_p2 *pers, MsgStream &msg) const override
Method creating the persistent representation JetSamplingCollection_p2 from its transient representat...
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts