15 #ifndef PNDCONTAINERI_H 16 #define PNDCONTAINERI_H 44 virtual Bool_t
Init(
const TString &t_branchname) = 0;
51 virtual ssize_t
GetSize()
const = 0;
68 std::vector<T const *> result{};
69 result.reserve(this->
GetSize());
virtual T const * GetConstElementPtr(Int_t t_index) const =0
Get the Element object at t_index.
virtual ssize_t GetSize() const =0
Get the number of members in internal data.
std::vector< T const * > GetVectorOfPtrToConst() const
return vector of const ptrs pointing at internal data, to be used to access data independent of under...
virtual ~PndContainerI()
Destroy the PndContainerI object.
const TString & GetBranchName() const
Get the BranchName.
PndContainerI()
Construct a new PndContainerI object.
virtual Bool_t Init(const TString &t_branchname)=0
Init internal data.