Warning, file /include/root/TLeafD32.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TLeafD32
0013 #define ROOT_TLeafD32
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #include "TLeaf.h"
0024
0025 class TStreamerElement;
0026
0027
0028 class TLeafD32 : public TLeaf {
0029
0030 protected:
0031 Double32_t fMinimum;
0032 Double32_t fMaximum;
0033 Double32_t *fValue;
0034 Double32_t **fPointer;
0035 TStreamerElement *fElement;
0036
0037 public:
0038 TLeafD32();
0039 TLeafD32(TBranch *parent, const char *name, const char *type);
0040 ~TLeafD32() override;
0041
0042 DeserializeType GetDeserializeType() const override { return DeserializeType::kExternal; }
0043 void Export(TClonesArray *list, Int_t n) override;
0044 void FillBasket(TBuffer &b) override;
0045 const char *GetTypeName() const override { return "Double32_t"; }
0046 Double_t GetValue(Int_t i = 0) const override;
0047 void *GetValuePointer() const override { return fValue; }
0048 void Import(TClonesArray *list, Int_t n) override;
0049 void PrintValue(Int_t i = 0) const override;
0050 void ReadBasket(TBuffer &b) override;
0051 void ReadBasketExport(TBuffer &b, TClonesArray *list, Int_t n) override;
0052 void ReadValue(std::istream &s, Char_t delim = ' ') override;
0053 void SetAddress(void *add = nullptr) override;
0054
0055 ClassDefOverride(TLeafD32, 1);
0056 };
0057
0058
0059
0060 inline Double_t TLeafD32::GetValue(Int_t i) const
0061 {
0062 return fValue[i];
0063 }
0064
0065 #endif