GammaLib  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GMWLInstDir Class Reference

Interface for the Multi-wavelength instrument direction class. More...

#include <GMWLInstDir.hpp>

Inheritance diagram for GMWLInstDir:
GInstDir GBase

Public Member Functions

 GMWLInstDir (void)
 Void constructor. More...
 
 GMWLInstDir (const GMWLInstDir &dir)
 Copy constructor. More...
 
virtual ~GMWLInstDir (void)
 Destructor. More...
 
GMWLInstDiroperator= (const GMWLInstDir &dir)
 Assignment operator. More...
 
virtual void clear (void)
 Clear instance. More...
 
virtual GMWLInstDirclone (void) const
 Clone instance. More...
 
virtual std::string classname (void) const
 Return class name. More...
 
virtual u_int64_t hash (void) const
 Return instrument direction hash value. More...
 
virtual std::string print (const GChatter &chatter=NORMAL) const
 Print instrument direction information. More...
 
- Public Member Functions inherited from GInstDir
 GInstDir (void)
 Void constructor. More...
 
 GInstDir (const GInstDir &dir)
 Copy constructor. More...
 
virtual ~GInstDir (void)
 Destructor. More...
 
virtual GInstDiroperator= (const GInstDir &dir)
 Assignment operator. More...
 
- Public Member Functions inherited from GBase
virtual ~GBase (void)
 Destructor. More...
 

Protected Member Functions

void init_members (void)
 Initialise class members. More...
 
void copy_members (const GMWLInstDir &dir)
 Copy class members. More...
 
void free_members (void)
 Delete class members. More...
 
- Protected Member Functions inherited from GInstDir
void init_members (void)
 Initialise class members. More...
 
void copy_members (const GInstDir &dir)
 Copy class members. More...
 
void free_members (void)
 Delete class members. More...
 

Detailed Description

Interface for the Multi-wavelength instrument direction class.

The Multi-wavelength instrument direction class is a dummy class that is needed but not used for the implementation of the Multi-wavelength interface as an instrument class.

Definition at line 48 of file GMWLInstDir.hpp.

Constructor & Destructor Documentation

GMWLInstDir::GMWLInstDir ( void  )

Void constructor.

Definition at line 52 of file GMWLInstDir.cpp.

References init_members().

Referenced by clone().

GMWLInstDir::GMWLInstDir ( const GMWLInstDir dir)

Copy constructor.

Parameters
[in]dirInstrument direction.

Definition at line 67 of file GMWLInstDir.cpp.

References copy_members(), and init_members().

GMWLInstDir::~GMWLInstDir ( void  )
virtual

Destructor.

Definition at line 83 of file GMWLInstDir.cpp.

References free_members().

Member Function Documentation

std::string GMWLInstDir::classname ( void  ) const
inlinevirtual

Return class name.

Returns
String containing the class name ("GMWLInstDir").

Implements GInstDir.

Definition at line 80 of file GMWLInstDir.hpp.

void GMWLInstDir::clear ( void  )
virtual

Clear instance.

Implements GInstDir.

Definition at line 137 of file GMWLInstDir.cpp.

References free_members(), GInstDir::free_members(), init_members(), and GInstDir::init_members().

Referenced by GMWLDatum::init_members().

GMWLInstDir * GMWLInstDir::clone ( void  ) const
virtual

Clone instance.

Implements GInstDir.

Definition at line 155 of file GMWLInstDir.cpp.

References GMWLInstDir().

void GMWLInstDir::copy_members ( const GMWLInstDir dir)
protected

Copy class members.

Parameters
[in]dirInstrument direction.

Definition at line 206 of file GMWLInstDir.cpp.

Referenced by GMWLInstDir(), and operator=().

void GMWLInstDir::free_members ( void  )
protected

Delete class members.

Definition at line 216 of file GMWLInstDir.cpp.

Referenced by clear(), operator=(), and ~GMWLInstDir().

u_int64_t GMWLInstDir::hash ( void  ) const
inlinevirtual

Return instrument direction hash value.

Returns
Hash value.

Returns a hash value that can be used in the response cache.

Implements GInstDir.

Definition at line 94 of file GMWLInstDir.hpp.

void GMWLInstDir::init_members ( void  )
protected

Initialise class members.

Definition at line 194 of file GMWLInstDir.cpp.

Referenced by clear(), GMWLInstDir(), and operator=().

GMWLInstDir & GMWLInstDir::operator= ( const GMWLInstDir dir)

Assignment operator.

Parameters
[in]dirInstrument direction.

Definition at line 104 of file GMWLInstDir.cpp.

References copy_members(), free_members(), init_members(), and GInstDir::operator=().

std::string GMWLInstDir::print ( const GChatter chatter = NORMAL) const
virtual

Print instrument direction information.

Parameters
[in]chatterChattiness (defaults to NORMAL).
Returns
String containing instrument direction information.

Implements GInstDir.

Definition at line 167 of file GMWLInstDir.cpp.

References SILENT.


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