LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 42 of file test06.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
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
std::string w_XBase::PVMethod ( )
inlinevirtual

Implements XBase.

Definition at line 43 of file test06.cc.

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

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

Reimplemented in CB_XBase.

Definition at line 66 of file test10.cc.

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

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

Reimplemented in CB_XBase.

Definition at line 70 of file test10.cc.

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

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

Member Data Documentation

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

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