LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 103 of file test10.cc.

Member Function Documentation

void XBase::AMethod ( )
inherited

Definition at line 59 of file XBase.cc.

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

Referenced by BOOST_PYTHON_MODULE().

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

Definition at line 111 of file test10.cc.

References XBase::VMethodA().

Referenced by BOOST_PYTHON_MODULE().

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

Definition at line 123 of file test10.cc.

References XBase::VMethodB().

Referenced by BOOST_PYTHON_MODULE().

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

Definition at line 68 of file XBase.hh.

References XBase::dval.

Referenced by BOOST_PYTHON_MODULE().

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

Definition at line 65 of file XBase.hh.

References XBase::ival.

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

65 { return ival; }
int ival
Definition: XBase.hh:43
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 67 of file XBase.hh.

References d, and XBase::dval.

Referenced by BOOST_PYTHON_MODULE().

67 { dval= d; }
double dval
Definition: XBase.hh:44
Float_t d
Definition: plot.C:237
void XBase::SetIVal ( int  aval)
inlineinherited

Definition at line 64 of file XBase.hh.

References XBase::ival.

Referenced by BOOST_PYTHON_MODULE().

64 { ival= i; }
int ival
Definition: XBase.hh:43
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 104 of file test10.cc.

References f, and XBase::VMethodA().

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
TFile f
Definition: plotHisto.C:6
void CB_XBase::VMethodB ( const BClass b)
inlinevirtual

Reimplemented from XBase.

Definition at line 116 of file test10.cc.

References f, and XBase::VMethodB().

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
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: