RE: UML relation for C++ private inheritance

From: Ian [MSFT] (IanBa_at_online.microsoft.com)
Date: 04/02/04


Date: Fri, 02 Apr 2004 23:30:44 GMT

You can set the stereotype on the generalization relationship between your
two classes to "private". Do this by double-clicking the relationship on
your model and selecting private from the Stereotype dropdown list.

Ian, Visual Studio Enterprise Frameworks and Tools Team

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

--------------------
Date: Fri, 19 Mar 2004 16:42:33 +0100
From: Marco Segurini <marco_segurini@jumpy.it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5)
Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
Subject: UML relation for C++ private inheritance
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <eDWp6icDEHA.2576@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.visio.software.modeling
NNTP-Posting-Host: 62.110.81.102
Lines: 1
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.visio.software.modeling:1352
X-Tomcat-NG: microsoft.public.visio.software.modeling

HI,

At the moment I am building a UML static structure diagram.

I'd like to know what kind of relation I have to use to identify a C++
private inheritance. Composition?

Thanks.
Marco.



Relevant Pages

  • Re: How to... private inheritance ?!
    ... implementation of the methods exposed by the interface. ... to access the interface's methods through the concrete class itself. ... but my recollections on private inheritance is designed for do not match your description. ...
    (comp.lang.java.programmer)
  • Re: basic question on C++
    ... |>On a job interview question, ... | All I can think of is that "how do you set variables in the base class ... | to be all private" is meant as if it were followed with "...to the ... That would be via private inheritance: ...
    (alt.comp.lang.learn.c-cpp)
  • Re: private/protected
    ... >case with private inheritance. ... class Derived: private Base ... Is this "controlled polymorphism" actually used in real-word designs? ...
    (comp.lang.cpp)