ScalarVector.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2011 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/MEAL/MEAL/ScalarVector.h
10 
11 #ifndef __ScalarVector_H
12 #define __ScalarVector_H
13 
14 #include "MEAL/Scalar.h"
15 
16 namespace MEAL {
17 
19 
21  class ScalarVector : public Scalar
22  {
23  public:
24 
27 
29  virtual unsigned size () const = 0;
30 
32  void set_index (unsigned);
33 
35  unsigned get_index () const;
36 
37  protected:
38 
40  unsigned index;
41 
42  };
43 
44 }
45 
46 #endif
ScalarVector()
Default contructor.
Definition: ScalarVector.C:12
unsigned get_index() const
Get the index of the position angle array.
Definition: ScalarVector.C:28
void set_index(unsigned)
Set the index of the position angle array.
Definition: ScalarVector.C:18
unsigned index
The current index.
Definition: ScalarVector.h:50
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
virtual unsigned size() const =0
Get the size of the position angle array.

Generated using doxygen 1.8.17