WSF
Frequency.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2019 Infoscitex, a DCS 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 FREQUNECY_HPP
13#define FREQUNECY_HPP
14
15#include "usmtf_export.h"
16
17#include <string>
18
19#include "RangeValidator.hpp"
20
21namespace usmtf
22{
25
38class USMTF_EXPORT Frequency : public RangeValidator<float>
39{
40public:
41 Frequency();
42 bool ParseAndValidate(const Field& aField) override;
43 float GetNumericalFrequency() const noexcept;
44 const std::string& GetFrequency() const noexcept;
45
46protected:
47 std::string mFrequency;
48};
49} // namespace usmtf
50#endif
Definition Field.hpp:48
const std::string & GetFrequency() const noexcept
Definition Frequency.cpp:36
Frequency()
Definition Frequency.cpp:16
bool ParseAndValidate(const Field &aField) override
Definition Frequency.cpp:21
std::string mFrequency
Definition Frequency.hpp:47
float GetNumericalFrequency() const noexcept
Definition Frequency.cpp:31
Definition RangeValidator.hpp:28
Definition Acmid.cpp:17
Copyrights Multiple, All Rights Reserved