DITA-OT_CXX_Plugin/cxxapiref/dtd/cxxFunction.mod
changeset 4 468f4c8d3d5b
parent 1 82f11024044a
equal deleted inserted replaced
3:d8fccb2cd802 4:468f4c8d3d5b
     1 <!-- ================================================================= -->
     1 <!-- ================================================================= -->
     2 <!--                    HEADER                                         -->
     2 <!--                    HEADER                                         -->
     3 <!-- ================================================================= -->
     3 <!-- ================================================================= -->
     4 <!--  MODULE:    C++ Function DTD                                      -->
     4 <!--  MODULE:    C++ Function DTD                                      -->
     5 <!--  VERSION:   0.5.0                                                 -->
     5 <!--  VERSION:   0.6.0                                                 -->
     6 <!--  DATE:      February 2009                                          -->
     6 <!--  DATE:      May 2010                                              -->
     7 <!--                                                                   -->
     7 <!--                                                                   -->
     8 <!-- ================================================================= -->
     8 <!-- ================================================================= -->
     9 
     9 
    10 <!-- ================================================================= -->
    10 <!-- ================================================================= -->
    11 <!--                    PUBLIC DOCUMENT TYPE DEFINITION                -->
    11 <!--                    PUBLIC DOCUMENT TYPE DEFINITION                -->
    12 <!--                    TYPICAL INVOCATION                             -->
    12 <!--                    TYPICAL INVOCATION                             -->
    13 <!--                                                                   -->
    13 <!--                                                                   -->
    14 <!--  Refer to this file by the following public identifier or an 
    14 <!--  Refer to this file by the following public identifier or an 
    15       appropriate system identifier 
    15       appropriate system identifier 
    16 PUBLIC "-//NOKIA//DTD DITA C++ API Function Reference Type v0.5.0//EN"
    16 PUBLIC "-//NOKIA//DTD DITA C++ API Function Reference Type v0.6.0//EN"
    17       Delivered as file "cxxFunction.dtd"                              -->
    17       Delivered as file "cxxFunction.dtd"                              -->
    18  
    18  
    19 <!-- ================================================================= -->
    19 <!-- ================================================================= -->
    20 <!-- SYSTEM:     Darwin Information Typing Architecture (DITA)         -->
    20 <!-- SYSTEM:     Darwin Information Typing Architecture (DITA)         -->
    21 <!--                                                                   -->
    21 <!--                                                                   -->
    22 <!-- PURPOSE:    C++ API Reference for Functions                       -->
    22 <!-- PURPOSE:    C++ API Reference for Functions                       -->
    23 <!--                                                                   -->
    23 <!--                                                                   -->
    24 <!-- ORIGINAL CREATION DATE:                                           -->
    24 <!-- ORIGINAL CREATION DATE:                                           -->
    25 <!--             November 2009                                         -->
    25 <!--             November 2009                                         -->
    26 <!--                                                                   -->
    26 <!--                                                                   -->
    27 <!-- Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -->
    27 <!-- Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). -->
    28 <!-- All rights reserved.                                              -->
    28 <!-- All rights reserved.                                              -->
    29 <!--                                                                   -->
    29 <!--                                                                   -->
    30 <!--  Change History (latest at top):                                  -->
    30 <!--  Change History (latest at top):                                  -->
    31 <!--  +++++++++++++++++++++++++++++++                                  -->
    31 <!--  +++++++++++++++++++++++++++++++                                  -->
       
    32 <!--  2010-05-14 PaulRoss: Fixed templates.                            -->
    32 <!--  2010-02-16 VOG: Updated.                                         -->
    33 <!--  2010-02-16 VOG: Updated.                                         -->
    33 <!--  2010-02-10 PaulRoss: Updated.                                   -->
    34 <!--  2010-02-10 PaulRoss: Updated.                                    -->
    34 <!--  2009-11-16 PaulRoss: Initial design.                             -->
    35 <!--  2009-11-16 PaulRoss: Initial design.                             -->
    35 <!--                                                                   -->
    36 <!--                                                                   -->
    36 <!-- ================================================================= -->
    37 <!-- ================================================================= -->
    37 
    38 
    38 <!--
    39 <!--
    39 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
    40 Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
    40 All rights reserved.
    41 All rights reserved.
    41 -->
    42 -->
    42 
    43 
    43 <!-- ============ Hooks for domain extension ============ -->
    44 <!-- ============ Hooks for domain extension ============ -->
    44 <!ENTITY % cxxFunction                                  "cxxFunction">
    45 <!ENTITY % cxxFunction                                  "cxxFunction">
    82 <!ENTITY % cxxFunctionDefinitionFile                    "cxxFunctionDefinitionFile">
    83 <!ENTITY % cxxFunctionDefinitionFile                    "cxxFunctionDefinitionFile">
    83 <!ENTITY % cxxFunctionDefinitionFileLineStart           "cxxFunctionDefinitionFileLineStart">
    84 <!ENTITY % cxxFunctionDefinitionFileLineStart           "cxxFunctionDefinitionFileLineStart">
    84 <!ENTITY % cxxFunctionDefinitionFileLineEnd             "cxxFunctionDefinitionFileLineEnd">
    85 <!ENTITY % cxxFunctionDefinitionFileLineEnd             "cxxFunctionDefinitionFileLineEnd">
    85 
    86 
    86 <!-- Templates  -->
    87 <!-- Templates  -->
    87 <!ENTITY % cxxFunctionTemplateParamList            "cxxFunctionTemplateParamList">
    88 <!ENTITY % cxxFunctionTemplateParameters            	"cxxFunctionTemplateParameters">
    88 <!ENTITY % cxxFunctionTemplateParameter            "cxxFunctionTemplateParameter">
    89 <!ENTITY % cxxFunctionTemplateParameter            		"cxxFunctionTemplateParameter">
    89 <!ENTITY % cxxFunctionTemplateParamType            "cxxFunctionTemplateParamType">
    90 <!ENTITY % cxxFunctionTemplateParameterType        		"cxxFunctionTemplateParameterType">
    90 <!ENTITY % cxxFunctionTemplateParamDeclarationName "cxxFunctionTemplateParamDeclarationName">
       
    91 <!ENTITY % cxxFunctionTemplateParamDefinitionName  "cxxFunctionTemplateParamDefinitionName">
       
    92 
    91 
    93 <!-- ============ Hooks for shell DTD ============ -->
    92 <!-- ============ Hooks for shell DTD ============ -->
    94 <!ENTITY % cxxFunction-types-default  "no-topic-nesting">
    93 <!ENTITY % cxxFunction-types-default  "no-topic-nesting">
    95 <!ENTITY % cxxFunction-info-types     "%cxxFunction-types-default;">
    94 <!ENTITY % cxxFunction-info-types     "%cxxFunction-types-default;">
    96 
    95 
   132                                     (%cxxFunctionScopedName;)?,
   131                                     (%cxxFunctionScopedName;)?,
   133                                     (%cxxFunctionPrototype;)?,
   132                                     (%cxxFunctionPrototype;)?,
   134                                     (%cxxFunctionNameLookup;)?,
   133                                     (%cxxFunctionNameLookup;)?,
   135 
   134 
   136                                     (%cxxFunctionReimplemented;)?,
   135                                     (%cxxFunctionReimplemented;)?,
   137 
   136 									
       
   137 									(%cxxFunctionTemplateParameters;)?,
   138                                     (%cxxFunctionParameters;)?,
   138                                     (%cxxFunctionParameters;)?,
       
   139 
       
   140                                     (%apiDefNote;)?,
   139 
   141 
   140                                     (%cxxFunctionAPIItemLocation;)?
   142                                     (%cxxFunctionAPIItemLocation;)?
   141                                    )
   143                                    )
   142 >
   144 >
   143 <!ATTLIST cxxFunctionDefinition    spectitle CDATA #IMPLIED
   145 <!ATTLIST cxxFunctionDefinition    spectitle CDATA #IMPLIED
   187                                       format        CDATA   #IMPLIED
   189                                       format        CDATA   #IMPLIED
   188                                       scope (local | peer | external) #IMPLIED
   190                                       scope (local | peer | external) #IMPLIED
   189                                       outputclass CDATA #IMPLIED
   191                                       outputclass CDATA #IMPLIED
   190 >
   192 >
   191 
   193 
       
   194 <!-- Function Parameters -->
   192 <!ELEMENT cxxFunctionParameters   (%cxxFunctionParameter;)* >
   195 <!ELEMENT cxxFunctionParameters   (%cxxFunctionParameter;)* >
   193 <!ATTLIST cxxFunctionParameters    %univ-atts;
   196 <!ATTLIST cxxFunctionParameters    %univ-atts;
   194                                     outputclass CDATA #IMPLIED
   197                                     outputclass CDATA #IMPLIED
   195 >
   198 >
   196 
   199 
   372                                             %univ-atts;
   375                                             %univ-atts;
   373                                             outputclass CDATA #IMPLIED
   376                                             outputclass CDATA #IMPLIED
   374 >
   377 >
   375 
   378 
   376 <!-- Templates -->
   379 <!-- Templates -->
   377 
   380 <!ELEMENT cxxFunctionTemplateParameters   (%cxxFunctionTemplateParameter;)+ >
   378 <!ELEMENT cxxFunctionTemplateParamList   (%cxxFunctionTemplateParameter;)+ >
   381 <!ATTLIST cxxFunctionTemplateParameters    %univ-atts;
   379 <!ATTLIST cxxFunctionTemplateParamList    %univ-atts;
       
   380                                            outputclass CDATA #IMPLIED
   382                                            outputclass CDATA #IMPLIED
   381 >
   383 >
   382 
   384 
   383 <!ELEMENT cxxFunctionTemplateParameter   ( %cxxFunctionTemplateParamType;,
   385 <!ELEMENT cxxFunctionTemplateParameter   	( %cxxFunctionTemplateParameterType;,
   384                                        (%cxxFunctionTemplateParamDeclarationName;)?,
   386 											(%apiDefNote;)?
   385                                        (%cxxFunctionTemplateParamDefinitionName;)? 
       
   386 																			)
   387 																			)
   387 >
   388 >
   388 <!ATTLIST cxxFunctionTemplateParameter    %univ-atts;
   389 <!ATTLIST cxxFunctionTemplateParameter    %univ-atts;
   389                                   outputclass CDATA #IMPLIED
   390 											outputclass CDATA #IMPLIED
   390 >
   391 >
   391 
   392 
   392 <!ELEMENT cxxFunctionTemplateParamType   (#PCDATA)*>
   393 <!ELEMENT cxxFunctionTemplateParameterType   (#PCDATA | %apiRelation;)*>
   393 <!ATTLIST cxxFunctionTemplateParamType    %univ-atts;
   394 <!ATTLIST cxxFunctionTemplateParameterType    %univ-atts;
   394                                   outputclass CDATA #IMPLIED
   395 											outputclass CDATA #IMPLIED
   395 >
       
   396 
       
   397 <!ELEMENT cxxFunctionTemplateParamDeclarationName   (#PCDATA)*>
       
   398 <!ATTLIST cxxFunctionTemplateParamDeclarationName    %univ-atts;
       
   399                                                   outputclass CDATA #IMPLIED
       
   400 >
       
   401 
       
   402 <!ELEMENT cxxFunctionTemplateParamDefinitionName   (#PCDATA)*>
       
   403 <!ATTLIST cxxFunctionTemplateParamDefinitionName    %univ-atts;
       
   404                                                  outputclass CDATA #IMPLIED
       
   405 >
   396 >
   406 
   397 
   407 <!-- ============ Class attributes for type ancestry ============ -->
   398 <!-- ============ Class attributes for type ancestry ============ -->
   408 
   399 
   409 <!ATTLIST cxxFunction   %global-atts;
   400 <!ATTLIST cxxFunction   %global-atts;
   482     class  CDATA "- topic/ph reference/ph apiRef/apiData apiOperation/apiData cxxFunction/cxxFunctionParameterDefaultValue ">   
   473     class  CDATA "- topic/ph reference/ph apiRef/apiData apiOperation/apiData cxxFunction/cxxFunctionParameterDefaultValue ">   
   483 <!ATTLIST cxxFunctionParameterDeclaredType   %global-atts;
   474 <!ATTLIST cxxFunctionParameterDeclaredType   %global-atts;
   484     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiDefItem cxxFunction/cxxFunctionParameterDeclaredType ">    
   475     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiDefItem cxxFunction/cxxFunctionParameterDeclaredType ">    
   485     
   476     
   486 <!-- Templates -->
   477 <!-- Templates -->
   487 <!ATTLIST cxxFunctionTemplateParamList   %global-atts;
   478 <!ATTLIST cxxFunctionTemplateParameters   %global-atts;
   488     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiDefItem cxxFunction/cxxFunctionTemplateParamList ">
   479     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiDefItem cxxFunction/cxxFunctionTemplateParameters ">
   489 <!ATTLIST cxxFunctionTemplateParameter   %global-atts;
   480 <!ATTLIST cxxFunctionTemplateParameter   %global-atts;
   490     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiDefItem cxxFunction/cxxFunctionTemplateParameter ">
   481     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiDefItem cxxFunction/cxxFunctionTemplateParameter ">
   491 <!ATTLIST cxxFunctionTemplateParamType   %global-atts;
   482 <!ATTLIST cxxFunctionTemplateParameterType   %global-atts;
   492     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiDefItem cxxFunction/cxxFunctionTemplateParamType ">
   483     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiDefItem cxxFunction/cxxFunctionTemplateParameterType ">
   493 <!ATTLIST cxxFunctionTemplateParamDeclarationName   %global-atts;
       
   494     class  CDATA "- topic/keyword reference/keyword apiRef/apiItemName apiOperation/apiItemName cxxFunction/cxxFunctionTemplateParamDeclarationName ">    
       
   495 <!ATTLIST cxxFunctionTemplateParamDefinitionName   %global-atts;
       
   496     class  CDATA "- topic/keyword reference/keyword apiRef/apiItemName apiOperation/apiItemName cxxFunction/cxxFunctionTemplateParamDefinitionName ">
       
   497