LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
w_XBase Struct Referenceabstract
Inheritance diagram for w_XBase:
XBase

Public Member Functions

std::string PVMethod ()
 
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 void VMethodA (const AClass *a)
 
virtual void VMethodB (const BClass *b)
 

Protected Attributes

int ival
 
double dval
 

Detailed Description

Definition at line 41 of file test06.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
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
std::string w_XBase::PVMethod ( )
inlinevirtual

Implements XBase.

Definition at line 42 of file test06.cc.

42  {
43  return this-> get_override("PVMethod")();
44  }
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().

virtual void XBase::VMethodA ( const AClass a)
inlinevirtualinherited

Reimplemented in CB_XBase.

Definition at line 65 of file test10.cc.

Referenced by BOOST_PYTHON_MODULE(), CB_XBase::d_VMethodA(), ZClass::Process(), and CB_XBase::VMethodA().

65  {
66  std::cout << "*** XBase::VMethod...A() is called." << std::endl;
67  }
virtual void XBase::VMethodB ( const BClass b)
inlinevirtualinherited

Reimplemented in CB_XBase.

Definition at line 69 of file test10.cc.

Referenced by BOOST_PYTHON_MODULE(), CB_XBase::d_VMethodB(), ZClass::Process(), and CB_XBase::VMethodB().

69  {
70  std::cout << "*** XBase::VMethod...B() is called." << std::endl;
71  }

Member Data Documentation

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

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