Logo ROOT  
Reference Guide
functioncalls.h
Go to the documentation of this file.
1 #ifndef CPPYY_FUNCTIONCALLS_H
2 #define CPPYY_FUNCTIONCALLS_H
3 
4 //- group: empty-free --------------------------------------------------------
5 void empty_call();
6 
7 //- group: empty-inst --------------------------------------------------------
8 class EmptyCall {
9 public:
10  void empty_call();
11 };
12 
13 
14 //- group: builtin-args-free -------------------------------------------------
15 struct Value { int m_int; };
16 
17 void take_an_int(int);
18 void take_a_double(double);
19 void take_a_struct(Value);
20 
21 //- group: builtin-args-free -------------------------------------------------
22 class TakeAValue {
23 public:
24  void take_an_int(int);
25  void take_a_double(double);
26  void take_a_struct(Value);
27 
28  int pass_int(int);
29 };
30 
31 
32 //- group: do-work-free ------------------------------------------------------
33 double do_work(double);
34 
35 //- group: do-work-inst ------------------------------------------------------
36 class DoWork {
37 public:
38  double do_work(double);
39 };
40 
41 
42 //- group: overload-inst -----------------------------------------------------
44 public:
45  double add_it(int a, int b);
46  double add_it(short a);
47  double add_it(long a);
48  double add_it(int a, int b, int c);
49  double add_it(double a);
50  double add_it(float a);
51  double add_it(int a);
52 };
53 
54 #endif // !CPPYY_FUNCTIONCALLS_H
int pass_int(int)
void take_a_double(double)
double do_work(double)
void empty_call()
double do_work(double)
void take_an_int(int)
void take_a_struct(Value)
void empty_call()
auto * a
Definition: textangle.C:12
void take_a_struct(Value)
int m_int
Definition: functioncalls.h:15
double add_it(int a, int b)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Definition: TRolke.cxx:630
#define c(i)
Definition: RSha256.hxx:101
void take_a_double(double)
void take_an_int(int)