13 #ifndef ROOT_TTreeFormula 14 #define ROOT_TTreeFormula 64 kIsCharacter =
BIT(12),
65 kMissingLeaf =
BIT(15),
67 kNeedEntries =
BIT(18)
71 kIndexOfEntry, kEntries, kLength, kIteration, kLengthFunc,
kSum, kEntryList,
82 kAlternateString = 203,
135 void Init(
const char *
name,
const char *formula);
137 Int_t DefineAlternate(
const char* expression);
139 Int_t FindLeafForExpression(
const char* expression,
TLeaf *&leaf,
TString &leftover,
Bool_t &
final,
UInt_t ¶n_level,
TObjArray &castqueue, std::vector<std::string>& aliasUsed,
Bool_t &useLeafCollectionObject,
const char *fullExpression);
140 TLeaf* GetLeafWithDatamember(
const char* topchoice,
const char* nextchice,
Long64_t readentry)
const;
146 Int_t RegisterDimensions(
const char *size,
Int_t code);
149 virtual void* GetValuePointerFromMethod(
Int_t i,
TLeaf *leaf)
const;
154 void ResetDimensions();
163 void Convert(
UInt_t fromVersion);
170 template<
typename T>
T GetConstant(
Int_t k);
178 virtual TClass* EvalClass()
const;
180 template<
typename T>
T EvalInstance(
Int_t i=0,
const char *stringStack[]=0);
185 virtual const char *EvalStringInstance(
Int_t i=0);
186 virtual void* EvalObject(
Int_t i=0);
194 virtual Int_t GetNdata();
202 virtual Bool_t IsString()
const;
204 virtual char *PrintValue(
Int_t mode=0)
const;
205 virtual char *PrintValue(
Int_t mode,
Int_t instance,
const char *decform =
"9.9")
const;
206 virtual void SetAxis(
TAxis *axis=0);
209 virtual void ResetLoading();
211 virtual void UpdateFormulaLeaves();
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
All ROOT classes may have RTTI (run time type identification) support added.
A TLeaf for a general object derived from TObject.
Array of integers (32 bits per element).
#define ClassDef(name, id)
Method or function calling interface.
Class to manage histogram axis.
The ROOT global object gROOT contains a list of all defined classes.
A Branch for the case of an object.
Binding & operator=(OUT(*fun)(void))
A TTree object has a header with a name and a title.
A TTree is a list of TBranches.