|
Geant4
10.02.p02
|
This class represents any object method. More...
#include <G4AnyMethod.hh>
Collaboration diagram for G4AnyMethod:Classes | |
| struct | FuncRef |
| struct | FuncRef1 |
| struct | FuncRef2 |
| class | Placeholder |
Public Member Functions | |
| G4AnyMethod () | |
| contructor More... | |
| template<class S , class T > | |
| G4AnyMethod (S(T::*f)()) | |
| template<class S , class T , class A0 > | |
| G4AnyMethod (S(T::*f)(A0)) | |
| template<class S , class T , class A0 , class A1 > | |
| G4AnyMethod (S(T::*f)(A0, A1)) | |
| G4AnyMethod (const G4AnyMethod &other) | |
| ~G4AnyMethod () | |
| destructor More... | |
| G4AnyMethod & | Swap (G4AnyMethod &rhs) |
| template<class S , class T > | |
| G4AnyMethod & | operator= (S(T::*f)()) |
| Asignment operator. More... | |
| template<class S , class T , class A0 > | |
| G4AnyMethod & | operator= (S(T::*f)(A0)) |
| template<class S , class T , class A0 , class A1 > | |
| G4AnyMethod & | operator= (S(T::*f)(A0, A1)) |
| G4AnyMethod & | operator= (const G4AnyMethod &rhs) |
| Asigment operator. More... | |
| bool | Empty () const |
| Query. More... | |
| void | operator() (void *obj) |
| call operator More... | |
| void | operator() (void *obj, const std::string &a0) |
| size_t | NArg () const |
| Number of arguments. More... | |
| const std::type_info & | ArgType (size_t n=0) const |
Private Attributes | |
| Placeholder * | fContent |
| size_t | narg |
This class represents any object method.
The class only holds a member pointer.
Definition at line 80 of file G4AnyMethod.hh.
|
inline |
contructor
Definition at line 83 of file G4AnyMethod.hh.
Referenced by operator=().
Here is the caller graph for this function:
|
inline |
Definition at line 84 of file G4AnyMethod.hh.
References fContent.
|
inline |
Definition at line 87 of file G4AnyMethod.hh.
References fContent.
|
inline |
Definition at line 90 of file G4AnyMethod.hh.
References fContent.
|
inline |
Definition at line 93 of file G4AnyMethod.hh.
|
inline |
|
inline |
Definition at line 141 of file G4AnyMethod.hh.
References G4AnyMethod::Placeholder::ArgType(), fContent, and n.
Here is the call graph for this function:
|
inline |
|
inline |
Number of arguments.
Definition at line 139 of file G4AnyMethod.hh.
References narg.
Referenced by G4GenericMessenger::DeclareMethod(), G4GenericMessenger::DeclareMethodWithUnit(), and G4GenericMessenger::SetNewValue().
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 135 of file G4AnyMethod.hh.
|
inline |
Asignment operator.
Definition at line 106 of file G4AnyMethod.hh.
References G4AnyMethod(), and narg.
Here is the call graph for this function:
|
inline |
Definition at line 111 of file G4AnyMethod.hh.
References G4AnyMethod(), and narg.
Here is the call graph for this function:
|
inline |
Definition at line 116 of file G4AnyMethod.hh.
References G4AnyMethod(), and narg.
Here is the call graph for this function:
|
inline |
Asigment operator.
Definition at line 122 of file G4AnyMethod.hh.
References G4AnyMethod(), and narg.
Here is the call graph for this function:
|
inline |
Definition at line 100 of file G4AnyMethod.hh.
|
private |
Definition at line 222 of file G4AnyMethod.hh.
Referenced by ArgType(), Empty(), G4AnyMethod(), operator()(), Swap(), and ~G4AnyMethod().
|
private |
Definition at line 223 of file G4AnyMethod.hh.
Referenced by NArg(), operator=(), and Swap().