Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
VectorObjVar.h
Go to the documentation of this file.
1#ifndef Podd_VectorObjVar_h_
2#define Podd_VectorObjVar_h_
3
5//
6// VectorObjVar
7//
8// A "global variable" referencing data in objects held in a std::vector.
9//
11
12#include "SeqCollectionVar.h"
13
14namespace Podd {
15
16 class VectorObjVar : virtual public SeqCollectionVar {
17
18 public:
19 VectorObjVar( THaVar* pvar, const void* addr, VarType type,
20 Int_t elem_size, Int_t offset );
21
22 virtual Int_t GetLen() const;
23 virtual const void* GetDataPointer( Int_t i = 0 ) const;
24 virtual Bool_t HasSameSize( const Variable& rhs ) const;
25
26 protected:
27 Int_t fElemSize; // Size of one vector element. If 0, assume pointers
28 // (This is Int_t, not size_t, because that's what
29 // TClass::GetClassSize() returns)
30 };
31
32}// namespace Podd
33
34#endif
int Int_t
bool Bool_t
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
virtual Bool_t HasSameSize(const Variable &rhs) const
virtual Int_t GetLen() const
virtual const void * GetDataPointer(Int_t i=0) const