WSF
ProxyUtil.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 2021 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 PROXY_UTIL_HPP
13#define PROXY_UTIL_HPP
14
15#include <string>
16#include <vector>
17
18// Wizard includes
19#include "ViExport.hpp"
20
21// Util includes
22class UtTextDocumentRange;
23
24// Wsf includes
25class WsfParseNode;
26class WsfPProxyNode;
28class WsfPM_Zone;
29
30namespace wizard
31{
32namespace ProxyUtil
33{
34
38WsfParseNode VI_EXPORT* FindBlockStartNodeFromEntry(const WsfPProxyIndexEntry& aEntry) noexcept;
39
43WsfParseNode VI_EXPORT* FindBlockEndNodeFromEntry(const WsfPProxyIndexEntry& aEntry) noexcept;
44
48void VI_EXPORT FindBlockStartLocations(const std::vector<WsfPProxyIndexEntry>& aEntries,
49 std::vector<UtTextDocumentRange>& aLocations) noexcept;
50
54void VI_EXPORT FindBlockEndLocations(const std::vector<WsfPProxyIndexEntry>& aEntries,
55 std::vector<UtTextDocumentRange>& aLocations) noexcept;
56
60void VI_EXPORT FindBlockLocations(const std::vector<WsfPProxyIndexEntry>& aEntries,
61 std::vector<UtTextDocumentRange>& aLocations) noexcept;
62
66WsfPM_Zone VI_EXPORT FindZoneNodeByName(const std::string& aZoneName,
67 const std::string& aParentPlatName = "Global Zones") noexcept;
68
73void VI_EXPORT InvalidateInput(const WsfPProxyNode& aProxyNode) noexcept;
74
75} // namespace ProxyUtil
76} // namespace wizard
77
78#endif // PROXY_UTIL_HPP
#define VI_EXPORT
Definition ViExport.hpp:38
Definition WsfPM_Zone.hpp:57
Definition WsfPProxyNode.hpp:60
Definition WsfParseNode.hpp:61
Definition ProxyUtil.cpp:35
void FindBlockEndLocations(const std::vector< WsfPProxyIndexEntry > &aEntries, std::vector< UtTextDocumentRange > &aLocations) noexcept
Definition ProxyUtil.cpp:153
void FindBlockStartLocations(const std::vector< WsfPProxyIndexEntry > &aEntries, std::vector< UtTextDocumentRange > &aLocations) noexcept
Definition ProxyUtil.cpp:129
WsfPM_Zone FindZoneNodeByName(const std::string &aZoneName, const std::string &aParentPlatName) noexcept
Definition ProxyUtil.cpp:196
WsfParseNode * FindBlockEndNodeFromEntry(const WsfPProxyIndexEntry &aEntry) noexcept
Definition ProxyUtil.cpp:104
void FindBlockLocations(const std::vector< WsfPProxyIndexEntry > &aEntries, std::vector< UtTextDocumentRange > &aLocations) noexcept
Definition ProxyUtil.cpp:167
void InvalidateInput(const WsfPProxyNode &aProxyNode) noexcept
Definition ProxyUtil.cpp:218
WsfParseNode * FindBlockStartNodeFromEntry(const WsfPProxyIndexEntry &aEntry) noexcept
Definition ProxyUtil.cpp:51
Definition Runner.hpp:22
Definition WsfPProxyIndex.hpp:31
Copyrights Multiple, All Rights Reserved