![]() |
PandaRoot
|
PndSTDMutableContainer implementation of PndMutableContainerI<T> for FairRootManager and std::vector<T> More...
#include <PndSTDMutableContainer.h>
Public Member Functions | |
PndSTDMutableContainer (const TString &t_foldername="", Bool_t t_persistency=kTRUE) | |
Construct a new PndSTDMutableContainer object. More... | |
virtual | ~PndSTDMutableContainer () |
Destroy the PndSTDMutableContainer object. More... | |
virtual T * | GetElement (Int_t t_idx) const final |
Get the t_idx Element. More... | |
virtual ssize_t | GetSize () const final |
Get the number of elements. More... | |
virtual T * | CreateCopy (const T &t_element) |
Create a Copy object of t_element and return pointer to copy. More... | |
virtual void | RemoveAt (Int_t t_index) final |
remove t_index element More... | |
virtual void | Compress () |
Compress. More... | |
virtual void | Reset () final |
"Delete" all elements More... | |
void | SetData (std::vector< T > *t_container) |
Set the Data. More... | |
std::vector< T > * | GetData () |
Get the Data. More... | |
![]() | |
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... | |
![]() | |
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 |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
TString | fFolderName {""} |
Bool_t | fPersistency {kFALSE} |
![]() | |
TString | fBranchName {""} |
PndSTDMutableContainer implementation of PndMutableContainerI<T> for FairRootManager and std::vector<T>
Output data registered with FairRootManager as (std::vector<T> *)
T |
Definition at line 37 of file PndSTDMutableContainer.h.
|
inline |
Construct a new PndSTDMutableContainer object.
const | TString &t_foldername = "" |
Bool_t | t_persistency = kTRUE |
Definition at line 45 of file PndSTDMutableContainer.h.
|
inlinevirtual |
Destroy the PndSTDMutableContainer object.
Definition at line 51 of file PndSTDMutableContainer.h.
|
inlinevirtual |
Compress.
Reimplemented from PndMutableContainerI< T >.
Definition at line 113 of file PndSTDMutableContainer.h.
|
inlinevirtual |
Create a Copy object of t_element and return pointer to copy.
const | T &t_element |
Implements PndMutableContainerI< T >.
Definition at line 86 of file PndSTDMutableContainer.h.
Referenced by TestOutWithSTDTask::Exec().
|
inline |
|
inlinefinalvirtual |
Get the t_idx Element.
Int_t | t_idx |
Implements PndMutableContainerI< T >.
Definition at line 59 of file PndSTDMutableContainer.h.
Referenced by PndSTDMutableContainer< FairTimeStamp >::CreateCopy().
|
inlinefinalvirtual |
Get the number of elements.
Implements PndContainerBaseI.
Definition at line 72 of file PndSTDMutableContainer.h.
Referenced by PndSTDMutableContainer< FairTimeStamp >::CreateCopy().
|
inlinefinalvirtual |
remove t_index element
Int_t | t_index |
Implements PndMutableContainerI< T >.
Definition at line 102 of file PndSTDMutableContainer.h.
|
inlinefinalvirtual |
"Delete" all elements
Implements PndMutableContainerI< T >.
Definition at line 119 of file PndSTDMutableContainer.h.
Referenced by TestOutWithSTDTask::Exec().
|
inline |
Set the Data.
std::vector<T> | *t_container |
Definition at line 131 of file PndSTDMutableContainer.h.
Referenced by TestOutWithSTDTask::Init().