LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CB_XBase Struct Referenceabstract
Inheritance diagram for CB_XBase:
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)
 
void SetIVal (int aval)
 
void SetIVal (int i)
 
int GetIVal () const
 
int GetIVal () const
 
void SetDVal (double aval)
 
double GetDVal () const
 
void AMethod ()
 
virtual int VMethod (const XBase *abase) const =0
 
virtual std::string PVMethod ()=0
 

Protected Attributes

int ival
 
double dval
 

Detailed Description

Definition at line 102 of file test10.cc.

Member Function Documentation

void XBase::AMethod ( )
inherited

Definition at line 58 of file XBase.cc.

References XBase::dval, and XBase::ival.

Referenced by BOOST_PYTHON_MODULE().

60 {
61  std::cout << "%%% XBase::AMethod is called."
62  << " (ival, dval)= (" << ival << "," << dval << ")"
63  << std::endl;
64 }
double dval
Definition: XBase.hh:43
int ival
Definition: XBase.hh:42
void CB_XBase::d_VMethodA ( const AClass a)
inline

Definition at line 110 of file test10.cc.

References XBase::VMethodA().

Referenced by BOOST_PYTHON_MODULE().

110  {
111  XBase::VMethodA(a);
112  }
virtual void VMethodA(const AClass *a)
Definition: test10.cc:65
void CB_XBase::d_VMethodB ( const BClass b)
inline

Definition at line 122 of file test10.cc.

References XBase::VMethodB().

Referenced by BOOST_PYTHON_MODULE().

122  {
123  XBase::VMethodB(b);
124  }
virtual void VMethodB(const BClass *b)
Definition: test10.cc:69
double XBase::GetDVal ( ) const
inlineinherited

Definition at line 67 of file XBase.hh.

References XBase::dval.

Referenced by BOOST_PYTHON_MODULE().

67 { return dval; }
double dval
Definition: XBase.hh:43
int XBase::GetIVal ( ) const
inlineinherited

Definition at line 64 of file XBase.hh.

References XBase::ival.

Referenced by BOOST_PYTHON_MODULE(), and BClass::VMethod().

64 { return ival; }
int ival
Definition: XBase.hh:42
int XBase::GetIVal ( ) const
inlineinherited
virtual std::string XBase::PVMethod ( )
pure virtualinherited

Implemented in w_XBase.

Referenced by BOOST_PYTHON_MODULE().

void XBase::SetDVal ( double  aval)
inlineinherited

Definition at line 66 of file XBase.hh.

References d, and XBase::dval.

Referenced by BOOST_PYTHON_MODULE().

66 { dval= d; }
double dval
Definition: XBase.hh:43
Float_t d
Definition: plot.C:235
void XBase::SetIVal ( int  aval)
inlineinherited

Definition at line 63 of file XBase.hh.

References XBase::ival.

Referenced by BOOST_PYTHON_MODULE().

63 { ival= i; }
int ival
Definition: XBase.hh:42
void XBase::SetIVal ( int  i)
inlineinherited
virtual int XBase::VMethod ( const XBase abase) const
pure virtualinherited

Implemented in AClass, and BClass.

Referenced by BOOST_PYTHON_MODULE().

void CB_XBase::VMethodA ( const AClass a)
inlinevirtual

Reimplemented from XBase.

Definition at line 103 of file test10.cc.

References f, and XBase::VMethodA().

103  {
104  if(const override& f= get_override("VMethodA"))
105  f(a);
106  else
107  XBase::VMethodA(a);
108  }
virtual void VMethodA(const AClass *a)
Definition: test10.cc:65
TFile f
Definition: plotHisto.C:6
void CB_XBase::VMethodB ( const BClass b)
inlinevirtual

Reimplemented from XBase.

Definition at line 115 of file test10.cc.

References f, and XBase::VMethodB().

115  {
116  if(const override& f= get_override("VMethodB"))
117  f(b);
118  else
119  XBase::VMethodB(b);
120  }
virtual void VMethodB(const BClass *b)
Definition: test10.cc:69
TFile f
Definition: plotHisto.C:6

Member Data Documentation

double XBase::dval
protectedinherited
int XBase::ival
protectedinherited

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