Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Heed::absref_transmit Class Reference

#include <vec.h>

Public Member Functions

 absref_transmit ()=default
 
 absref_transmit (int fqaref, absref absref::**faref)
 
 absref_transmit (int fqaref_pointer, absref **faref_pointer)
 
 absref_transmit (int fqaref, absref absref::**faref, int fqaref_pointer, absref **faref_pointer)
 
 absref_transmit (const absref_transmit &f)=default
 Copy constructor.
 
absref_transmitoperator= (const absref_transmit &f)=default
 Assignment operator.
 
virtual ~absref_transmit ()
 Destructor.
 
virtual void print (std::ostream &file, int l) const
 
virtual absref_transmitcopy () const
 
virtual absrefget_other (int n)
 

Public Attributes

int qaref = 0
 Number of vector objects which are the members of the class.
 
absref absref::** aref
 
int qaref_pointer = 0
 
absref ** aref_pointer
 
int qaref_other = 0
 Number of objects available though virtual function GetOther.
 

Detailed Description

Container for transmitting geometry transformations. Three methods of transmission (fast, slower and slowest) are available.

Definition at line 101 of file vec.h.

Constructor & Destructor Documentation

◆ absref_transmit() [1/5]

Heed::absref_transmit::absref_transmit ( )
default

Referenced by copy().

◆ absref_transmit() [2/5]

Heed::absref_transmit::absref_transmit ( int  fqaref,
absref absref::**  faref 
)
inline

Definition at line 106 of file vec.h.

107 : qaref(fqaref), aref(faref) {}
int qaref
Number of vector objects which are the members of the class.
Definition: vec.h:129
absref absref::** aref
Definition: vec.h:132

◆ absref_transmit() [3/5]

Heed::absref_transmit::absref_transmit ( int  fqaref_pointer,
absref **  faref_pointer 
)
inline

Definition at line 108 of file vec.h.

109 : qaref_pointer(fqaref_pointer),
110 aref_pointer(faref_pointer) {}
absref ** aref_pointer
Definition: vec.h:140

◆ absref_transmit() [4/5]

Heed::absref_transmit::absref_transmit ( int  fqaref,
absref absref::**  faref,
int  fqaref_pointer,
absref **  faref_pointer 
)
inline

Definition at line 112 of file vec.h.

114 : qaref(fqaref),
115 aref(faref),
116 qaref_pointer(fqaref_pointer),
117 aref_pointer(faref_pointer) {}

◆ absref_transmit() [5/5]

Heed::absref_transmit::absref_transmit ( const absref_transmit f)
default

Copy constructor.

◆ ~absref_transmit()

virtual Heed::absref_transmit::~absref_transmit ( )
inlinevirtual

Destructor.

Definition at line 123 of file vec.h.

123{}

Member Function Documentation

◆ copy()

virtual absref_transmit * Heed::absref_transmit::copy ( ) const
inlinevirtual

Definition at line 126 of file vec.h.

126{ return new absref_transmit(*this); }

◆ get_other()

absref * Heed::absref_transmit::get_other ( int  n)
virtual

This function is meant to be redefined in derived classes to obtain additional address except those contained in aref and aref_pointer. This default version always returns NULL.

Definition at line 39 of file vec.cpp.

39{ return NULL; }

◆ operator=()

absref_transmit & Heed::absref_transmit::operator= ( const absref_transmit f)
default

Assignment operator.

◆ print()

void Heed::absref_transmit::print ( std::ostream &  file,
int  l 
) const
virtual

Definition at line 31 of file vec.cpp.

31 {
32 if (l <= 0) return;
33 Ifile << "absref_transmit::print(l=" << l << ") qaref=" << qaref
34 << " qaref_pointer=" << qaref_pointer << " qaref_other=" << qaref_other
35 << "\n";
36 file.flush();
37}
int qaref_other
Number of objects available though virtual function GetOther.
Definition: vec.h:149
#define Ifile
Definition: prstream.h:195

Member Data Documentation

◆ aref

absref absref::** Heed::absref_transmit::aref

Reference to address of array containing their relative addresses as class members.

Definition at line 132 of file vec.h.

◆ aref_pointer

absref** Heed::absref_transmit::aref_pointer

Definition at line 140 of file vec.h.

◆ qaref

int Heed::absref_transmit::qaref = 0

Number of vector objects which are the members of the class.

Definition at line 129 of file vec.h.

Referenced by print().

◆ qaref_other

int Heed::absref_transmit::qaref_other = 0

Number of objects available though virtual function GetOther.

Definition at line 149 of file vec.h.

Referenced by print().

◆ qaref_pointer

int Heed::absref_transmit::qaref_pointer = 0

Definition at line 137 of file vec.h.

Referenced by print().


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