WSF
SOSM_TableVar.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI//REL TO USA ONLY
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef SOSM_TABLEVAR_HPP
13#define SOSM_TABLEVAR_HPP
14
17{
18public:
20 : mName("unknown")
21 , mMin(-1.0E+37F)
22 , mMax(1.0E+37F)
23 , mScale(1.0F)
24 {
25 }
26
27 SOSM_TableVar(const std::string& aName, float aMin, float aMax, float aScale)
28 : mName(aName)
29 , mMin(aMin)
30 , mMax(aMax)
31 , mScale(aScale)
32 {
33 }
34
35 const std::string& Name() const { return mName; }
36 float Min() const { return mMin; }
37 float Max() const { return mMax; }
38 float Scale() const { return mScale; }
39
40private:
41 std::string mName;
42 float mMin;
43 float mMax;
44 float mScale;
45};
46
47#endif
SOSM_TableVar(const std::string &aName, float aMin, float aMax, float aScale)
Definition SOSM_TableVar.hpp:27
float Min() const
Definition SOSM_TableVar.hpp:36
float Max() const
Definition SOSM_TableVar.hpp:37
float Scale() const
Definition SOSM_TableVar.hpp:38
const std::string & Name() const
Definition SOSM_TableVar.hpp:35
SOSM_TableVar()
Definition SOSM_TableVar.hpp:19
Copyrights Multiple, All Rights Reserved