LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 40 of file XBase.hh.

Constructor & Destructor Documentation

XBase::XBase ( )

Definition at line 42 of file XBase.cc.

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

Definition at line 51 of file XBase.cc.

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

Definition at line 62 of file test10.cc.

62 {}
XBase::~XBase ( )
inline

Definition at line 63 of file test10.cc.

63 {}

Member Function Documentation

void XBase::AMethod ( )

Definition at line 58 of file XBase.cc.

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

Definition at line 67 of file XBase.hh.

References dval.

Referenced by BOOST_PYTHON_MODULE().

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

Definition at line 64 of file XBase.hh.

References ival.

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

64 { return ival; }
int ival
Definition: XBase.hh:42
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 66 of file XBase.hh.

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

Definition at line 63 of file XBase.hh.

References ival.

Referenced by BOOST_PYTHON_MODULE().

63 { ival= i; }
int ival
Definition: XBase.hh:42
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 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)
inlinevirtual

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
protected

Definition at line 43 of file XBase.hh.

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

int XBase::ival
protected

Definition at line 42 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: