Logo ROOT   6.08/07
Reference Guide
TFunctionTemplate.h
Go to the documentation of this file.
1 // @(#)root/meta:
2 // Author: Philippe Canal November 2013.
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TFunctionTemplate
13 #define ROOT_TFunctionTemplate
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TFunctionTemplate //
19 // //
20 // Dictionary for function template //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #ifndef ROOT_TDictionary
25 #include "TDictionary.h"
26 #endif
27 
29 protected:
30  FuncTempInfo_t *fInfo; // pointer to Interpreter function template info
31  TClass *fClass; //pointer to the class (if any).
32 
33 public:
34  TFunctionTemplate(FuncTempInfo_t *info, TClass *cl);
37  virtual ~TFunctionTemplate();
38  virtual TObject *Clone(const char *newname="") const;
39 
40  DeclId_t GetDeclId() const;
41  UInt_t GetTemplateNargs() const;
43 
44  virtual Bool_t IsValid();
45  Long_t Property() const;
46 
47  virtual bool Update(FuncTempInfo_t *info);
48 
49  ClassDef(TFunctionTemplate,0) //Dictionary for function template
50 
51 };
52 
53 #endif
TFunctionTemplate & operator=(const TFunctionTemplate &rhs)
Assignment operator.
DeclId_t GetDeclId() const
TFunctionTemplate(FuncTempInfo_t *info, TClass *cl)
Default TFunctionTemplate ctor.
Dictionary for function template This class describes one single function template.
bool Bool_t
Definition: RtypesCore.h:59
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
virtual bool Update(FuncTempInfo_t *info)
Update the TFunctionTemplate to reflect the new info.
const void * DeclId_t
Definition: TDictionary.h:209
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual TObject * Clone(const char *newname="") const
Clone method.
UInt_t GetTemplateMinReqArgs() const
Number of function optional (default) arguments.
This class defines an abstract interface that must be implemented by all classes that contain diction...
Definition: TDictionary.h:162
unsigned int UInt_t
Definition: RtypesCore.h:42
The ROOT global object gROOT contains a list of all defined classes.
Definition: TClass.h:81
FuncTempInfo_t * fInfo
virtual Bool_t IsValid()
Return true if this function template object is pointing to a currently loaded function.
UInt_t GetTemplateNargs() const
Number of function arguments.
virtual ~TFunctionTemplate()
TFunctionTemplate dtor deletes adopted CINT FuncTempInfo.
long Long_t
Definition: RtypesCore.h:50
Mother of all ROOT objects.
Definition: TObject.h:37