Hi!

Currently, I mark up (parts of) C++ classes with <classsynopsis>,
like in the following example.

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

    <methodsynopsis>
        <modifier>public</modifier>
        <type>bool</type> <methodname>bool_value</methodname> <void></void>
        <modifier>const</modifier>
    </methodsynopsis>

    <!-- 1210 lines deleted -->
</classsynopsis>

This works very well with DocBook-4.1 and Norman's DSSSL style-sheets.
What I have not found out yet is how to specify inheritance from other
classes.  In the example foo_base_value inherits publicly from
foo_value, i.e,

class foo_base_value
      : public foo_value
{
      // defs go here
};

How does the inheritance relationship map onto DocBook?


TIA,
        Chris

-- 
Christoph L. Spiel  <[EMAIL PROTECTED]>
Hammersmith Consulting,  web: www.hammersmith-consulting.com
Phone: +49-8022-662908, fax: +49-8022-662909

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]

Reply via email to