|
WSF
|
#include <WsfPProxyDiff.hpp>
Classes | |
| struct | DiffEntry |
Public Types | |
| enum | DiffType { cADDED , cCHANGED , cREMOVED } |
Public Member Functions | |
| void | AddDiff (const WsfPProxyPath &aPath, DiffType aType) |
| void | Diff (WsfPProxyValue aOld, WsfPProxyValue aNew, const WsfPProxyPath &aPath) |
| bool | IsEqual (WsfPProxyValue aOld, WsfPProxyValue aNew) |
Public Attributes | |
| std::vector< DiffEntry > | mDiffs |
| void WsfPProxyDiff::AddDiff | ( | const WsfPProxyPath & | aPath, |
| DiffType | aType ) |
References mDiffs, WsfPProxyDiff::DiffEntry::mPath, and WsfPProxyDiff::DiffEntry::mType.
Referenced by Diff().
| void WsfPProxyDiff::Diff | ( | WsfPProxyValue | aOld, |
| WsfPProxyValue | aNew, | ||
| const WsfPProxyPath & | aPath ) |
References AddDiff(), cADDED, cCHANGED, cREMOVED, Diff(), WsfPProxyBasicType::Equal(), WsfPProxyList::Get(), WsfPProxyValue::GetDataPtr(), WsfPProxyValue::GetList(), WsfPProxyStructValue::GetMemberCount(), WsfPProxyValue::GetObjectMap(), WsfPProxyValue::GetType(), WsfPProxyObjectMap::GetValues(), WsfPProxyType::IsBasicType(), WsfPProxyType::IsList(), WsfPProxyType::IsObjectMap(), WsfPProxyType::IsStruct(), WsfPProxyPath::Pop(), and WsfPProxyList::Size().
Referenced by Diff(), WsfPProxySatisfy::SatisfyBlock(), and WsfPProxySatisfy::SatisfyRootDifferences().
| bool WsfPProxyDiff::IsEqual | ( | WsfPProxyValue | aOld, |
| WsfPProxyValue | aNew ) |
References WsfPProxyBasicType::Equal(), WsfPProxyList::Get(), WsfPProxyValue::GetDataPtr(), WsfPProxyValue::GetList(), WsfPProxyStructValue::GetMemberCount(), WsfPProxyValue::GetObjectMap(), WsfPProxyValue::GetType(), WsfPProxyObjectMap::GetValues(), WsfPProxyType::IsBasicType(), IsEqual(), WsfPProxyType::IsList(), WsfPProxyType::IsObjectMap(), WsfPProxyType::IsStruct(), and WsfPProxyList::Size().
Referenced by IsEqual().
| std::vector<DiffEntry> WsfPProxyDiff::mDiffs |
Referenced by AddDiff(), WsfPProxySatisfy::SatisfyBlock(), and WsfPProxySatisfy::SatisfyRootDifferences().