uidesigner/com.nokia.sdt.series60.componentlibrary/components/FileAndClassMacros.inc.html
author Ed Swartz <ed.swartz@nokia.com>
Thu, 12 Nov 2009 14:50:22 -0600
changeset 577 b46382ab04d2
parent 0 fb279309251b
permissions -rw-r--r--
Replace internal HTMLDOMImplementationImpl with XML DOM
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
577
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
     1
<?xml version="1.0" encoding="UTF-8" standalone="no"?><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Help for Macros in FileAndClassMacros.inc</title></head><body><p><h1>Table of contents</h1><p><a href="#SourceFileTemplate">SourceFileTemplate</a></p>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
     2
<p><a href="#HeaderFileTemplate">HeaderFileTemplate</a></p>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
     3
<p><a href="#ClassTemplate">ClassTemplate</a></p>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
     4
<p><a href="#AddCppIncludes">AddCppIncludes</a></p>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
     5
<p><a href="#ResolvePhases">ResolvePhases</a></p>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
     6
</p><p><a name="SourceFileTemplate"/><h2>SourceFileTemplate</h2><p><p>Defines the basic structure for a source file.   This defines a file with system includes, user includes, and constants.</p></p><h3>Arguments</h3><table border="1" cellpadding="3"><th>Argument</th><th>Req'd?</th><th>Default</th><th>Description</th><tr><td>Dir</td><td>no</td><td>${src}</td><td><p><p>Project-relative directory for file</p></p></td></tr><tr><td>FileName</td><td>no</td><td>${instanceName$title}.cpp</td><td><p><p>Filename, inside $(Dir), to create</p></p></td></tr><tr><td>HeaderFileName</td><td>no</td><td>${instanceName$title}.h</td><td><p><p>Filename of associated header to #include, or blank for no #include</p></p></td></tr><tr><td>LocationPrefix</td><td>no</td><td>SOURCE</td><td><p><p>String which is prefixed to the location ids defined by this macro.</p></p></td></tr><tr><td>InitialFileHeadContent</td><td>no</td><td> </td><td><p><p>optional stock text for the source file (before system includes, user includes,   constants). </p><p>  NOTE: one-time text, should not depend on modifiable properties </p><p>  NOTE: does not need to specify default source file template (comments), which is automatic.</p></p></td></tr><tr><td>RealizeSystemIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the system includes section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no system includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>SystemIncludesRegionName</td><td>no</td><td>Generated System Includes</td><td><p><p>name of the generated section for system includes</p></p></td></tr><tr><td>InitialSystemIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the system includes</p></p></td></tr><tr><td>RealizeUserIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the user includes section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no user includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>UserIncludesRegionName</td><td>no</td><td>Generated User Includes</td><td><p><p>name of the generated section for user includes</p></p></td></tr><tr><td>InitialUserIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the user includes</p></p></td></tr><tr><td>RealizeConstants</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the constants section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no constants ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>ConstantsRegionName</td><td>no</td><td>Generated Constants</td><td><p><p>name of the generated section for constants</p></p></td></tr><tr><td>InitialConstantsContent</td><td>no</td><td> </td><td><p><p>optional stock text for the constants</p></p></td></tr><tr><td>InitialFileTailContent</td><td>no</td><td> </td><td><p><p>optional stock text for the source file (after system includes, user includes,   constants) which appears at the very end of the file.    </p><p>  NOTE: one-time text, should not depend on modifiable properties    </p><p>  NOTE: this really comes at the very end during initial file generation   (unless you emit other templates with mode="at-end"), so if you simply   want content after these sections but before other templates you add,   just create templates for location="$(LocationPrefix)_FILE". </p></p></td></tr><tr><td>Dir</td><td>no</td><td>${src}</td><td><p><p>Project-relative directory for file</p></p></td></tr><tr><td>FileName</td><td>no</td><td>${instanceName$title}.cpp</td><td><p><p>Filename, inside $(Dir), to create</p></p></td></tr><tr><td>HeaderFileName</td><td>no</td><td>${instanceName$title}.h</td><td><p><p>Filename of associated header to #include, or blank for no #include</p></p></td></tr><tr><td>LocationPrefix</td><td>no</td><td>SOURCE</td><td><p><p>String which is prefixed to the location ids defined by this macro.</p></p></td></tr><tr><td>InitialFileHeadContent</td><td>no</td><td> </td><td><p><p>optional stock text for the source file (before system includes, user includes,   constants). </p><p>  NOTE: one-time text, should not depend on modifiable properties </p><p>  NOTE: does not need to specify default source file template (comments), which is automatic.</p></p></td></tr><tr><td>RealizeSystemIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the system includes section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no system includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>SystemIncludesRegionName</td><td>no</td><td>Generated System Includes</td><td><p><p>name of the generated section for system includes</p></p></td></tr><tr><td>InitialSystemIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the system includes</p></p></td></tr><tr><td>RealizeUserIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the user includes section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no user includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>UserIncludesRegionName</td><td>no</td><td>Generated User Includes</td><td><p><p>name of the generated section for user includes</p></p></td></tr><tr><td>InitialUserIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the user includes</p></p></td></tr><tr><td>RealizeConstants</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the constants section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no constants ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>ConstantsRegionName</td><td>no</td><td>Generated Constants</td><td><p><p>name of the generated section for constants</p></p></td></tr><tr><td>InitialConstantsContent</td><td>no</td><td> </td><td><p><p>optional stock text for the constants</p></p></td></tr><tr><td>InitialFileTailContent</td><td>no</td><td> </td><td><p><p>optional stock text for the source file (after system includes, user includes,   constants) which appears at the very end of the file.    </p><p>  NOTE: one-time text, should not depend on modifiable properties    </p><p>  NOTE: this really comes at the very end during initial file generation   (unless you emit other templates with mode="at-end"), so if you simply   want content after these sections but before other templates you add,   just create templates for location="$(LocationPrefix)_FILE". </p></p></td></tr></table>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
     7
<a name="HeaderFileTemplate"/><h2>HeaderFileTemplate</h2><p><p>  Defines the basic structure for a header file.  </p><p> This defines a file with an include guard, system includes, user includes, event handler includes (non-owned but modifiable), constants, and forward declarations. </p></p><h3>Arguments</h3><table border="1" cellpadding="3"><th>Argument</th><th>Req'd?</th><th>Default</th><th>Description</th><tr><td>Dir</td><td>no</td><td>${inc}</td><td><p><p>Project-relative directory for file</p></p></td></tr><tr><td>FileName</td><td>no</td><td>${instanceName$title}.h</td><td><p><p>Filename, inside $(Dir), to create</p></p></td></tr><tr><td>IncludeGuardMacro</td><td>no</td><td>${instanceName$upper}_H</td><td><p><p>Include guard macro (#ifndef ...) to use</p></p></td></tr><tr><td>LocationPrefix</td><td>no</td><td>HEADER</td><td><p><p>String which is prefixed to the location ids defined by this macro.</p></p></td></tr><tr><td>InitialFileHeadContent</td><td>no</td><td> </td><td><p><p>optional stock text for the top of the header file.      NOTE: one-time text, should not depend on modifiable properties      NOTE: does not need to specify header file template (comments) or #ifdef guards. </p></p></td></tr><tr><td>RealizeEventHandlerIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no event handler includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>InitialEventHandlerIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the event handler includes.   </p><p>   NOTE: one-time text, should not depend on modifiable properties</p></p></td></tr><tr><td>RealizeOwnedSystemIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the system includes section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no system includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>OwnedSystemIncludesRegionName</td><td>no</td><td>Generated System Includes</td><td><p><p>name of the generated section for system includes</p></p></td></tr><tr><td>RealizeOwnedUserIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the user includes section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no user includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>OwnedUserIncludesRegionName</td><td>no</td><td>Generated User Includes</td><td><p><p>name of the generated section for user includes</p></p></td></tr><tr><td>InitialOwnedSystemIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the added system includes</p></p></td></tr><tr><td>InitialOwnedUserIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the user includes.</p></p></td></tr><tr><td>RealizeOwnedConstants</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the constants section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no constants ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>InitialOwnedConstantsContent</td><td>no</td><td> </td><td><p><p>optional stock text for the constants</p></p></td></tr><tr><td>RealizeOwnedForwardDeclarations</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the forward declarations section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no forward decls ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>InitialOwnedForwardDeclarationsContent</td><td>no</td><td> </td><td><p><p>optional stock text for the forward declarations</p></p></td></tr><tr><td>RealizeOwnedTypedefs</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the typedefs section unless it is used.   </p><p>   NOTE: due to issues with the source generator, this should't be set 'false' unless   you really expect there to be no typedefs ever defined, otherwise, the section   will appear out of order when generated.</p></p></td></tr><tr><td>OwnedTypedefsRegionName</td><td>no</td><td>Generated Typedefs</td><td><p><p>name of the generated section for owned typedefs</p></p></td></tr><tr><td>InitialOwnedTypedefsContent</td><td>no</td><td> </td><td><p><p>optional stock text for the initial typedefs</p></p></td></tr><tr><td>InitialFileTailContent</td><td>no</td><td> </td><td><p><p>optional stock text for the end of the header file.   </p><p>   NOTE: one-time text, should not depend on modifiable properties    </p><p>   NOTE: this really comes at the very end during initial file generation   (unless you emit other templates with mode="at-end"), so if you simply   want content after these sections but before other templates you add,   just create templates for location="$(LocationPrefix)HEADER_FILE".   </p></p></td></tr><tr><td>Dir</td><td>no</td><td>${inc}</td><td><p><p>Project-relative directory for file</p></p></td></tr><tr><td>FileName</td><td>no</td><td>${instanceName$title}.h</td><td><p><p>Filename, inside $(Dir), to create</p></p></td></tr><tr><td>IncludeGuardMacro</td><td>no</td><td>${instanceName$upper}_H</td><td><p><p>Include guard macro (#ifndef ...) to use</p></p></td></tr><tr><td>LocationPrefix</td><td>no</td><td>HEADER</td><td><p><p>String which is prefixed to the location ids defined by this macro.</p></p></td></tr><tr><td>InitialFileHeadContent</td><td>no</td><td> </td><td><p><p>optional stock text for the top of the header file.      NOTE: one-time text, should not depend on modifiable properties      NOTE: does not need to specify header file template (comments) or #ifdef guards. </p></p></td></tr><tr><td>RealizeEventHandlerIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no event handler includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>InitialEventHandlerIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the event handler includes.   </p><p>   NOTE: one-time text, should not depend on modifiable properties</p></p></td></tr><tr><td>RealizeOwnedSystemIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the system includes section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no system includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>OwnedSystemIncludesRegionName</td><td>no</td><td>Generated System Includes</td><td><p><p>name of the generated section for system includes</p></p></td></tr><tr><td>RealizeOwnedUserIncludes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the user includes section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no user includes ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>OwnedUserIncludesRegionName</td><td>no</td><td>Generated User Includes</td><td><p><p>name of the generated section for user includes</p></p></td></tr><tr><td>InitialOwnedSystemIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the added system includes</p></p></td></tr><tr><td>InitialOwnedUserIncludesContent</td><td>no</td><td> </td><td><p><p>optional stock text for the user includes.</p></p></td></tr><tr><td>RealizeOwnedConstants</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the constants section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no constants ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>InitialOwnedConstantsContent</td><td>no</td><td> </td><td><p><p>optional stock text for the constants</p></p></td></tr><tr><td>RealizeOwnedForwardDeclarations</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the forward declarations section unless it is used.   </p><p>  NOTE: due to issues with the source generator, this shouldn't be set 'false' unless  you really expect there to be no forward decls ever defined, otherwise, the section  will appear out of order when generated.</p></p></td></tr><tr><td>InitialOwnedForwardDeclarationsContent</td><td>no</td><td> </td><td><p><p>optional stock text for the forward declarations</p></p></td></tr><tr><td>RealizeOwnedTypedefs</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the typedefs section unless it is used.   </p><p>   NOTE: due to issues with the source generator, this should't be set 'false' unless   you really expect there to be no typedefs ever defined, otherwise, the section   will appear out of order when generated.</p></p></td></tr><tr><td>OwnedTypedefsRegionName</td><td>no</td><td>Generated Typedefs</td><td><p><p>name of the generated section for owned typedefs</p></p></td></tr><tr><td>InitialOwnedTypedefsContent</td><td>no</td><td> </td><td><p><p>optional stock text for the initial typedefs</p></p></td></tr><tr><td>InitialFileTailContent</td><td>no</td><td> </td><td><p><p>optional stock text for the end of the header file.   </p><p>   NOTE: one-time text, should not depend on modifiable properties    </p><p>   NOTE: this really comes at the very end during initial file generation   (unless you emit other templates with mode="at-end"), so if you simply   want content after these sections but before other templates you add,   just create templates for location="$(LocationPrefix)HEADER_FILE".   </p></p></td></tr></table>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
     8
<a name="ClassTemplate"/><h2>ClassTemplate</h2><p><p>Defines the basic structure for a class with public, protected, and private regions, with owned sections therein for common purposes. </p></p><h3>Arguments</h3><table border="1" cellpadding="3"><th>Argument</th><th>Req'd?</th><th>Default</th><th>Description</th><tr><td>BaseClassName</td><td>yes</td><td> </td><td><p><p>name of the base class, from which this class derives </p></p></td></tr><tr><td>BaseClassName</td><td>yes</td><td> </td><td><p><p>name of the base class, from which this class derives </p></p></td></tr><tr><td>LocationPrefix</td><td>no</td><td> </td><td><p><p>String which is prefixed to the location ids defined by this macro.  Useful when one component defines multiple files.</p></p></td></tr><tr><td>BaseLocation</td><td>no</td><td>HEADER_FILE</td><td><p><p>name of the base location in which to place the class, defaults to HEADER_FILE</p></p></td></tr><tr><td>ClassName</td><td>no</td><td>${className}</td><td><p><p>name of the class to generate</p></p></td></tr><tr><td>BaseClassAccessor</td><td>no</td><td>public</td><td><p><p>accessor for the base class, from which this class derives</p></p></td></tr><tr><td>ExtraBaseClasses</td><td>no</td><td> </td><td><p><p>extra interface classes, separated by commas</p></p></td></tr><tr><td>ClassComment</td><td>no</td><td> </td><td><p><p>optional text for the class comment</p></p></td></tr><tr><td>InitialClassHeadContent</td><td>no</td><td> </td><td><p><p>optional text for the start of the class    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr><tr><td>InitialPublicHeadContent</td><td>no</td><td> </td><td><p><p>optional text for the start of the public section (follows "public:")    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr><tr><td>RealizePublicOwnedTypes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the public types section unless it is used.   </p><p>  NOTE: if InitialPublicOwnedTypesContent is set, this flag is ignored.</p></p></td></tr><tr><td>InitialPublicOwnedTypesContent</td><td>no</td><td> </td><td><p><p>optional text for the public owned types section</p></p></td></tr><tr><td>RealizePublicOwnedMethods</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the public owned methods section unless it is used.   </p><p>  NOTE: if InitialPublicOwnedMethodsContent is set, this flag is ignored.</p></p></td></tr><tr><td>InitialPublicOwnedMethodsContent</td><td>no</td><td> </td><td><p><p>optional text for the public owned methods section </p></p></td></tr><tr><td>InitialPublicTailContent</td><td>no</td><td> </td><td><p><p>optional text for the end of the public section (follows "public:")    </p><p>  NOTE: one-time code, should not depend on modifiable properties   </p><p>  NOTE: content appears at the end of all initially generated public content.   </p></p></td></tr><tr><td>InitialProtectedHeadContent</td><td>no</td><td> </td><td><p><p>optional text for the start of the protected section (follows "protected:")    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr><tr><td>RealizeProtectedOverriddenMethods</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the protected overridden methods section unless it is used.</p></p></td></tr><tr><td>InitialProtectedOverriddenMethodsContent</td><td>no</td><td> </td><td><p><p>optional text for the the protected overridden methods section</p></p></td></tr><tr><td>RealizeProtectedUserHandlers</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the protected user handlers section   unless it is used.  This is used for the prototypes for the user-editable    event handler methods.</p></p></td></tr><tr><td>InitialProtectedUserHandlersContent</td><td>no</td><td> </td><td><p><p>optional text for the protected user handlers section</p></p></td></tr><tr><td>InitialProtectedTailContent</td><td>no</td><td> </td><td><p><p>optional text for the end of the protected section    </p><p>  NOTE: one-time code, should not depend on modifiable properties   </p><p>  NOTE: content appears at the end of all initially generated protected content.</p></p></td></tr><tr><td>InitialPrivateHeadContent</td><td>no</td><td> </td><td><p><p>optional text for the start of the private section (follows "private:")    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr><tr><td>RealizePrivateOwnedTypes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the private owned types section unless it is used.   </p><p>  NOTE: if InitialPrivateOwnedTypesContent is set, this flag is ignored.</p></p></td></tr><tr><td>InitialPrivateOwnedTypesContent</td><td>no</td><td> </td><td><p><p>optional text for the the private types section</p></p></td></tr><tr><td>RealizePrivateOwnedInstanceVariables</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the private instance variables section unless it is used.</p></p></td></tr><tr><td>InitialPrivateOwnedInstanceVariablesContent</td><td>no</td><td> </td><td><p><p> optional text for the the private instance variables section</p></p></td></tr><tr><td>RealizePrivateOwnedMethods</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the private owned methods section unless it is used.</p></p></td></tr><tr><td>InitialPrivateOwnedMethodsContent</td><td>no</td><td> </td><td><p><p>optional text for the the private methods section</p></p></td></tr><tr><td>InitialPrivateTailContent</td><td>no</td><td> </td><td><p><p>optional text for the end of the private section    </p><p>  NOTE: one-time code, should not depend on modifiable properties   </p><p>  NOTE: content appears at the end of all initially generated private content.</p></p></td></tr><tr><td>InitialClassTailContent</td><td>no</td><td> </td><td><p><p>optional text for the end of the class    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr><tr><td>LocationPrefix</td><td>no</td><td> </td><td><p><p>String which is prefixed to the location ids defined by this macro.  Useful when one component defines multiple files.</p></p></td></tr><tr><td>BaseLocation</td><td>no</td><td>HEADER_FILE</td><td><p><p>name of the base location in which to place the class, defaults to HEADER_FILE</p></p></td></tr><tr><td>ClassName</td><td>no</td><td>${className}</td><td><p><p>name of the class to generate</p></p></td></tr><tr><td>BaseClassAccessor</td><td>no</td><td>public</td><td><p><p>accessor for the base class, from which this class derives</p></p></td></tr><tr><td>ExtraBaseClasses</td><td>no</td><td> </td><td><p><p>extra interface classes, separated by commas</p></p></td></tr><tr><td>ClassComment</td><td>no</td><td> </td><td><p><p>optional text for the class comment</p></p></td></tr><tr><td>InitialClassHeadContent</td><td>no</td><td> </td><td><p><p>optional text for the start of the class    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr><tr><td>InitialPublicHeadContent</td><td>no</td><td> </td><td><p><p>optional text for the start of the public section (follows "public:")    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr><tr><td>RealizePublicOwnedTypes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the public types section unless it is used.   </p><p>  NOTE: if InitialPublicOwnedTypesContent is set, this flag is ignored.</p></p></td></tr><tr><td>InitialPublicOwnedTypesContent</td><td>no</td><td> </td><td><p><p>optional text for the public owned types section</p></p></td></tr><tr><td>RealizePublicOwnedMethods</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the public owned methods section unless it is used.   </p><p>  NOTE: if InitialPublicOwnedMethodsContent is set, this flag is ignored.</p></p></td></tr><tr><td>InitialPublicOwnedMethodsContent</td><td>no</td><td> </td><td><p><p>optional text for the public owned methods section </p></p></td></tr><tr><td>InitialPublicTailContent</td><td>no</td><td> </td><td><p><p>optional text for the end of the public section (follows "public:")    </p><p>  NOTE: one-time code, should not depend on modifiable properties   </p><p>  NOTE: content appears at the end of all initially generated public content.   </p></p></td></tr><tr><td>InitialProtectedHeadContent</td><td>no</td><td> </td><td><p><p>optional text for the start of the protected section (follows "protected:")    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr><tr><td>RealizeProtectedOverriddenMethods</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the protected overridden methods section unless it is used.</p></p></td></tr><tr><td>InitialProtectedOverriddenMethodsContent</td><td>no</td><td> </td><td><p><p>optional text for the the protected overridden methods section</p></p></td></tr><tr><td>RealizeProtectedUserHandlers</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the protected user handlers section   unless it is used.  This is used for the prototypes for the user-editable    event handler methods.</p></p></td></tr><tr><td>InitialProtectedUserHandlersContent</td><td>no</td><td> </td><td><p><p>optional text for the protected user handlers section</p></p></td></tr><tr><td>InitialProtectedTailContent</td><td>no</td><td> </td><td><p><p>optional text for the end of the protected section    </p><p>  NOTE: one-time code, should not depend on modifiable properties   </p><p>  NOTE: content appears at the end of all initially generated protected content.</p></p></td></tr><tr><td>InitialPrivateHeadContent</td><td>no</td><td> </td><td><p><p>optional text for the start of the private section (follows "private:")    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr><tr><td>RealizePrivateOwnedTypes</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the private owned types section unless it is used.   </p><p>  NOTE: if InitialPrivateOwnedTypesContent is set, this flag is ignored.</p></p></td></tr><tr><td>InitialPrivateOwnedTypesContent</td><td>no</td><td> </td><td><p><p>optional text for the the private types section</p></p></td></tr><tr><td>RealizePrivateOwnedInstanceVariables</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the private instance variables section unless it is used.</p></p></td></tr><tr><td>InitialPrivateOwnedInstanceVariablesContent</td><td>no</td><td> </td><td><p><p> optional text for the the private instance variables section</p></p></td></tr><tr><td>RealizePrivateOwnedMethods</td><td>no</td><td>true</td><td><p><p>flag that can be used to avoid generating the private owned methods section unless it is used.</p></p></td></tr><tr><td>InitialPrivateOwnedMethodsContent</td><td>no</td><td> </td><td><p><p>optional text for the the private methods section</p></p></td></tr><tr><td>InitialPrivateTailContent</td><td>no</td><td> </td><td><p><p>optional text for the end of the private section    </p><p>  NOTE: one-time code, should not depend on modifiable properties   </p><p>  NOTE: content appears at the end of all initially generated private content.</p></p></td></tr><tr><td>InitialClassTailContent</td><td>no</td><td> </td><td><p><p>optional text for the end of the class    </p><p>  NOTE: one-time code, should not depend on modifiable properties</p></p></td></tr></table>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
     9
<a name="AddCppIncludes"/><h2>AddCppIncludes</h2><p><p>Generate #includes for a space-separated list of headers.    </p><p>  Note: you cannot use variable substitution, script escapes, etc. in the list.   Instead, just write explicit contributions for the include, e.g. &lt;template location="MAIN_OWNED_SYSTEM_INCLUDES"&gt; ... </p></p><h3>Arguments</h3><table border="1" cellpadding="3"><th>Argument</th><th>Req'd?</th><th>Default</th><th>Description</th><tr><td>Headers</td><td>yes</td><td> </td><td><p><p>a space-separated list of header files </p></p></td></tr><tr><td>Headers</td><td>yes</td><td> </td><td><p><p>a space-separated list of header files </p></p></td></tr><tr><td>Location</td><td>no</td><td> </td><td><p><p>location where includes should go (either this or Phase should be set)</p></p></td></tr><tr><td>Phase</td><td>no</td><td> </td><td><p><p>phase where includes should go (either this or Location should be set)</p></p></td></tr><tr><td>IsUser</td><td>no</td><td>false</td><td><p><p>"User" or &lt;system&gt; includes?</p></p></td></tr><tr><td>Location</td><td>no</td><td> </td><td><p><p>location where includes should go (either this or Phase should be set)</p></p></td></tr><tr><td>Phase</td><td>no</td><td> </td><td><p><p>phase where includes should go (either this or Location should be set)</p></p></td></tr><tr><td>IsUser</td><td>no</td><td>false</td><td><p><p>"User" or &lt;system&gt; includes?</p></p></td></tr></table>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
    10
<a name="ResolvePhases"/><h2>ResolvePhases</h2><p><p>This macro fixes up phase -&gt; location mappings on the current contributions,  or optionally, another list.    </p><p>  The mappings are Phase=Location pairs separated  by spaces.    </p><p>  This may be called multiple times.</p></p><h3>Arguments</h3><table border="1" cellpadding="3"><th>Argument</th><th>Req'd?</th><th>Default</th><th>Description</th><tr><td>Mappings</td><td>yes</td><td> </td><td><p><p>A space-separated list of Phase=Location mappings.</p></p></td></tr><tr><td>Mappings</td><td>yes</td><td> </td><td><p><p>A space-separated list of Phase=Location mappings.</p></p></td></tr><tr><td>ContribsList</td><td>no</td><td>contribs</td><td><p><p>The array or list of IContribution upon which to apply the fixups.</p></p></td></tr><tr><td>ContribsList</td><td>no</td><td>contribs</td><td><p><p>The array or list of IContribution upon which to apply the fixups.</p></p></td></tr></table>
b46382ab04d2 Replace internal HTMLDOMImplementationImpl with XML DOM
Ed Swartz <ed.swartz@nokia.com>
parents: 0
diff changeset
    11
</p></body></html>