33 for(
unsigned int i=0; i<this->
size(); i++){
34 if( this->
at(i)->isEqualTo( book ) ){
return this->
at(i); }
43 for(
unsigned int i=0; i<coll->
size(); i++){
66 auto CopyFLAT = std::make_unique<EventBookkeeperCollection>();
69 CopyFLAT->push_back( tmp );
73 for(
unsigned int i=0; i<CopyFLAT->size(); i++){
74 if(CopyFLAT->at(i)->m_childrenIndices->size()>0){
76 std::vector<unsigned int>* childrenIndices=CopyFLAT->at(i)->m_childrenIndices;
77 for(
unsigned int j=0; j<childrenIndices->size(); j++){
78 CopyFLAT->at(childrenIndices->at(j))->m_parentIndex=i;
83 return CopyFLAT.release();
const EventBookkeeper * at(size_type n) const
value_type push_back(value_type pElem)
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
size_type size() const noexcept
DataVector & operator=(const DataVector &rhs)
Assignment operator.
void UpdateFromColl(const EventBookkeeperCollection *coll)
EventBookkeeper * GetElement(const EventBookkeeper *book)
EventBookkeeperCollection & operator=(const EventBookkeeperCollection &rhs)
EventBookkeeperCollection()
Constructors.
EventBookkeeperCollection * GetCopyWithFlatStructure()
void fillWithWholeFamily(EventBookkeeperCollection *family)
EventBookkeeper * DeepCopyForFlatStructure(EventBookkeeperCollection *collFLAT)
void updateAcceptedEventsIncludingFamily(const EventBookkeeper *eb)
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts