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
16namespace MEAL {
17
19
21 class ScalarVector : public Scalar
22 {
23 public:
24
26 ScalarVector ();
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
unsigned index
The current index.
Definition ScalarVector.h:40
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
ScalarVector()
Default contructor.
Definition ScalarVector.C:12
virtual unsigned size() const =0
Get the size of the position angle array.
Pure virtual base class of scalar functions.
Definition Scalar.h:20
Namespace in which all modeling and calibration related code is declared.
Definition ExampleComplex2.h:16

Generated using doxygen 1.14.0