From f1cedc8ceb23166c32c30a9c45571f69b2d2d957 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Fri, 2 Nov 2007 15:11:44 +0000 Subject: INTEGRATION: CWS adc18 (1.7.2); FILE MERGED 2007/10/18 14:18:25 np 1.7.2.1: #i81775# --- autodoc/source/ary/kernel/cessentl.cxx | 48 +++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 21 deletions(-) (limited to 'autodoc/source/ary/kernel') diff --git a/autodoc/source/ary/kernel/cessentl.cxx b/autodoc/source/ary/kernel/cessentl.cxx index c60947d6e327..618b4344ce45 100644 --- a/autodoc/source/ary/kernel/cessentl.cxx +++ b/autodoc/source/ary/kernel/cessentl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: cessentl.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: vg $ $Date: 2007-09-18 13:42:02 $ + * last change: $Author: hr $ $Date: 2007-11-02 16:11:44 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -38,31 +38,29 @@ // NOT FULLY DEFINED SERVICES -#include -#include +#include +#include -namespace ary { +namespace ary +{ +namespace cpp +{ CeEssentials::CeEssentials() : sLocalName(), - nId(0), nOwner(0), - nLocation(0), - pInfo(0) + nLocation(0) { } -CeEssentials::CeEssentials( Cid i_nId, - const udmstri & i_sLocalName, +CeEssentials::CeEssentials( const String & i_sLocalName, Cid i_nOwner, - Lid i_nLocation ) + loc::Le_id i_nLocation ) : sLocalName(i_sLocalName), - nId(i_nId), nOwner(i_nOwner), - nLocation(i_nLocation), - pInfo(0) + nLocation(i_nLocation) { } @@ -70,19 +68,27 @@ CeEssentials::~CeEssentials() { } + + +inline bool +IsInternal(const doc::Documentation & i_doc) +{ + const ary::doc::OldCppDocu * + docu = dynamic_cast< const ary::doc::OldCppDocu* >(i_doc.Data()); + if (docu != 0) + return docu->IsInternal(); + return false; +} + + bool CodeEntity::IsVisible() const { // KORR_FUTURE: Improve the whole handling of internal and visibility. - return bIsVisible && NOT Info().IsInternal(); + return bIsVisible && NOT IsInternal(Docu()); } - - - +} // namespace cpp } // namespace ary - - - -- cgit