WSF
WsfPProxyDiff.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// Updated by Infoscitex, a DCS Company.
13// ****************************************************************************
14
15#ifndef WSFPPROXYDIFF_HPP
16#define WSFPPROXYDIFF_HPP
17#include "wsf_parser_export.h"
18
19#include "WsfPProxyPath.hpp"
20#include "WsfPProxyValue.hpp"
21struct WSF_PARSER_EXPORT WsfPProxyDiff
22{
34 void AddDiff(const WsfPProxyPath& aPath, DiffType aType);
35 void Diff(WsfPProxyValue aOld, WsfPProxyValue aNew, const WsfPProxyPath& aPath);
36 bool IsEqual(WsfPProxyValue aOld, WsfPProxyValue aNew);
37
38 std::vector<DiffEntry> mDiffs;
39};
40
41#endif
Represents a path or unique key to a value in the proxy.
Definition WsfPProxyPath.hpp:64
Definition WsfPProxyValue.hpp:33
Definition WsfPProxyDiff.hpp:30
DiffType mType
Definition WsfPProxyDiff.hpp:31
WsfPProxyPath mPath
Definition WsfPProxyDiff.hpp:32
Definition WsfPProxyDiff.hpp:22
void Diff(WsfPProxyValue aOld, WsfPProxyValue aNew, const WsfPProxyPath &aPath)
Definition WsfPProxyDiff.cpp:31
void AddDiff(const WsfPProxyPath &aPath, DiffType aType)
Definition WsfPProxyDiff.cpp:23
std::vector< DiffEntry > mDiffs
Definition WsfPProxyDiff.hpp:38
DiffType
Definition WsfPProxyDiff.hpp:24
@ cADDED
Definition WsfPProxyDiff.hpp:25
@ cCHANGED
Definition WsfPProxyDiff.hpp:26
@ cREMOVED
Definition WsfPProxyDiff.hpp:27
bool IsEqual(WsfPProxyValue aOld, WsfPProxyValue aNew)
Definition WsfPProxyDiff.cpp:154
Copyrights Multiple, All Rights Reserved