WSF
SectorGeometry.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 SECTORGEOMETRY_HPP
13#define SECTORGEOMETRY_HPP
14
15#include "usmtf_export.h"
16
17#include <string>
18
19#include "FFIRN_Validator.hpp"
20#include "InnerOuterRange.hpp"
21
22namespace usmtf
23{
30class USMTF_EXPORT SectorGeometry : public RangeValidator<int>
31{
32public:
34 bool ParseAndValidate(const Field& aField) override;
35 const std::string& GetSectorStartAngle() const noexcept;
36 const std::string& GetSectorStopAngle() const noexcept;
37 const std::string& GetAngleOrientation() const noexcept;
38 const InnerOuterRange& GetRange() const noexcept;
39
40protected:
41 std::string mSectorStartAngle;
42 std::string mSectorStopAngle;
45};
46} // namespace usmtf
47#endif
Definition Field.hpp:48
Definition InnerOuterRange.hpp:33
Definition RangeValidator.hpp:28
const std::string & GetAngleOrientation() const noexcept
Definition SectorGeometry.cpp:106
std::string mSectorStartAngle
Definition SectorGeometry.hpp:41
InnerOuterRange mRange
Definition SectorGeometry.hpp:44
std::string mAngularOrientation
Definition SectorGeometry.hpp:43
std::string mSectorStopAngle
Definition SectorGeometry.hpp:42
const std::string & GetSectorStopAngle() const noexcept
Definition SectorGeometry.cpp:101
const InnerOuterRange & GetRange() const noexcept
Definition SectorGeometry.cpp:111
SectorGeometry()
Definition SectorGeometry.cpp:18
bool ParseAndValidate(const Field &aField) override
Definition SectorGeometry.cpp:24
const std::string & GetSectorStartAngle() const noexcept
Definition SectorGeometry.cpp:96
Definition Acmid.cpp:17
Copyrights Multiple, All Rights Reserved