From eb9b0410e0a805432afdf03d03ebfdcd1ae6df73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Thu, 17 Apr 2003 12:33:39 +0000 Subject: [PATCH] INTEGRATION: CWS configapi01 (1.5.4); FILE MERGED 2003/04/14 16:04:08 ssmith 1.5.4.1: #108808# fix for OInnerGroupInfoAccess:XElementAccess --- configmgr/source/treemgr/viewstrategy.cxx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/configmgr/source/treemgr/viewstrategy.cxx b/configmgr/source/treemgr/viewstrategy.cxx index afa57866ee6b..7bec3cb5fd8e 100644 --- a/configmgr/source/treemgr/viewstrategy.cxx +++ b/configmgr/source/treemgr/viewstrategy.cxx @@ -2,9 +2,9 @@ * * $RCSfile: viewstrategy.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: vg $ $Date: 2003-04-01 13:43:09 $ + * last change: $Author: rt $ $Date: 2003-04-17 13:33:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -595,6 +595,15 @@ namespace configmgr return getMemberValueAccess(_aNode,_aName).isValid(); } + bool ViewStrategy::hasValue(GroupNode const& _aNode) const + { + checkInstance(_aNode.tree()); + configuration::GroupNodeImpl* pGroupNode=_aNode.get_impl(); + data::GroupNodeAccess aGroupNodeAccess = pGroupNode->getDataAccess( _aNode.accessor() ); + return aGroupNodeAccess.hasChildren(); + } + + bool ViewStrategy::areValueDefaultsAvailable(GroupNode const& _aNode) const { checkInstance(_aNode.tree());