AuxColdPlasma.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2010 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/Base/Extensions/Pulsar/AuxColdPlasma.h
10
11#ifndef __AuxColdPlasma_h
12#define __AuxColdPlasma_h
13
14#include "Pulsar/ArchiveExtension.h"
15
16namespace Pulsar {
17
19
22
23 std::string dispersion_model_name;
24 bool dispersion_corrected;
25
26 std::string birefringence_model_name;
27 bool birefringence_corrected;
28
29 public:
30
33
35 AuxColdPlasma* clone () const { return new AuxColdPlasma( *this ); }
36
39
41 std::string get_short_name () const { return "aux"; }
42
43 void set_dispersion_model_name (const std::string& name)
44 { dispersion_model_name = name; }
45 std::string get_dispersion_model_name () const
46 { return dispersion_model_name; }
47
48 void set_dispersion_corrected (bool flag)
49 { dispersion_corrected = flag; }
50 bool get_dispersion_corrected () const
51 { return dispersion_corrected; }
52
53 void set_birefringence_model_name (const std::string& name)
54 { birefringence_model_name = name; }
55 std::string get_birefringence_model_name () const
56 { return birefringence_model_name; }
57
58 void set_birefringence_corrected (bool flag)
59 { birefringence_corrected = flag; }
60 bool get_birefringence_corrected () const
61 { return birefringence_corrected; }
62
64 class Interface : public Extension::Interface<AuxColdPlasma>
65 {
66 public:
67 Interface (AuxColdPlasma* = NULL);
68 };
69
70 };
71
72
73}
74
75#endif
Definition ArchiveExtension.h:24
std::string get_short_name() const
Return an abbreviated name that can be typed relatively quickly.
Definition AuxColdPlasma.h:41
AuxColdPlasma()
Default constructor.
Definition AuxColdPlasma.C:11
AuxColdPlasma * clone() const
Clone method.
Definition AuxColdPlasma.h:35
TextInterface::Parser * get_interface()
Return a text interfaces that can be used to access this instance.
Definition AuxColdPlasma.C:18
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0