WSF
WsfPM_Weapon.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 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 WSFPM_WEAPON_HPP
13#define WSFPM_WEAPON_HPP
14
15#include "wsf_mil_parser_export.h"
16
17#include "WsfPM_ObjectMap.hpp"
19
20class WSF_MIL_PARSER_EXPORT WsfPM_Weapon : public WsfPM_PlatformPart
21{
22public:
23 WsfPM_Weapon() = default;
25 : WsfPM_PlatformPart(aNode)
26 {
27 }
28
29 std::string LaunchedPlatformType() const { return GetValue().GetAttr("launchedPlatformType").ValueToString(); }
30};
31
33
34#endif
WsfPM_ObjectMapT< WsfPM_Weapon > WsfPM_WeaponMap
Definition WsfPM_Weapon.hpp:32
Definition WsfPM_ObjectMap.hpp:88
WsfPM_PlatformPart()
Definition WsfPM_PlatformPart.cpp:17
std::string LaunchedPlatformType() const
Definition WsfPM_Weapon.hpp:29
WsfPM_Weapon(const WsfPProxyNode &aNode)
Definition WsfPM_Weapon.hpp:24
WsfPM_Weapon()=default
WsfPProxyValue GetValue() const
Definition WsfPProxyNode.cpp:79
WsfPProxyNode()
Definition WsfPProxyNode.cpp:24
std::string ValueToString() const
Definition WsfPProxyValue.cpp:243
WsfPProxyValue GetAttr(const WsfPProxyKey &aEntry) const
Definition WsfPProxyValue.hpp:62
Copyrights Multiple, All Rights Reserved