Warning, file /include/root/TLeafF16.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_TLeafF16
0013 #define ROOT_TLeafF16
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #include "TLeaf.h"
0024
0025 class TStreamerElement;
0026
0027 class TLeafF16 : public TLeaf {
0028
0029 protected:
0030 Float16_t fMinimum;
0031 Float16_t fMaximum;
0032 Float16_t *fValue;
0033 Float16_t **fPointer;
0034 TStreamerElement *fElement;
0035
0036 public:
0037 TLeafF16();
0038 TLeafF16(TBranch *parent, const char *name, const char *type);
0039 ~TLeafF16() override;
0040
0041 DeserializeType GetDeserializeType() const override { return DeserializeType::kExternal; }
0042 void Export(TClonesArray *list, Int_t n) override;
0043 void FillBasket(TBuffer &b) override;
0044 const char *GetTypeName() const override { return "Float16_t"; }
0045 Double_t GetValue(Int_t i = 0) const override;
0046 void *GetValuePointer() const override { return fValue; }
0047 void Import(TClonesArray *list, Int_t n) override;
0048 void PrintValue(Int_t i = 0) const override;
0049 void ReadBasket(TBuffer &b) override;
0050 void ReadBasketExport(TBuffer &b, TClonesArray *list, Int_t n) override;
0051 void ReadValue(std::istream &s, Char_t delim = ' ') override;
0052 void SetAddress(void *add = nullptr) override;
0053
0054 ClassDefOverride(TLeafF16, 1);
0055 };
0056
0057
0058
0059 inline Double_t TLeafF16::GetValue(Int_t i) const
0060 {
0061 return fValue[i];
0062 }
0063
0064 #endif