Garfield++ v2r0
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 ()
 
 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)
 
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
 Number of vector objects which are the members of the class.
 
absrefabsref::** aref
 
int qaref_pointer
 
absref ** aref_pointer
 
int qaref_other
 Number of objects available though virtual function GetOther.
 

Detailed Description

Definition at line 101 of file vec.h.

Constructor & Destructor Documentation

◆ absref_transmit() [1/5]

Heed::absref_transmit::absref_transmit ( )
inline

Definition at line 103 of file vec.h.

103: qaref(0), qaref_pointer(0), qaref_other(0) {}
int qaref_other
Number of objects available though virtual function GetOther.
Definition: vec.h:149
int qaref
Number of vector objects which are the members of the class.
Definition: vec.h:129

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), qaref_pointer(0), qaref_other(0) {}
absrefabsref::** 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(0),
110 qaref_pointer(fqaref_pointer),
111 aref_pointer(faref_pointer),
112 qaref_other(0) {}
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 113 of file vec.h.

115 : qaref(fqaref),
116 aref(faref),
117 qaref_pointer(fqaref_pointer),
118 aref_pointer(faref_pointer),
119 qaref_other(0) {}

◆ absref_transmit() [5/5]

Heed::absref_transmit::absref_transmit ( const absref_transmit f)
inline

Definition at line 121 of file vec.h.

121{ *this = f; }

◆ ~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; }

◆ 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}
#define Ifile
Definition: prstream.h:196

Member Data Documentation

◆ aref

absrefabsref::** 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

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

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

Definition at line 137 of file vec.h.

Referenced by print().


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