📄 a00014.html
字号:
</dl><dl compact><dt><b>Returns:</b></dt><dd>none </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>StartElement must have been called </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>none </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasea5" doxytag="CSyGenerator::EndFragmentL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::EndFragmentL </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Closes the XML fragment. <p><dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory</em> </td><td>if no memory for buffer ELevelUnderRun if startdoc already called </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>none </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>None </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>Nothing is left on the CleanupStack </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasea16" doxytag="CSyGenerator::IgnorableWhitespaceL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::IgnorableWhitespaceL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TDesC & </td> <td class="mdname1" valign="top" nowrap> <em>aCharacters</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Writes out string to the output buffer. <p>This is used to write out data between elements that is in effect whitespace This can be called multiple times to write out strings <dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory</em> </td><td>if no memory for buffer. </td></tr> </table></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aCharacters</em> </td><td>the character data to be written out </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>none </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>StartElement must have been called </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>none </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratore1" doxytag="CSyGenerator::NewL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="../../dd/d1b/a00015.html">CSyGeneratorBase</a> * CSyGenerator::NewL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="../../dd/da2/a00019.html">MSyOutputHandler</a> & </td> <td class="mdname" nowrap> <em>aOutput</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const TInt </td> <td class="mdname" nowrap> <em>aBufferSize</em> = <code>1024</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Standardized safe construction which leaves nothing on the cleanup stack. <p>Constructs a new generator to generate the XML. The generator will need to allocate an intermediate buffer internally, the intial size of which can be configured. The Characters function will not use this buffer, but pass the data straight through to the output mixin class. <dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory.</em> </td><td></td></tr> </table></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aOutput</em> </td><td>the output buffer </td></tr> <tr><td valign="top"></td><td valign="top"><em>aBufferSize</em> </td><td>the initial size of the output buffer </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>CSyGeneratorBase* A pointer to the newly created class. </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>None </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>Nothing is left on the CleanupStack </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratore0" doxytag="CSyGenerator::NewLC"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="../../dd/d1b/a00015.html">CSyGeneratorBase</a> * CSyGenerator::NewLC </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="../../dd/da2/a00019.html">MSyOutputHandler</a> & </td> <td class="mdname" nowrap> <em>aOutput</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const TInt </td> <td class="mdname" nowrap> <em>aBufferSize</em> = <code>1024</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Standardized safe construction which leaves the instance of the generator on the cleanup stack. <p>Constructs a new generator to generate the XML. The generator will need to allocate an intermediate buffer internally, the intial size of which can be configured. The Characters function will not use this buffer, but pass the data straight through to the output mixin class. <dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory.</em> </td><td></td></tr> </table></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aOutput</em> </td><td>the output buffer </td></tr> <tr><td valign="top"></td><td valign="top"><em>aBufferSize</em> </td><td>the initial size of the output buffer </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>CSyGeneratorBase* A pointer to the newly created class. </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>None </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>An instance of the parser is left on the CleanupStack </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasef0" doxytag="CSyGenerator::Panic"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::Panic </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TInt </td> <td class="mdname1" valign="top" nowrap> <em>aPanic</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [static, protected, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage : Helper function to generate a panic. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aPanic</em> </td><td>the panic code for the error </td></tr> </table></dl><dl compact><dt><b>Precondition:</b></dt><dd>First phase of construction is complete. </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>Never returns, only leaves!. </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasea17" doxytag="CSyGenerator::ProcessingInstructionL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::ProcessingInstructionL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TDesC & </td> <td class="mdname" nowrap> <em>aTarget</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const TDesC & </td> <td class="mdname" nowrap> <em>aData</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Writes out string a processing instruction to the xml writer. <p><dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory</em> </td><td>if no memory for buffer. </td></tr> </table></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -