WSF
WsfPProxyVisitor Class Reference

#include <WsfPProxyVisitor.hpp>

Static Public Member Functions

template<typename FUNC>
static void Visit (FUNC &aFunc, WsfPProxyValue aValue, WsfPProxyValue aParent=WsfPProxyValue())
template<typename FUNC>
static void VisitNodes (FUNC &aFunc, WsfPProxyNode aNode)

Member Function Documentation

◆ Visit()

template<typename FUNC>
void WsfPProxyVisitor::Visit ( FUNC & aFunc,
WsfPProxyValue aValue,
WsfPProxyValue aParent = WsfPProxyValue() )
inlinestatic

Walk the proxy value tree visiting each value. aFunc should be callable with this signature: bool aFunc(WsfPProxyValue aValue, WsfPProxyValue aParent); 'false' is returned to prevent descending to children of aValue.

References WsfProxy::cLIST, WsfProxy::cOBJECT_MAP, WsfProxy::cSTRUCT, WsfPProxyList::Get(), WsfPProxyStructType::GetAtIndex(), WsfPProxyValue::GetDataPtr(), WsfPProxyStructType::GetMemberCount(), WsfPProxyValue::GetObjectMap(), WsfPProxyObjectMap::GetValues(), WsfPProxyValue::IsUnset(), WsfPProxyType::mTypeKind, and WsfPProxyList::Size().

◆ VisitNodes()

template<typename FUNC>
void WsfPProxyVisitor::VisitNodes ( FUNC & aFunc,
WsfPProxyNode aNode )
inlinestatic

The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved