DITA-OT_CXX_Plugin/cxxapiref/dtd/cxxStruct.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++ Struct DTD                                        -->
     4 <!--  MODULE:    C++ Struct 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 Struct Reference Type v0.5.0//EN"
    16 PUBLIC "-//NOKIA//DTD DITA C++ API Struct Reference Type v0.6.0//EN"
    17       Delivered as file "cxxStruct.dtd"                                   -->
    17       Delivered as file "cxxStruct.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 Structs                         -->
    22 <!-- PURPOSE:    C++ API Reference for Structs                         -->
    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 % cxxStruct                             "cxxStruct">
    45 <!ENTITY % cxxStruct                             "cxxStruct">
    45 <!ENTITY % cxxStructDetail                       "cxxStructDetail">
    46 <!ENTITY % cxxStructDetail                       "cxxStructDetail">
    46 <!ENTITY % cxxStructDefinition                   "cxxStructDefinition">
    47 <!ENTITY % cxxStructDefinition                   "cxxStructDefinition">
    47 
    48 
    48 <!ENTITY % cxxStructAbstract                     "cxxStructAbstract">
    49 <!ENTITY % cxxStructAbstract                     "cxxStructAbstract">
    49 <!ENTITY % cxxStructAccessSpecifier              "cxxStructAccessSpecifier">
    50 <!ENTITY % cxxStructAccessSpecifier              "cxxStructAccessSpecifier">
       
    51 
    50 <!ENTITY % cxxStructDerivations                  "cxxStructDerivations">
    52 <!ENTITY % cxxStructDerivations                  "cxxStructDerivations">
    51 <!ENTITY % cxxStructDerivation                   "cxxStructDerivation">
    53 <!ENTITY % cxxStructDerivation                   "cxxStructDerivation">
    52 <!ENTITY % cxxClassDerivation                    "cxxClassDerivation">
    54 <!ENTITY % cxxClassDerivation                    "cxxClassDerivation">
    53 
    55 
    54 <!-- Templates -->
    56 <!-- Templates -->
    55 <!ENTITY % cxxStructTemplateParamList            "cxxStructTemplateParamList">
    57 <!ENTITY % cxxStructTemplateParameters           "cxxStructTemplateParameters">
    56 <!ENTITY % cxxStructTemplateParameter            "cxxStructTemplateParameter">
    58 <!ENTITY % cxxStructTemplateParameter            "cxxStructTemplateParameter">
    57 <!ENTITY % cxxStructTemplateParamType            "cxxStructTemplateParamType">
    59 <!ENTITY % cxxStructTemplateParameterType        "cxxStructTemplateParameterType">
    58 <!ENTITY % cxxStructTemplateParamDeclarationName "cxxStructTemplateParamDeclarationName">
       
    59 <!ENTITY % cxxStructTemplateParamDefinitionName  "cxxStructTemplateParamDefinitionName">
       
    60 
    60 
    61 <!-- Derivation -->
    61 <!-- Derivation -->
    62 <!ENTITY % cxxStructDerivationAccessSpecifier    "cxxStructDerivationAccessSpecifier">
    62 <!ENTITY % cxxStructDerivationAccessSpecifier    "cxxStructDerivationAccessSpecifier">
    63 <!ENTITY % cxxStructDerivationVirtual            "cxxStructDerivationVirtual">
    63 <!ENTITY % cxxStructDerivationVirtual            "cxxStructDerivationVirtual">
    64 <!ENTITY % cxxStructBaseClass                    "cxxStructBaseClass">
    64 <!ENTITY % cxxStructBaseClass                    "cxxStructBaseClass">
    92     "cxxStructNested | cxxFunction | cxxDefine | cxxVariable | cxxEnumeration | cxxTypedef">
    92     "cxxStructNested | cxxFunction | cxxDefine | cxxVariable | cxxEnumeration | cxxTypedef">
    93 <!ENTITY % cxxStruct-info-types  "%cxxStruct-types-default;">
    93 <!ENTITY % cxxStruct-info-types  "%cxxStruct-types-default;">
    94 
    94 
    95 <!ENTITY % cxxStructNested-types-default "no-topic-nesting">
    95 <!ENTITY % cxxStructNested-types-default "no-topic-nesting">
    96 <!ENTITY % cxxStructNested-info-types  "%cxxStructNested-types-default;">
    96 <!ENTITY % cxxStructNested-info-types  "%cxxStructNested-types-default;">
       
    97 
    97 <!ENTITY included-domains "">
    98 <!ENTITY included-domains "">
    98 
    99 
    99 <!-- ============ Topic specializations ============ -->
   100 <!-- ============ Topic specializations ============ -->
   100                         <!-- (%cxxStruct-info-types;)* -->
   101                         <!-- (%cxxStruct-info-types;)* -->
   101 
   102 
   126 
   127 
   127 <!ELEMENT cxxStructDefinition   (
   128 <!ELEMENT cxxStructDefinition   (
   128                                     (%cxxStructAccessSpecifier;)?,
   129                                     (%cxxStructAccessSpecifier;)?,
   129                                     (%cxxStructAbstract;)?,
   130                                     (%cxxStructAbstract;)?,
   130                                     (%cxxStructDerivations;)?,
   131                                     (%cxxStructDerivations;)?,
   131                                     (%cxxStructTemplateParamList;)?,
   132                                     (%cxxStructTemplateParameters;)?,
   132                                     (%cxxStructAPIItemLocation;)
   133                                     (%cxxStructAPIItemLocation;)
   133                                )
   134                                )
   134 >
   135 >
   135 <!ATTLIST cxxStructDefinition    spectitle CDATA #IMPLIED
   136 <!ATTLIST cxxStructDefinition    spectitle CDATA #IMPLIED
   136                                   %univ-atts;
   137                                   %univ-atts;
   279                               scope (local | peer | external) #IMPLIED
   280                               scope (local | peer | external) #IMPLIED
   280                               outputclass CDATA #IMPLIED
   281                               outputclass CDATA #IMPLIED
   281 >
   282 >
   282 
   283 
   283 <!-- Templates-->
   284 <!-- Templates-->
   284 
   285 <!ELEMENT cxxStructTemplateParameters   (%cxxStructTemplateParameter;)+ >
   285 <!ELEMENT cxxStructTemplateParamList   (%cxxStructTemplateParameter;)+ >
   286 <!ATTLIST cxxStructTemplateParameters    %univ-atts;
   286 <!ATTLIST cxxStructTemplateParamList    %univ-atts;
   287 										outputclass CDATA #IMPLIED
   287                                   outputclass CDATA #IMPLIED
   288 >
   288 >
   289 
   289 
   290 <!ELEMENT cxxStructTemplateParameter   	(%cxxStructTemplateParameterType;,
   290 <!ELEMENT cxxStructTemplateParameter   ( %cxxStructTemplateParamType;,
   291 										(%apiDefNote;)?
   291                                        (%cxxStructTemplateParamDeclarationName;)?,
   292 										)
   292                                        (%cxxStructTemplateParamDefinitionName;)? 
       
   293 																			)
       
   294 >
   293 >
   295 <!ATTLIST cxxStructTemplateParameter    %univ-atts;
   294 <!ATTLIST cxxStructTemplateParameter    %univ-atts;
   296                                   outputclass CDATA #IMPLIED
   295                                   outputclass CDATA #IMPLIED
   297 >
   296 >
   298 
   297 
   299 <!ELEMENT cxxStructTemplateParamType   (#PCDATA)*>
   298 <!ELEMENT cxxStructTemplateParameterType   (#PCDATA | %apiRelation;)*>
   300 <!ATTLIST cxxStructTemplateParamType    %univ-atts;
   299 <!ATTLIST cxxStructTemplateParameterType    %univ-atts;
   301                                   outputclass CDATA #IMPLIED
   300 											outputclass CDATA #IMPLIED
   302 >
       
   303 
       
   304 <!ELEMENT cxxStructTemplateParamDeclarationName   (#PCDATA)*>
       
   305 <!ATTLIST cxxStructTemplateParamDeclarationName    %univ-atts;
       
   306                                                   outputclass CDATA #IMPLIED
       
   307 >
       
   308 
       
   309 <!ELEMENT cxxStructTemplateParamDefinitionName   (#PCDATA)*>
       
   310 <!ATTLIST cxxStructTemplateParamDefinitionName    %univ-atts;
       
   311                                                  outputclass CDATA #IMPLIED
       
   312 >
   301 >
   313 
   302 
   314 <!-- Location -->
   303 <!-- Location -->
   315 <!ELEMENT cxxStructAPIItemLocation   (
   304 <!ELEMENT cxxStructAPIItemLocation   (
   316                                         %cxxStructDeclarationFile;,
   305                                         %cxxStructDeclarationFile;,
   317                                         %cxxStructDeclarationFileLine;,
   306                                         %cxxStructDeclarationFileLine;,
   318                                         %cxxStructDefinitionFile;?,
   307                                         (%cxxStructDefinitionFile;)?,
   319                                         %cxxStructDefinitionFileLineStart;?,
   308                                         (%cxxStructDefinitionFileLineStart;)?,
   320                                         %cxxStructDefinitionFileLineEnd;?
   309                                         (%cxxStructDefinitionFileLineEnd;)?
   321                                      )
   310                                      )
   322 >
   311 >
   323 <!ATTLIST cxxStructAPIItemLocation    %univ-atts;
   312 <!ATTLIST cxxStructAPIItemLocation    %univ-atts;
   324                                     outputclass CDATA #IMPLIED
   313                                     outputclass CDATA #IMPLIED
   325 >
   314 >
   439     class  CDATA "- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier cxxStruct/cxxStructBaseStruct ">
   428     class  CDATA "- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier cxxStruct/cxxStructBaseStruct ">
   440 <!ATTLIST cxxStructBaseUnion   %global-atts;
   429 <!ATTLIST cxxStructBaseUnion   %global-atts;
   441     class  CDATA "- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier cxxStruct/cxxStructBaseUnion ">
   430     class  CDATA "- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier cxxStruct/cxxStructBaseUnion ">
   442 
   431 
   443 <!-- Templates -->
   432 <!-- Templates -->
   444 <!ATTLIST cxxStructTemplateParamList   %global-atts;
   433 <!ATTLIST cxxStructTemplateParameters   %global-atts;
   445     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiClassifier/apiDefItem cxxStruct/cxxStructTemplateParamList ">
   434     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiClassifier/apiDefItem cxxStruct/cxxStructTemplateParameters ">
   446 <!ATTLIST cxxStructTemplateParameter   %global-atts;
   435 <!ATTLIST cxxStructTemplateParameter   %global-atts;
   447     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiClassifier/apiDefItem cxxStruct/cxxStructTemplateParameter ">
   436     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiClassifier/apiDefItem cxxStruct/cxxStructTemplateParameter ">
   448 <!ATTLIST cxxStructTemplateParamType   %global-atts;
   437 <!ATTLIST cxxStructTemplateParameterType   %global-atts;
   449     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiClassifier/apiDefItem cxxStruct/cxxStructTemplateParamType ">
   438     class  CDATA "- topic/ph reference/ph apiRef/apiDefItem apiClassifier/apiDefItem cxxStruct/cxxStructTemplateParameterType ">
   450 <!ATTLIST cxxStructTemplateParamDeclarationName   %global-atts;
       
   451     class  CDATA "- topic/keyword reference/keyword apiRef/apiItemName apiClassifier/apiItemName cxxStruct/cxxStructTemplateParamDeclarationName ">    
       
   452 <!ATTLIST cxxStructTemplateParamDefinitionName   %global-atts;
       
   453     class  CDATA "- topic/keyword reference/keyword apiRef/apiItemName apiClassifier/apiItemName cxxStruct/cxxStructTemplateParamDefinitionName ">
       
   454     
   439     
   455 <!-- Nested members  -->
   440 <!-- Nested members  -->
   456 <!ATTLIST cxxStructNested   %global-atts;
   441 <!ATTLIST cxxStructNested   %global-atts;
   457     class  CDATA "- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier cxxStruct/cxxStructNested ">
   442     class  CDATA "- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier cxxStruct/cxxStructNested ">
   458 <!ATTLIST cxxStructNestedDetail   %global-atts;
   443 <!ATTLIST cxxStructNestedDetail   %global-atts;