PandaRoot
PndContainerBaseI.h
Go to the documentation of this file.
1 
15 #ifndef PNDCONTAINERBASEI_H
16 #define PNDCONTAINERBASEI_H
17 
18 #include <vector>
19 
20 #include "TString.h"
21 
23 
24  public:
36  virtual ~PndContainerBaseI(){};
37 
43  virtual ssize_t GetSize() const = 0;
44 
50  const TString &GetBranchName() const { return fBranchName; }
51 
57  void SetBranchName(const TString &t_branchname) { fBranchName = t_branchname; }
58 
59  protected:
60  TString fBranchName{""};
61 };
62 
63 #endif /*PNDCONTAINERBASEI_H*/
const TString & GetBranchName() const
Get the BranchName.
virtual ssize_t GetSize() const =0
Get the number of members in internal data.
virtual ~PndContainerBaseI()
Destroy the PndContainerBaseI object.
void SetBranchName(const TString &t_branchname)
Set the Branch Name.
PndContainerBaseI()
Construct a new PndContainerBaseI object.