Kstars

lens.h
1 /*
2  SPDX-FileCopyrightText: 2009 Prakash Mohan <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 #pragma once
7 
8 #include "oal/oal.h"
9 
10 #include <QString>
11 
12 /**
13  * @class OAL::Lens
14  *
15  * Information of lens utilized in the observation
16  */
17 class OAL::Lens
18 {
19  public:
20  Lens(const QString &id, const QString &model, const QString &vendor, double factor)
21  {
22  setLens(id, model, vendor, factor);
23  }
24  QString id() const
25  {
26  return m_Id;
27  }
28  QString name() const
29  {
30  return m_Name;
31  }
32  QString model() const
33  {
34  return m_Model;
35  }
36  QString vendor() const
37  {
38  return m_Vendor;
39  }
40  double factor() const
41  {
42  return m_Factor;
43  }
44  void setLens(const QString &_id, const QString &_model, const QString &_vendor, double _factor);
45 
46  private:
47  QString m_Id, m_Model, m_Vendor, m_Name;
48  double m_Factor;
49 };
Definition: lens.h:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.