Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CrossSectionSourcePtr Class Reference

#include <G4CrossSectionSourcePtr.hh>

Public Member Functions

 G4CrossSectionSourcePtr (G4VCrossSectionSource *x=0)
 
 ~G4CrossSectionSourcePtr ()
 
 G4CrossSectionSourcePtr (const G4CrossSectionSourcePtr &xw)
 
const G4VCrossSectionSourceoperator() () const
 
G4VCrossSectionSourceoperator() ()
 
G4CrossSectionSourcePtroperator= (const G4CrossSectionSourcePtr &xw)
 
G4bool operator== (const G4CrossSectionSourcePtr &right) const
 
G4bool operator< (const G4CrossSectionSourcePtr &)
 

Detailed Description

Definition at line 48 of file G4CrossSectionSourcePtr.hh.

Constructor & Destructor Documentation

G4CrossSectionSourcePtr::G4CrossSectionSourcePtr ( G4VCrossSectionSource x = 0)

Definition at line 46 of file G4CrossSectionSourcePtr.cc.

46  : x_(x)
47 { }
G4CrossSectionSourcePtr::~G4CrossSectionSourcePtr ( )
inline

Definition at line 57 of file G4CrossSectionSourcePtr.hh.

57 { }
G4CrossSectionSourcePtr::G4CrossSectionSourcePtr ( const G4CrossSectionSourcePtr xw)
inline

Definition at line 60 of file G4CrossSectionSourcePtr.hh.

60 : x_(xw.x_) { }

Member Function Documentation

const G4VCrossSectionSource * G4CrossSectionSourcePtr::operator() ( ) const

Definition at line 62 of file G4CrossSectionSourcePtr.cc.

63 { return x_; }

Here is the caller graph for this function:

G4VCrossSectionSource * G4CrossSectionSourcePtr::operator() ( )

Definition at line 65 of file G4CrossSectionSourcePtr.cc.

66 { return x_; }
G4bool G4CrossSectionSourcePtr::operator< ( const G4CrossSectionSourcePtr )
inline

Definition at line 71 of file G4CrossSectionSourcePtr.hh.

71 { return false; }
G4CrossSectionSourcePtr & G4CrossSectionSourcePtr::operator= ( const G4CrossSectionSourcePtr xw)

Definition at line 49 of file G4CrossSectionSourcePtr.cc.

50 {
51  if (this != &xw) {
52  x_ = xw.x_;
53  }
54  return *this;
55 }
G4bool G4CrossSectionSourcePtr::operator== ( const G4CrossSectionSourcePtr right) const

Definition at line 57 of file G4CrossSectionSourcePtr.cc.

58 {
59  return *(this->operator()()) == *right();
60 }
const G4VCrossSectionSource * operator()() const

Here is the call graph for this function:


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