17#define kInvalid THaVar::kInvalid
18#define kInvalidInt THaVar::kInvalidInt
43 const auto *
const pvec =
reinterpret_cast<const VecType*
>(
fValueP );
47 VecType::size_type
n = pvec->size();
48 if(
n >
static_cast<VecType::size_type
>(
kMaxInt) )
51#ifndef STDVECTOR_SIZE_INDEPENDENT_OF_TYPE
55 assert(
len*
sizeof(VecType::value_type) %
fElemSize == 0 );
67 const char*
const here =
"GetDataPointer()";
69 static_assert(
sizeof(
ULong_t) ==
sizeof(
void*),
"ULong_t must be of pointer size");
87 fSelf->
Error(
here,
"Null pointer in vector, variable %s, index %d. "
88 "Check detector code for bugs.",
GetName(), i );
100 obj = *
reinterpret_cast<void**
>(loc);
102 obj =
reinterpret_cast<void*
>(loc);
114 const auto *
const other =
dynamic_cast<const VectorObjVar*
>(&rhs);
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 UChar_t len
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
static const char *const here
const char * GetName() const
VectorObjVar(THaVar *pvar, const void *addr, VarType type, Int_t elem_size, Int_t offset)
virtual Bool_t HasSameSize(const Variable &rhs) const
virtual Int_t GetLen() const
virtual const void * GetDataPointer(Int_t i=0) const
virtual void Error(const char *method, const char *msgfmt,...) const