|
WSF
|
#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) |
|
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().
|
inlinestatic |
Walk the proxy value tree visiting each node. aFunc should be callable with this signature: bool aFunc(WsfPProxyNode& aNode); 'false' is returned to prevent descending to children of aValue.
References WsfProxy::cLIST, WsfProxy::cOBJECT_MAP, WsfProxy::cSTRUCT, WsfPProxyValue::GetList(), WsfPProxyStructType::GetMemberCount(), WsfPProxyValue::GetObjectMap(), WsfPProxyValue::GetType(), WsfPProxyNode::GetValue(), WsfPProxyObjectMap::GetValues(), WsfPProxyValue::IsUnset(), WsfPProxyType::mTypeKind, WsfPProxyList::Size(), WsfPProxyNode::ToParent(), and VisitNodes().
Referenced by WsfPProxy::BuildPathMap(), WsfPProxy::PropagateNodeChange(), and VisitNodes().