[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK: Specifying inheritance in classsynopsis
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 <cspiel@hammersmith-consulting.com> Hammersmith Consulting, web: www.hammersmith-consulting.com Phone: +49-8022-662908, fax: +49-8022-662909
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC