Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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 
26 class TFunctionTemplate : public TDictionary {
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);
33  TFunctionTemplate(const TFunctionTemplate &orig);
34  TFunctionTemplate& operator=(const TFunctionTemplate &rhs);
35  virtual ~TFunctionTemplate();
36  virtual TObject *Clone(const char *newname="") const;
37 
38  DeclId_t GetDeclId() const;
39  UInt_t GetTemplateNargs() const;
40  UInt_t GetTemplateMinReqArgs() 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