Logo ROOT  
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 #include "TDictionary.h"
25 
27 protected:
28  FuncTempInfo_t *fInfo; // pointer to Interpreter function template info
29  TClass *fClass; //pointer to the class (if any).
30 
31 public:
32  TFunctionTemplate(FuncTempInfo_t *info, TClass *cl);
35  virtual ~TFunctionTemplate();
36  virtual TObject *Clone(const char *newname="") const;
37 
38  DeclId_t GetDeclId() const;
39  UInt_t GetTemplateNargs() const;
41 
42  virtual Bool_t IsValid();
43  Long_t Property() const;
44  Long_t ExtraProperty() const;
45 
46  virtual bool Update(FuncTempInfo_t *info);
47 
48  ClassDef(TFunctionTemplate,0) //Dictionary for function template
49 
50 };
51 
52 #endif
TFunctionTemplate::Update
virtual bool Update(FuncTempInfo_t *info)
Update the TFunctionTemplate to reflect the new info.
Definition: TFunctionTemplate.cxx:148
TFunctionTemplate::GetDeclId
DeclId_t GetDeclId() const
Definition: TFunctionTemplate.cxx:137
TFunctionTemplate::Property
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
Definition: TFunctionTemplate.cxx:122
bool
TFunctionTemplate::fClass
TClass * fClass
Definition: TFunctionTemplate.h:29
TDictionary.h
TFunctionTemplate::Clone
virtual TObject * Clone(const char *newname="") const
Clone method.
Definition: TFunctionTemplate.cxx:75
TFunctionTemplate::GetTemplateMinReqArgs
UInt_t GetTemplateMinReqArgs() const
Number of function optional (default) arguments.
Definition: TFunctionTemplate.cxx:113
TFunctionTemplate::IsValid
virtual Bool_t IsValid()
Return true if this function template object is pointing to a currently loaded function.
Definition: TFunctionTemplate.cxx:87
TDictionary::DeclId_t
const void * DeclId_t
Definition: TDictionary.h:209
Long_t
long Long_t
Definition: RtypesCore.h:54
TFunctionTemplate::GetTemplateNargs
UInt_t GetTemplateNargs() const
Number of function arguments.
Definition: TFunctionTemplate.cxx:105
TFunctionTemplate::~TFunctionTemplate
virtual ~TFunctionTemplate()
TFunctionTemplate dtor deletes adopted CINT FuncTempInfo.
Definition: TFunctionTemplate.cxx:67
TDictionary
This class defines an abstract interface that must be implemented by all classes that contain diction...
Definition: TDictionary.h:162
unsigned int
TFunctionTemplate::ExtraProperty
Long_t ExtraProperty() const
Get the properties not already defined in Property.See TDictionary's EFunctionProperty.
Definition: TFunctionTemplate.cxx:130
TClass
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition: TClass.h:80
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TFunctionTemplate::fInfo
FuncTempInfo_t * fInfo
Definition: TFunctionTemplate.h:28
TFunctionTemplate::operator=
TFunctionTemplate & operator=(const TFunctionTemplate &rhs)
Assignment operator.
Definition: TFunctionTemplate.cxx:50
TFunctionTemplate::TFunctionTemplate
TFunctionTemplate(FuncTempInfo_t *info, TClass *cl)
Default TFunctionTemplate ctor.
Definition: TFunctionTemplate.cxx:26
TFunctionTemplate
Dictionary for function template This class describes one single function template.
Definition: TFunctionTemplate.h:26