Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::IProcessedDistPtr Class Reference

#include <IProcessedDistPtr.h>

Inheritance diagram for FastShower::IProcessedDistPtr:

Inheritance graph
[legend]
Collaboration diagram for FastShower::IProcessedDistPtr:

Collaboration graph
[legend]
List of all members.

Public Methods

 IProcessedDistPtr (IProcessedDist *, std::string s="")
 IProcessedDistPtr (const IProcessedDistPtr &)
IProcessedDistPtr & operator= (const IProcessedDistPtr &s)
 ~IProcessedDistPtr ()
virtual double sample () const
virtual double sample (const IDistProcessor *) const
virtual double sample (double lowLim, double upLim, const IDistProcessor *) const
 truncated distribution

virtual IProcessedDistclone () const
 make a copy of a condcrete object seen through this interface

virtual void ping (IPinger &) const
 ping this object and its descendants

virtual std::string name () const
virtual void components (IDebug::Cpts &) const

Private Attributes

SP< IProcessedDistm_pointee

Constructor & Destructor Documentation

FastShower::IProcessedDistPtr::IProcessedDistPtr IProcessedDist  ,
std::string    s = ""
 

Definition at line 3 of file IProcessedDistPtr.cxx.

Referenced by clone().

00003                                                                        :
00004     DebugBase(str), m_pointee(ip){}
  //

FastShower::IProcessedDistPtr::IProcessedDistPtr const IProcessedDistPtr &   
 

Definition at line 6 of file IProcessedDistPtr.cxx.

References m_pointee.

00006                                                                   :
00007     IProcessedDist(), DebugBase(rhs){  m_pointee = rhs.m_pointee;}
  //

FastShower::IProcessedDistPtr::~IProcessedDistPtr   [inline]
 

Definition at line 43 of file IProcessedDistPtr.h.

00043 {};

Member Function Documentation

IProcessedDistPtr & FastShower::IProcessedDistPtr::operator= const IProcessedDistPtr &    s
 

Definition at line 10 of file IProcessedDistPtr.cxx.

References m_pointee.

00010                                                           {
00011     
00012     if (this  == &rhs ) return *this;
00013 
00014     IProcessedDist::operator=(rhs);
00015     DebugBase::operator=(rhs);
00016     m_pointee = rhs.m_pointee;
00017     
00018     return *this;
00019   }

double FastShower::IProcessedDistPtr::sample   const [virtual]
 

Implements FastShower::IProcessedDist.

Definition at line 25 of file IProcessedDistPtr.cxx.

References FastShower::DebugBase::bumpStats(), and m_pointee.

00025                                          {
00026     double result = m_pointee->sample();
00027     bumpStats(result);
00028     return result;
00029   }

double FastShower::IProcessedDistPtr::sample const IDistProcessor   const [virtual]
 

Implements FastShower::IProcessedDist.

Definition at line 31 of file IProcessedDistPtr.cxx.

References FastShower::DebugBase::bumpStats(), and m_pointee.

00031                                                                 {
00032     double result = m_pointee->sample(d);
00033     bumpStats(result);
00034     return result;
00035   }

double FastShower::IProcessedDistPtr::sample double    lowLim,
double    upLim,
const IDistProcessor  
const [virtual]
 

truncated distribution

Implements FastShower::IProcessedDist.

Definition at line 37 of file IProcessedDistPtr.cxx.

References FastShower::DebugBase::bumpStats(), and m_pointee.

00039                                                                   {
00040     double result =  m_pointee->sample(lowLim, upLim, d);
00041     bumpStats(result);
00042     return result;
00043   }

IProcessedDist * FastShower::IProcessedDistPtr::clone   const [virtual]
 

make a copy of a condcrete object seen through this interface

Implements FastShower::IProcessedDist.

Definition at line 44 of file IProcessedDistPtr.cxx.

References IProcessedDistPtr().

00044                                                  {
00045     IProcessedDistPtr* ptr = new IProcessedDistPtr(*this);
00046     return ptr;
00047   }

void FastShower::IProcessedDistPtr::ping IPinger   p const [virtual]
 

ping this object and its descendants

Reimplemented from FastShower::DebugBase.

Definition at line 51 of file IProcessedDistPtr.cxx.

00051 {DebugBase::ping(p);}

std::string FastShower::IProcessedDistPtr::name   const [virtual]
 

Reimplemented from FastShower::DebugBase.

Definition at line 52 of file IProcessedDistPtr.cxx.

00052 {return DebugBase::name();}

void FastShower::IProcessedDistPtr::components IDebug::Cpts   const [virtual]
 

Reimplemented from FastShower::DebugBase.

Definition at line 53 of file IProcessedDistPtr.cxx.

References m_pointee.

00053                                                         {
00054     m_pointee->components(v);
00055   }

Member Data Documentation

SP<IProcessedDist> FastShower::IProcessedDistPtr::m_pointee [private]
 

Definition at line 63 of file IProcessedDistPtr.h.

Referenced by components(), IProcessedDistPtr(), operator=(), and sample().


The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:56:27 2003 for FastShowerUtils by doxygen1.3-rc1