This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Specifying inheritance in classsynopsis


/ Christoph Spiel <cspiel@hammersmith-consulting.com> was heard to say:
| class foo_base_value
|       : public foo_value
| {
|       // defs go here
| };
| 
| How does the inheritance relationship map onto DocBook?

Use multiple ooclasses.

 <classsynopsis language = "c++">
     <ooclass>
         <classname>foo_base_value</classname>
     </ooclass>
     <ooclass>
         <classname>foo_value</classname>
     </ooclass>
  ...


                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | What is familiar is what we are
http://www.oasis-open.org/docbook/ | used to; and what we are used to
Chair, DocBook Technical Committee | is most difficult to 'Know'--that
                                   | is, to see as a problem; that is,
                                   | to see as strange, as distant, as
                                   | 'outside us'.--Nietzsche

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]