doc-docbook/src/xml/osztaly-forma.xml
changeset 80 629b9ca9184b
child 123 2d1da2e1644a
equal deleted inserted replaced
-1:000000000000 0:0981c87965b8
       
     1 <!-- Az osztaly definialasahoz a docbook altal adott classsynopsys
       
     2      element nem tunik jonak, ugyhogy egyelore ime egy sima synopsys 
       
     3      blokk, majd meg alakul... -->
       
     4 
       
     5 <synopsis>
       
     6 <![CDATA[
       
     7 class Osztaly {
       
     8 public:
       
     9   int x;
       
    10 
       
    11   Osztaly(int i = 5);
       
    12 
       
    13   virtual longlong metodus(double alfa, char* s);
       
    14 }
       
    15 ]]>
       
    16 </synopsis>
       
    17 
       
    18 <!-- Igy nezne ez ki docbook markup-pal: (a komplexitasan kivul az a 
       
    19      baj vele, hogy bugosra fordul: 
       
    20  
       
    21 <classsynopsis language="C++">
       
    22   <ooclass>
       
    23     <classname>Osztaly neve</classname>
       
    24   </ooclass>
       
    25 
       
    26   <fieldsynopsis>
       
    27     <modifier>public</modifier>
       
    28     <type>int</type>
       
    29     <varname>x</varname>
       
    30   </fieldsynopsis>
       
    31 
       
    32   <constructorsynopsis>
       
    33     <methodparam>
       
    34       <parameter><type>int</type>i</parameter>
       
    35       <initializer>5</initializer>
       
    36     </methodparam>
       
    37   </constructorsynopsis>
       
    38 
       
    39   <methodsynopsis>
       
    40     <modifier>virtual</modifier>
       
    41     <type>longlong</type>
       
    42    <methodname>a_metodus</methodname>
       
    43     <methodparam>
       
    44       <parameter><type>double</type>alfa</parameter>
       
    45     </methodparam>
       
    46     <methodparam>
       
    47       <parameter><type>char*</type>s</parameter>
       
    48     </methodparam>
       
    49   </methodsynopsis>
       
    50 
       
    51 </classsynopsis>
       
    52 -->
       
    53 
       
    54 <!-- Keep this comment at the end of the file
       
    55 Local variables:
       
    56 mode: xml
       
    57 sgml-omittag:nil
       
    58 sgml-shorttag:nil
       
    59 sgml-namecase-general:nil
       
    60 sgml-general-insert-case:lower
       
    61 sgml-minimize-attributes:nil
       
    62 sgml-always-quote-attributes:t
       
    63 sgml-indent-step:2
       
    64 sgml-indent-data:nil
       
    65 sgml-parent-document:("graph-classes.xml" "sect1" "classsynopsis")
       
    66 sgml-exposed-tags:nil
       
    67 sgml-local-catalogs:nil
       
    68 sgml-local-ecat-files:nil
       
    69 End:
       
    70 -->