1 #ifndef PNDCONSTCONTAINERI_HH 2 #define PNDCONSTCONTAINERI_HH 26 virtual T
const *
GetElement(Int_t t_index)
const = 0;
43 std::vector<T const *> result{};
44 result.reserve(this->
GetSize());
PndConstContainerI()
Construct a new PndConstContainerI object.
virtual T const * GetConstElementPtr(Int_t t_index) const
Get the Element object at t_index.
virtual ssize_t GetSize() const =0
Get the number of members in internal data.
virtual T const * GetElement(Int_t t_index) const =0
Get the Element object at t_index.
Interface to a datacontainer to be used in PandaROOT.
std::vector< T const * > GetVector() const
return vector of ptrs pointing at internal data, to be used to access data independent of underlying ...