![]() |
PandaRoot
|
PndSTDOutputContainer implementation of PndOutputContainerI<T> for FairRootManager and std::vector<T> More...
#include <PndSTDOutputContainer.h>
Public Member Functions | |
| PndSTDOutputContainer (const TString &t_foldername="", Bool_t t_persistency=kTRUE) | |
| Construct a new PndSTDOutputContainer object. More... | |
| virtual | ~PndSTDOutputContainer () |
| Destroy the PndSTDOutputContainer object. More... | |
| virtual Bool_t | Init (const TString &t_branchname) final |
| Register t_branchname as std::vector<T> * with the FairRootManager. 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... | |
Public Member Functions inherited from PndOutputContainerI< T > | |
| PndOutputContainerI (const TString &t_foldername="", Bool_t t_persistency=kTRUE) | |
| Construct a new PndOutputContainerI object. More... | |
| fFolderName (t_foldername) | |
| fPersistency (t_persistency) | |
| virtual | ~PndOutputContainerI () |
| Destroy the PndOutputContainerI 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... | |
| const TString & | GetBranchName () const |
| Get the BranchName. More... | |
Additional Inherited Members | |
Protected Attributes inherited from PndOutputContainerI< T > | |
| TString | fFolderName {""} |
| Bool_t | fPersistency {kFALSE} |
Protected Attributes inherited from PndContainerI< T > | |
| TString | fBranchName {""} |
PndSTDOutputContainer implementation of PndOutputContainerI<T> for FairRootManager and std::vector<T>
Output data registered with FairRootManager as (std::vector<T> *)
| T |
Definition at line 35 of file PndSTDOutputContainer.h.
|
inline |
Construct a new PndSTDOutputContainer object.
| const | TString &t_foldername = "" |
| Bool_t | t_persistency = kTRUE |
Definition at line 43 of file PndSTDOutputContainer.h.
|
inlinevirtual |
Destroy the PndSTDOutputContainer object.
Definition at line 49 of file PndSTDOutputContainer.h.
|
inlinevirtual |
Compress.
Reimplemented from PndOutputContainerI< T >.
Definition at line 136 of file PndSTDOutputContainer.h.
|
inlinevirtual |
Create a Copy object of t_element and return pointer to copy.
| const | T &t_element |
Implements PndOutputContainerI< T >.
Definition at line 109 of file PndSTDOutputContainer.h.
Referenced by TestOutWithSTDTask::Exec().
|
inline |
|
inlinefinalvirtual |
Get the t_idx Element.
| Int_t | t_idx |
Implements PndOutputContainerI< T >.
Definition at line 82 of file PndSTDOutputContainer.h.
Referenced by PndSTDOutputContainer< FairTimeStamp >::CreateCopy().
|
inlinefinalvirtual |
Get the number of elements.
Implements PndContainerI< T >.
Definition at line 95 of file PndSTDOutputContainer.h.
Referenced by PndSTDOutputContainer< FairTimeStamp >::CreateCopy().
|
inlinefinalvirtual |
Register t_branchname as std::vector<T> * with the FairRootManager.
| const | TString &t_branchname |
Implements PndContainerI< T >.
Definition at line 56 of file PndSTDOutputContainer.h.
Referenced by TestOutWithSTDTask::Init().
|
inlinefinalvirtual |
remove t_index element
| Int_t | t_index |
Implements PndOutputContainerI< T >.
Definition at line 125 of file PndSTDOutputContainer.h.
|
inlinefinalvirtual |
"Delete" all elements
Implements PndOutputContainerI< T >.
Definition at line 142 of file PndSTDOutputContainer.h.
Referenced by TestOutWithSTDTask::Exec().
|
inline |
Set the Data.
| std::vector<T> | *t_container |
Definition at line 154 of file PndSTDOutputContainer.h.