psrParams.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 1999 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 /* ///////////////////////////////////////////////////////////////////////
10  psrParams --- light-weight object that can store TEMPO parameter set
11 
12  Author: Willem van Straten
14 
15 #ifndef __PSRPARAMS_H
16 #define __PSRPARAMS_H
17 
18 #include "psrephem.h"
19 
20 #include <vector>
21 
22 class psrParameter; // implementation detail defined in psrParameter.h
23 
24 class psrParams
25 {
26  friend class qt_psrephem;
27 
28  public:
29  psrParams () {};
30  psrParams (const psrParams& p) { *this = p; }
31  psrParams& operator = (const psrParams& p);
32 
33  void set_psrephem (const Legacy::psrephem& eph);
34  void get_psrephem (Legacy::psrephem& eph);
35 
36  // static members and methods
37  static bool verbose;
38 
39  protected:
40  std::vector <psrParameter*> params; // pulsar parameters
41  void destroy ();
42 };
43 
44 #endif

Generated using doxygen 1.8.17