Geant4  10.01.p03
G4AnyMethod::FuncRef< S, T > Struct Template Reference
+ Inheritance diagram for G4AnyMethod::FuncRef< S, T >:
+ Collaboration diagram for G4AnyMethod::FuncRef< S, T >:

Public Member Functions

 FuncRef (S(T::*f)())
 
virtual void operator() (void *obj)
 
virtual void operator() (void *, const std::string &)
 
virtual PlaceholderClone () const
 
virtual const std::type_info & ArgType (size_t) const
 
- Public Member Functions inherited from G4AnyMethod::Placeholder
 Placeholder ()
 
virtual ~Placeholder ()
 

Public Attributes

S(T::* fRef )()
 

Detailed Description

template<class S, class T>
struct G4AnyMethod::FuncRef< S, T >

Definition at line 143 of file G4AnyMethod.hh.

Constructor & Destructor Documentation

template<class S , class T >
G4AnyMethod::FuncRef< S, T >::FuncRef ( S(T::*)()  f)
inline

Definition at line 144 of file G4AnyMethod.hh.

Referenced by G4AnyMethod::FuncRef< S, T >::Clone().

+ Here is the caller graph for this function:

Member Function Documentation

template<class S , class T >
virtual const std::type_info& G4AnyMethod::FuncRef< S, T >::ArgType ( size_t  ) const
inlinevirtual

Implements G4AnyMethod::Placeholder.

Definition at line 155 of file G4AnyMethod.hh.

template<class S , class T >
virtual Placeholder* G4AnyMethod::FuncRef< S, T >::Clone ( ) const
inlinevirtual

Implements G4AnyMethod::Placeholder.

Definition at line 152 of file G4AnyMethod.hh.

References G4AnyMethod::FuncRef< S, T >::fRef, and G4AnyMethod::FuncRef< S, T >::FuncRef().

+ Here is the call graph for this function:

template<class S , class T >
virtual void G4AnyMethod::FuncRef< S, T >::operator() ( void *  obj)
inlinevirtual

Implements G4AnyMethod::Placeholder.

Definition at line 146 of file G4AnyMethod.hh.

References G4AnyMethod::FuncRef< S, T >::fRef.

template<class S , class T >
virtual void G4AnyMethod::FuncRef< S, T >::operator() ( void *  ,
const std::string &   
)
inlinevirtual

Implements G4AnyMethod::Placeholder.

Definition at line 149 of file G4AnyMethod.hh.

Member Data Documentation

template<class S , class T >
S(T::* G4AnyMethod::FuncRef< S, T >::fRef)()

The documentation for this struct was generated from the following file: