Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
abssyscoor Class Referenceabstract

#include <vec.h>

+ Inheritance diagram for abssyscoor:

Public Member Functions

virtual const pointGapiv (void) const =0
 
virtual const basisGabas (void) const =0
 
 abssyscoor (void)
 
 abssyscoor (char *fname)
 
 abssyscoor (const String &fname)
 
virtual void print (std::ostream &file, int l) const
 
virtual ~abssyscoor ()
 

Public Attributes

String name
 

Detailed Description

Definition at line 560 of file vec.h.

Constructor & Destructor Documentation

◆ abssyscoor() [1/3]

abssyscoor::abssyscoor ( void  )
inline

Definition at line 567 of file vec.h.

567: name("none") { ; }
String name
Definition: vec.h:562

◆ abssyscoor() [2/3]

abssyscoor::abssyscoor ( char *  fname)
inline

Definition at line 568 of file vec.h.

568: name(fname) { ; }

◆ abssyscoor() [3/3]

abssyscoor::abssyscoor ( const String fname)
inline

Definition at line 569 of file vec.h.

569: name(fname) { ; }

◆ ~abssyscoor()

virtual abssyscoor::~abssyscoor ( )
inlinevirtual

Definition at line 573 of file vec.h.

573{ ; }

Member Function Documentation

◆ Gabas()

virtual const basis * abssyscoor::Gabas ( void  ) const
pure virtual

Implemented in fixsyscoor.

Referenced by vec::down(), vec::down_new(), print(), vec::up(), and vec::up_new().

◆ Gapiv()

virtual const point * abssyscoor::Gapiv ( void  ) const
pure virtual

Implemented in fixsyscoor.

Referenced by point::down(), print(), and point::up().

◆ print()

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

Reimplemented in fixsyscoor.

Definition at line 572 of file vec.cpp.

572 {
573 if (l > 0) {
574 Ifile << "abssyscoor::print(l=" << l << "): name=" << name << '\n';
575 if (l > 1) {
576 indn.n += 2;
577 const point* apiv = Gapiv();
578 if (apiv != NULL) {
579 Ifile << "piv=" << noindent << (*apiv);
580 } else {
581 Ifile << "apiv=NULL\n";
582 }
583 const basis* abas = Gabas();
584 if (abas != NULL) {
585 Ifile << "bas=" << noindent << (*abas);
586 } else {
587 Ifile << "abas=NULL\n";
588 }
589 indn.n -= 2;
590 }
591 file.flush();
592 }
593}
virtual const basis * Gabas(void) const =0
virtual const point * Gapiv(void) const =0
Definition: vec.h:397
Definition: vec.h:477
indentation indn
Definition: prstream.cpp:13
std::ostream & noindent(std::ostream &f)
Definition: prstream.cpp:15
#define Ifile
Definition: prstream.h:207

Referenced by operator<<(), and fixsyscoor::print().

Member Data Documentation

◆ name

String abssyscoor::name

Definition at line 562 of file vec.h.

Referenced by print().


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