Geant4  10.02.p03
CB_XBase Struct Reference
Inheritance diagram for CB_XBase:
Collaboration diagram for CB_XBase:

Public Member Functions

void VMethodA (const AClass *a)
 
void d_VMethodA (const AClass *a)
 
void VMethodB (const BClass *b)
 
void d_VMethodB (const BClass *b)
 
- Public Member Functions inherited from XBase
 XBase ()
 
virtual ~XBase ()
 
void SetIVal (int aval)
 
int GetIVal () const
 
void SetDVal (double aval)
 
double GetDVal () const
 
void AMethod ()
 
virtual int VMethod (const XBase *abase) const =0
 
 XBase ()
 
virtual ~XBase ()
 
void SetIVal (int i)
 
int GetIVal () const
 
virtual std::string PVMethod ()=0
 
 XBase ()
 
 ~XBase ()
 

Additional Inherited Members

- Protected Attributes inherited from XBase
int ival
 
double dval
 

Detailed Description

Definition at line 103 of file test10.cc.

Member Function Documentation

◆ d_VMethodA()

void CB_XBase::d_VMethodA ( const AClass a)
inline

Definition at line 111 of file test10.cc.

111  {
112  XBase::VMethodA(a);
113  }
virtual void VMethodA(const AClass *a)
Definition: test10.cc:66
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d_VMethodB()

void CB_XBase::d_VMethodB ( const BClass b)
inline

Definition at line 123 of file test10.cc.

123  {
124  XBase::VMethodB(b);
125  }
virtual void VMethodB(const BClass *b)
Definition: test10.cc:70
Here is the call graph for this function:
Here is the caller graph for this function:

◆ VMethodA()

void CB_XBase::VMethodA ( const AClass a)
inlinevirtual

Reimplemented from XBase.

Definition at line 104 of file test10.cc.

104  {
105  if(const override& f= get_override("VMethodA"))
106  f(a);
107  else
108  XBase::VMethodA(a);
109  }
virtual void VMethodA(const AClass *a)
Definition: test10.cc:66
Here is the call graph for this function:

◆ VMethodB()

void CB_XBase::VMethodB ( const BClass b)
inlinevirtual

Reimplemented from XBase.

Definition at line 116 of file test10.cc.

116  {
117  if(const override& f= get_override("VMethodB"))
118  f(b);
119  else
120  XBase::VMethodB(b);
121  }
virtual void VMethodB(const BClass *b)
Definition: test10.cc:70
Here is the call graph for this function:

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