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

#include "XBase.hh"

Inheritance diagram for XBase:
AClass BClass CB_XBase w_XBase

Public Member Functions

 XBase ()
 
virtual ~XBase ()
 
void SetIVal (int aval)
 
int GetIVal () const
 
void SetDVal (double aval)
 
double GetDVal () const
 
void AMethod ()
 
virtual int VMethod (const XBase *abase) const =0
 
 XBase ()
 
virtual ~XBase ()
 
void SetIVal (int i)
 
int GetIVal () const
 
virtual std::string PVMethod ()=0
 
 XBase ()
 
 ~XBase ()
 
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 XBase.hh.

Constructor & Destructor Documentation

XBase::XBase ( )

Definition at line 43 of file XBase.cc.

44  : ival(-1),
45  dval(-1.)
47 {
48 }
double dval
Definition: XBase.hh:44
int ival
Definition: XBase.hh:43
XBase::~XBase ( )
virtual

Definition at line 52 of file XBase.cc.

54 {
55 }
XBase::XBase ( )
virtual XBase::~XBase ( )
virtual
XBase::XBase ( )
inline

Definition at line 63 of file test10.cc.

63 {}
XBase::~XBase ( )
inline

Definition at line 64 of file test10.cc.

64 {}

Member Function Documentation

void XBase::AMethod ( )

Definition at line 59 of file XBase.cc.

References dval, and 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
inline

Definition at line 68 of file XBase.hh.

References dval.

Referenced by BOOST_PYTHON_MODULE().

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

Definition at line 65 of file XBase.hh.

References ival.

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

65 { return ival; }
int ival
Definition: XBase.hh:43
int XBase::GetIVal ( ) const
inline
virtual std::string XBase::PVMethod ( )
pure virtual

Implemented in w_XBase.

Referenced by BOOST_PYTHON_MODULE().

void XBase::SetDVal ( double  aval)
inline

Definition at line 67 of file XBase.hh.

References d, and 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)
inline

Definition at line 64 of file XBase.hh.

References ival.

Referenced by BOOST_PYTHON_MODULE().

64 { ival= i; }
int ival
Definition: XBase.hh:43
void XBase::SetIVal ( int  i)
inline
virtual int XBase::VMethod ( const XBase abase) const
pure virtual

Implemented in AClass, and BClass.

Referenced by BOOST_PYTHON_MODULE().

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

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)
inlinevirtual

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
protected

Definition at line 44 of file XBase.hh.

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

int XBase::ival
protected

Definition at line 43 of file XBase.hh.

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


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