Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
functioncalls.h
Go to the documentation of this file.
1#ifndef CPPYY_FUNCTIONCALLS_H
2#define CPPYY_FUNCTIONCALLS_H
3
4//- group: empty-free --------------------------------------------------------
5void empty_call();
6
7//- group: empty-inst --------------------------------------------------------
8class EmptyCall {
9public:
10 void empty_call();
11};
12
13
14//- group: builtin-args-free -------------------------------------------------
15struct Value { int m_int; };
16
17void take_an_int(int);
18void take_a_double(double);
20
21//- group: builtin-args-free -------------------------------------------------
23public:
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 ------------------------------------------------------
33double do_work(double);
34
35//- group: do-work-inst ------------------------------------------------------
36class DoWork {
37public:
38 double do_work(double);
39};
40
41
42//- group: overload-inst -----------------------------------------------------
44public:
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
#define b(i)
Definition RSha256.hxx:100
#define c(i)
Definition RSha256.hxx:101
#define a(i)
Definition RSha256.hxx:99
double do_work(double)
void empty_call()
double add_it(int a, int b)
void take_a_struct(Value)
void take_a_double(double)
void take_an_int(int)
int pass_int(int)
void take_a_double(double)
void take_a_struct(Value)
double do_work(double)
void empty_call()
void take_an_int(int)
int m_int