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());