Geant4  10.01.p02
test05.cc File Reference
#include <boost/python.hpp>
#include "XFunc.hh"
#include "AClass.hh"
+ Include dependency graph for test05.cc:

Go to the source code of this file.

Functions

 BOOST_PYTHON_FUNCTION_OVERLOADS (f_func2, func2, 1, 2)
 
 BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (f_AMethod, AMethod, 0, 2)
 
 BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (f_CMethod, CMethod, 1, 3)
 
 BOOST_PYTHON_MODULE (test05)
 

Variables

int(* func3_1 )(int) = func3
 
int(* func3_2 )(double) = func3
 
int(AClass::* f1_BMethod )() = &AClass::BMethod
 
double(AClass::* f2_BMethod )(double) = &AClass::BMethod
 

Function Documentation

BOOST_PYTHON_FUNCTION_OVERLOADS ( f_func2  ,
func2  ,
,
 
)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS ( f_AMethod  ,
AMethod  ,
,
 
)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS ( f_CMethod  ,
CMethod  ,
,
 
)
BOOST_PYTHON_MODULE ( test05  )

Definition at line 59 of file test05.cc.

References AClass::CMethod(), f1_BMethod, f2_BMethod, func3_1, func3_2, AClass::GetIVal(), and AClass::SetIVal().

+ Here is the call graph for this function:

Variable Documentation

int(AClass::* f1_BMethod)() = &AClass::BMethod

Definition at line 55 of file test05.cc.

Referenced by BOOST_PYTHON_MODULE().

double(AClass::* f2_BMethod)(double) = &AClass::BMethod

Definition at line 56 of file test05.cc.

Referenced by BOOST_PYTHON_MODULE().

int(* func3_1)(int) = func3

Definition at line 49 of file test05.cc.

Referenced by BOOST_PYTHON_MODULE().

int(* func3_2)(double) = func3

Definition at line 50 of file test05.cc.

Referenced by BOOST_PYTHON_MODULE().