Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
ActivePtrReg< X, C > Class Template Reference

#include <AbsPtr.h>

+ Inheritance diagram for ActivePtrReg< X, C >:

Public Member Functions

 ActivePtrReg (void)
 
 ActivePtrReg (const X *fptr, Clone)
 
 ActivePtrReg (const X *fptr, Pass)
 
 ActivePtrReg (ActivePtrReg< X, C > &f)
 
 ActivePtrReg (const ActivePtrReg< X, C > &f)
 
ActivePtrRegoperator= (const ActivePtrReg< X, C > &f)
 
virtual void print (std::ostream &file, int l=1) const
 
 macro_copy_total (ActivePtrReg)
 
virtual ~ActivePtrReg ()
 

Detailed Description

template<class X, class C = StandardCopyDefinition<X>>
class ActivePtrReg< X, C >

Definition at line 2323 of file AbsPtr.h.

Constructor & Destructor Documentation

◆ ActivePtrReg() [1/5]

template<class X , class C = StandardCopyDefinition<X>>
ActivePtrReg< X, C >::ActivePtrReg ( void  )
inline

Definition at line 2326 of file AbsPtr.h.

2326: RegPassivePtr(), ActivePtr<X, C>() {}

◆ ActivePtrReg() [2/5]

template<class X , class C = StandardCopyDefinition<X>>
ActivePtrReg< X, C >::ActivePtrReg ( const X *  fptr,
Clone   
)
inline

Definition at line 2327 of file AbsPtr.h.

2328 : RegPassivePtr(), ActivePtr<X, C>(fptr, do_clone) {}
@ do_clone
Definition: AbsPtr.h:516

◆ ActivePtrReg() [3/5]

template<class X , class C = StandardCopyDefinition<X>>
ActivePtrReg< X, C >::ActivePtrReg ( const X *  fptr,
Pass   
)
inline

Definition at line 2329 of file AbsPtr.h.

2330 : RegPassivePtr(), ActivePtr<X, C>(fptr, dont_clone) {}
@ dont_clone
Definition: AbsPtr.h:519

◆ ActivePtrReg() [4/5]

template<class X , class C = StandardCopyDefinition<X>>
ActivePtrReg< X, C >::ActivePtrReg ( ActivePtrReg< X, C > &  f)
inline

Definition at line 2332 of file AbsPtr.h.

2333 : RegPassivePtr(), ActivePtr<X, C>(f) {}

◆ ActivePtrReg() [5/5]

template<class X , class C = StandardCopyDefinition<X>>
ActivePtrReg< X, C >::ActivePtrReg ( const ActivePtrReg< X, C > &  f)
inline

Definition at line 2334 of file AbsPtr.h.

2335 : RegPassivePtr(), ActivePtr<X, C>(f) {}

◆ ~ActivePtrReg()

template<class X , class C = StandardCopyDefinition<X>>
virtual ActivePtrReg< X, C >::~ActivePtrReg ( )
inlinevirtual

Definition at line 2342 of file AbsPtr.h.

2342{}

Member Function Documentation

◆ macro_copy_total()

template<class X , class C = StandardCopyDefinition<X>>
ActivePtrReg< X, C >::macro_copy_total ( ActivePtrReg< X, C >  )

◆ operator=()

template<class X , class C = StandardCopyDefinition<X>>
ActivePtrReg & ActivePtrReg< X, C >::operator= ( const ActivePtrReg< X, C > &  f)
inline

Definition at line 2336 of file AbsPtr.h.

2336 {
2337 if (this != &f) put(f.get());
2338 return *this;
2339 }

◆ print()

template<class X , class C >
void ActivePtrReg< X, C >::print ( std::ostream &  file,
int  l = 1 
) const
virtual

Definition at line 2349 of file AbsPtr.h.

2349 {
2350 //if(ptr!=NULL) ptr->print(file, l);
2351 Ifile << "ActivePtrReg<X,C>:\n";
2352 indn.n += 2;
2353 RegPassivePtr::print(file, l);
2354 ActivePtr<X, C>::print(file, l);
2355 indn.n -= 2;
2356}
indentation indn
Definition: prstream.cpp:13
#define Ifile
Definition: prstream.h:207

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