ROOT
v6-32
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 --------------------------------------------------------
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 -----------------------------------------------------
43
class
OverloadedCall
{
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
b
#define b(i)
Definition
RSha256.hxx:100
c
#define c(i)
Definition
RSha256.hxx:101
a
#define a(i)
Definition
RSha256.hxx:99
DoWork
Definition
functioncalls.h:36
DoWork::do_work
double do_work(double)
Definition
functioncalls.cxx:54
EmptyCall
Definition
functioncalls.h:8
EmptyCall::empty_call
void empty_call()
Definition
functioncalls.cxx:12
OverloadedCall
Definition
functioncalls.h:43
OverloadedCall::add_it
double add_it(int a, int b)
Definition
functioncalls.cxx:60
TakeAValue
Definition
functioncalls.h:22
TakeAValue::take_a_struct
void take_a_struct(Value)
Definition
functioncalls.cxx:39
TakeAValue::take_a_double
void take_a_double(double)
Definition
functioncalls.cxx:35
TakeAValue::take_an_int
void take_an_int(int)
Definition
functioncalls.cxx:31
TakeAValue::pass_int
int pass_int(int)
Definition
functioncalls.cxx:44
take_a_double
void take_a_double(double)
Definition
functioncalls.cxx:22
take_a_struct
void take_a_struct(Value)
Definition
functioncalls.cxx:26
do_work
double do_work(double)
Definition
functioncalls.cxx:50
empty_call
void empty_call()
Definition
functioncalls.cxx:8
take_an_int
void take_an_int(int)
Definition
functioncalls.cxx:18
Value
Definition
functioncalls.h:15
Value::m_int
int m_int
Definition
functioncalls.h:15
bindings
pyroot
cppyy
cppyy
bench
functioncalls.h
ROOT v6-32 - Reference Guide Generated on Thu Dec 12 2024 15:05:25 (GVA Time) using Doxygen 1.9.8