![]() |
PandaRoot
|
#include <PndMutableContainer.h>
Public Member Functions | |
| PndMutableContainer (const TString &t_foldername="", Bool_t t_persistency=kTRUE) | |
| Construct a new PndMutableContainer object. More... | |
| virtual | ~PndMutableContainer () |
| Destroy the PndMutableContainer object. More... | |
| void | SetContainer (PndMutableContainerI< T > *t_container) |
| Set the Output Container object. More... | |
| virtual void | Reset () final |
| Reset data. More... | |
| virtual T * | CreateCopy (const T &t_data) final |
| Create a copy of t_data in internal data and return ptr to it. More... | |
| virtual void | RemoveAt (Int_t t_index) final |
| Delete object at t_index in internal data. More... | |
| virtual ssize_t | GetSize () const final |
| Get the number of members in internal data. More... | |
| virtual T * | GetElement (Int_t t_index) const final |
| Get the Element object at t_index. More... | |
| virtual void | Compress () |
| Compress. More... | |
Public Member Functions inherited from PndMutableContainerI< T > | |
| PndMutableContainerI (const TString &t_foldername="", Bool_t t_persistency=kTRUE) | |
| Construct a new PndMutableContainerI object. More... | |
| fFolderName (t_foldername) | |
| fPersistency (t_persistency) | |
| virtual | ~PndMutableContainerI () |
| Destroy the PndMutableContainerI object. More... | |
| virtual T const * | GetConstElementPtr (Int_t t_index) const |
| Get the Element object at t_index. More... | |
| std::vector< T * > | GetVector () const |
| return vector of ptrs pointing at internal data, to be used to access data independent of underlying data container More... | |
| void | SetFolderName (const TString &t_foldername) |
| Set the FolderName. More... | |
| void | SetPersistency (Bool_t t_persistency) |
| Set the Persistency of the data. More... | |
| const TString & | GetFolderName () const |
| Get the Folder Name. More... | |
| Bool_t | GetPersistency () const |
| Get the Persistency of the data. More... | |
Public Member Functions inherited from PndContainerI< T > | |
| PndContainerI () | |
| Construct a new PndContainerI object. More... | |
| virtual | ~PndContainerI () |
| Destroy the PndContainerI object. More... | |
| std::vector< T const * > | GetVectorOfPtrToConst () const |
| return vector of const ptrs pointing at internal data, to be used to access data independent of underlying data container More... | |
| TString | GetClassName () const |
Public Member Functions inherited from PndContainerBaseI | |
| PndContainerBaseI () | |
| Construct a new PndContainerBaseI object. More... | |
| virtual | ~PndContainerBaseI () |
| Destroy the PndContainerBaseI object. More... | |
| const TString & | GetBranchName () const |
| Get the BranchName. More... | |
| void | SetBranchName (const TString &t_branchname) |
| Set the Branch Name. More... | |
Protected Attributes | |
| std::unique_ptr< PndMutableContainerI< T > > | fImp {nullptr} |
Protected Attributes inherited from PndMutableContainerI< T > | |
| TString | fFolderName {""} |
| Bool_t | fPersistency {kFALSE} |
Protected Attributes inherited from PndContainerBaseI | |
| TString | fBranchName {""} |
Definition at line 24 of file PndMutableContainer.h.
|
inline |
Construct a new PndMutableContainer object.
| const | TString &t_foldername : Name of folder |
| Bool_t | t_persistency : Should date be stored to file |
Definition at line 33 of file PndMutableContainer.h.
|
inlinevirtual |
|
inlinevirtual |
Compress.
Reimplemented from PndMutableContainerI< T >.
Definition at line 118 of file PndMutableContainer.h.
References PndMutableContainer< T >::fImp.
|
inlinefinalvirtual |
Create a copy of t_data in internal data and return ptr to it.
| t_data |
Implements PndMutableContainerI< T >.
Definition at line 67 of file PndMutableContainer.h.
References PndMutableContainer< T >::fImp.
|
inlinefinalvirtual |
Get the Element object at t_index.
| t_index |
Implements PndMutableContainerI< T >.
Definition at line 106 of file PndMutableContainer.h.
References PndMutableContainer< T >::fImp.
|
inlinefinalvirtual |
Get the number of members in internal data.
Implements PndContainerBaseI.
Definition at line 92 of file PndMutableContainer.h.
References PndMutableContainer< T >::fImp.
|
inlinefinalvirtual |
Delete object at t_index in internal data.
| t_index |
Implements PndMutableContainerI< T >.
Definition at line 80 of file PndMutableContainer.h.
References PndMutableContainer< T >::fImp.
|
inlinefinalvirtual |
Reset data.
Should delete current data
Implements PndMutableContainerI< T >.
Definition at line 54 of file PndMutableContainer.h.
References PndMutableContainer< T >::fImp.
|
inline |
Set the Output Container object.
| t_container |
Definition at line 46 of file PndMutableContainer.h.
References PndMutableContainer< T >::fImp.
|
protected |
Definition at line 126 of file PndMutableContainer.h.
Referenced by PndMutableContainer< T >::Compress(), PndMutableContainer< T >::CreateCopy(), PndMutableContainer< T >::GetElement(), PndMutableContainer< T >::GetSize(), PndMutableContainer< T >::RemoveAt(), PndMutableContainer< T >::Reset(), and PndMutableContainer< T >::SetContainer().