WSF
WsfPM_Scenario.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 WSFPM_SCENARIO_HPP
13#define WSFPM_SCENARIO_HPP
14
15#include "wsf_parser_export.h"
16
17#include <set>
18
19#include "UtColor.hpp"
20#include "WsfPProxyNode.hpp"
21
22class WSF_PARSER_EXPORT WsfPM_Scenario : public WsfPProxyNode
23{
24public:
25 WsfPM_Scenario() = default;
27 : WsfPProxyNode(aNode)
28 {
29 }
30
31 WsfProxy::String GetClassificationLabel();
32
33 const UtColor& GetClassificationColor() const { return mColor; }
34
35private:
36 std::string FormatTrigraphsString() const;
37 std::string FormatCaveatsString() const;
38 void DetermineLevel(const std::string& aLevelString);
39
40 size_t mClassificationLevel{0};
41 std::string mClassificationString{};
42 std::set<std::string> mTrigraphsSet;
43 std::set<std::string> mCaveatsSet;
44 bool mLevelSet{false};
45 UtColor mColor;
46};
47#endif
WsfPM_Scenario(const WsfPProxyNode &aNode)
Definition WsfPM_Scenario.hpp:26
const UtColor & GetClassificationColor() const
Definition WsfPM_Scenario.hpp:33
WsfPM_Scenario()=default
WsfPProxyNode()
Definition WsfPProxyNode.cpp:24
Definition WsfPProxyBasicValues.hpp:478
Copyrights Multiple, All Rights Reserved