LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
BClass Class Referenceabstract

#include "BClass.hh"

Inheritance diagram for BClass:
XBase

Public Member Functions

 BClass ()
 
 ~BClass ()
 
void AMethod ()
 
virtual int VMethod (const XBase *abase) const
 
 BClass ()
 
 ~BClass ()
 
void SetIVal (int aval)
 
void SetIVal (int i)
 
int GetIVal () const
 
int GetIVal () const
 
void SetDVal (double aval)
 
double GetDVal () const
 
virtual std::string PVMethod ()=0
 
virtual void VMethodA (const AClass *a)
 
virtual void VMethodB (const BClass *b)
 

Protected Attributes

int ival
 
double dval
 

Detailed Description

Definition at line 43 of file BClass.hh.

Constructor & Destructor Documentation

BClass::BClass ( )

Definition at line 42 of file BClass.cc.

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

43  : XBase()
45 {
46  ival= -3;
47  dval= -3.;
48 }
double dval
Definition: XBase.hh:44
XBase()
Definition: XBase.cc:43
int ival
Definition: XBase.hh:43
BClass::~BClass ( )

Definition at line 51 of file BClass.cc.

53 {
54 }
BClass::BClass ( )
inline

Definition at line 51 of file test10.cc.

51  {
52  std::cout << "*** BClass is created..." << this
53  << std::endl;
54  }
BClass::~BClass ( )
inline

Definition at line 55 of file test10.cc.

55  {
56  std::cout << "*** BClass is deleted..." << this
57  << std::endl;
58  }

Member Function Documentation

void BClass::AMethod ( )

Definition at line 57 of file BClass.cc.

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

Referenced by BOOST_PYTHON_MODULE().

59 {
60  std::cout << "%%% BClass:::AMethod is called."
61  << " (ival, dval)= (" << ival << "," << dval << ")"
62  << std::endl;
63 }
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 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
int BClass::VMethod ( const XBase abase) const
virtual

Implements XBase.

Definition at line 66 of file BClass.cc.

References XBase::GetIVal().

68 {
69  return abase-> GetIVal();
70 }
int GetIVal() const
Definition: XBase.hh:65
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

Definition at line 44 of file XBase.hh.

Referenced by AMethod(), XBase::AMethod(), BClass(), XBase::GetDVal(), and XBase::SetDVal().

int XBase::ival
protectedinherited

Definition at line 43 of file XBase.hh.

Referenced by AMethod(), XBase::AMethod(), BClass(), XBase::GetIVal(), and XBase::SetIVal().


The documentation for this class was generated from the following files: