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

FastShower::IFnPtr Class Reference

#include <IFnPtr.h>

Inheritance diagram for FastShower::IFnPtr:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 IFnPtr (IFn *f, std::string s="")
 IFnPtr (const IFnPtr &f)
IFnPtr & operator= (const IFnPtr &f)
 ~IFnPtr ()
virtual double value (const PolyArgs &) const
virtual IFnPtr * clone () const

Private Attributes

SP< IFnm_pointee

Constructor & Destructor Documentation

FastShower::IFnPtr::IFnPtr IFn   f,
std::string    s = ""
[inline]
 

Definition at line 46 of file IFnPtr.h.

Referenced by clone().

00046                                      :
00047     DebugBase(s),m_pointee(f){}
  //

FastShower::IFnPtr::IFnPtr const IFnPtr &    f [inline]
 

Definition at line 50 of file IFnPtr.h.

References m_pointee.

00050                                  :IFn(f),DebugBase(f){ 
00051     m_pointee = f.m_pointee;
00052   }

FastShower::IFnPtr::~IFnPtr   [inline]
 

Definition at line 36 of file IFnPtr.h.

00036 {};

Member Function Documentation

IFnPtr & FastShower::IFnPtr::operator= const IFnPtr &    f [inline]
 

Definition at line 55 of file IFnPtr.h.

References m_pointee.

00055                                               {
00056     
00057     if (this  == &rhs ) return *this;
00058     
00059     IFn::operator=(rhs);
00060     DebugBase::operator=(rhs);
00061     m_pointee = rhs.m_pointee;
00062     
00063     return *this;
00064   }

double FastShower::IFnPtr::value const PolyArgs   const [inline, virtual]
 

Implements FastShower::IFn.

Definition at line 67 of file IFnPtr.h.

00067                                                {
00068     double x = m_pointee->value(pa);
00069     this->bumpStats(x, pa.pp() );
00070     //    cout.precision(3);
00071     //    cout<<text()<<"  "<<x<<endl;
00072     return x;
00073   }

IFnPtr * FastShower::IFnPtr::clone   const [inline, virtual]
 

Implements FastShower::IFn.

Definition at line 76 of file IFnPtr.h.

References IFnPtr().

00076                                 {
00077     IFnPtr* nptr = new IFnPtr(*this);
00078     return nptr;
00079   }

Member Data Documentation

SP<IFn> FastShower::IFnPtr::m_pointee [private]
 

Definition at line 42 of file IFnPtr.h.

Referenced by IFnPtr(), and operator=().


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