PageRenderTime 57ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/doc/web/doxygen/11tp1/api+framework/html/classrebecca_1_1framework_1_1impl_1_1_system.html

https://github.com/hallowname/librebecca
HTML | 168 lines | 153 code | 14 blank | 1 comment | 0 complexity | 5a2249925246f2111d0eab1cc5ad7492 MD5 | raw file
Possible License(s): GPL-3.0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
  3. <title>RebeccaAIML: System Class Reference</title>
  4. <link href="doxygen.css" rel="stylesheet" type="text/css">
  5. <link href="tabs.css" rel="stylesheet" type="text/css">
  6. </head><body>
  7. <!-- Generated by Doxygen 1.5.3 -->
  8. <div class="tabs">
  9. <ul>
  10. <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
  11. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  12. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  13. <li><a href="files.html"><span>Files</span></a></li>
  14. <li><a href="dirs.html"><span>Directories</span></a></li>
  15. <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  16. </ul>
  17. </div>
  18. <div class="tabs">
  19. <ul>
  20. <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
  21. <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
  22. <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  23. </ul>
  24. </div>
  25. <div class="nav">
  26. <a class="el" href="namespacerebecca.html">rebecca</a>::<b>framework</b>::<b>impl</b>::<a class="el" href="classrebecca_1_1framework_1_1impl_1_1_system.html">System</a></div>
  27. <h1>System Class Reference</h1><!-- doxytag: class="rebecca::framework::impl::System" --><!-- doxytag: inherits="rebecca::framework::impl::InnerTemplateListImpl" --><a class="el" href="classrebecca_1_1framework_1_1impl_1_1_a_i_m_l.html" title="AIML class that represents the AIML XML tag &quot;aiml&quot;.">AIML</a> class that represents the <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_a_i_m_l.html" title="AIML class that represents the AIML XML tag &quot;aiml&quot;.">AIML</a> XML tag "system".
  28. <a href="#_details">More...</a>
  29. <p>
  30. <code>#include &lt;<a class="el" href="_system_8h-source.html">System.h</a>&gt;</code>
  31. <p>
  32. <div class="dynheader">
  33. Inheritance diagram for System:</div>
  34. <div class="dynsection">
  35. <p><center><img src="classrebecca_1_1framework_1_1impl_1_1_system.png" usemap="#System_map" border="0" alt=""></center>
  36. <map name="System_map">
  37. <area href="classrebecca_1_1framework_1_1impl_1_1_inner_template_list_impl.html" alt="InnerTemplateListImpl" shape="rect" coords="0,280,132,304">
  38. <area href="classrebecca_1_1framework_1_1impl_1_1_inner_template.html" alt="InnerTemplate" shape="rect" coords="0,224,132,248">
  39. <area href="classrebecca_1_1framework_1_1impl_1_1_inner_category.html" alt="InnerCategory" shape="rect" coords="0,168,132,192">
  40. <area href="classrebecca_1_1framework_1_1impl_1_1_inner_topic.html" alt="InnerTopic" shape="rect" coords="0,112,132,136">
  41. <area href="classrebecca_1_1framework_1_1impl_1_1_inner_a_i_m_l.html" alt="InnerAIML" shape="rect" coords="0,56,132,80">
  42. <area href="classrebecca_1_1framework_1_1impl_1_1_tag.html" alt="Tag" shape="rect" coords="0,0,132,24">
  43. </map>
  44. </div>
  45. <p>
  46. <a href="classrebecca_1_1framework_1_1impl_1_1_system-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
  47. <tr><td></td></tr>
  48. <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
  49. <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classrebecca_1_1impl_1_1_string_pimpl.html">StringPimpl</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrebecca_1_1framework_1_1impl_1_1_system.html#587c9d6cda3737a781f0f37216436aee">getString</a> () const throw (InternalProgrammerErrorException &amp;)</td></tr>
  50. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Executes the command given inbetween its begin and end tag on the current operating system by calling <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_inner_template_list_impl.html#587c9d6cda3737a781f0f37216436aee" title="Iterates through the internal linked list, calls InnerTemplate::getString() on each...">InnerTemplateListImpl::getString()</a>. <a href="#587c9d6cda3737a781f0f37216436aee"></a><br></td></tr>
  51. <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrebecca_1_1framework_1_1impl_1_1_system.html#a99f92b482c36f6e72a05b28c3d6f748">System</a> () throw (InternalProgrammerErrorException &amp;)</td></tr>
  52. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor to initalize the private implementation (m_pimpl) data. <a href="#a99f92b482c36f6e72a05b28c3d6f748"></a><br></td></tr>
  53. <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrebecca_1_1framework_1_1impl_1_1_system.html#a7229e118bb766e4752281389b321ed6">~System</a> ()</td></tr>
  54. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default virtual destructor. <a href="#a7229e118bb766e4752281389b321ed6"></a><br></td></tr>
  55. <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
  56. <tr><td class="memItemLeft" nowrap align="right" valign="top">SystemImpl *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrebecca_1_1framework_1_1impl_1_1_system.html#1af988bf7d0fa0ef2c95525e1f364cd6">m_pimpl</a></td></tr>
  57. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The private implementation in which you cannot get access to. <a href="#1af988bf7d0fa0ef2c95525e1f364cd6"></a><br></td></tr>
  58. </table>
  59. <hr><a name="_details"></a><h2>Detailed Description</h2>
  60. <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_a_i_m_l.html" title="AIML class that represents the AIML XML tag &quot;aiml&quot;.">AIML</a> class that represents the <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_a_i_m_l.html" title="AIML class that represents the AIML XML tag &quot;aiml&quot;.">AIML</a> XML tag "system".
  61. <p>
  62. Every time a XML <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_tag.html" title="The abstract AIML XML Tag class that all other AIML XML tags should inherit from...">Tag</a> of <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_a_i_m_l.html" title="AIML class that represents the AIML XML tag &quot;aiml&quot;.">AIML</a> is encountered, an instance of this class will be created. All text inbetween the begin and end tag, all attributes, and all inner Tags will go through methods of this class. <hr><h2>Constructor &amp; Destructor Documentation</h2>
  63. <a class="anchor" name="a99f92b482c36f6e72a05b28c3d6f748"></a><!-- doxytag: member="rebecca::framework::impl::System::System" ref="a99f92b482c36f6e72a05b28c3d6f748" args="()" -->
  64. <div class="memitem">
  65. <div class="memproto">
  66. <table class="memname">
  67. <tr>
  68. <td class="memname"><a class="el" href="classrebecca_1_1framework_1_1impl_1_1_system.html">System</a> </td>
  69. <td>(</td>
  70. <td class="paramname"> </td>
  71. <td>&nbsp;)&nbsp;</td>
  72. <td width="100%"> throw (<a class="el" href="classrebecca_1_1impl_1_1_internal_programmer_error_exception.html">InternalProgrammerErrorException</a> &amp;)</td>
  73. </tr>
  74. </table>
  75. </div>
  76. <div class="memdoc">
  77. <p>
  78. Default constructor to initalize the private implementation (m_pimpl) data.
  79. <p>
  80. <dl compact><dt><b>Exceptions:</b></dt><dd>
  81. <table border="0" cellspacing="2" cellpadding="0">
  82. <tr><td valign="top"></td><td valign="top"><em>InternalProgrammerErrorException</em>&nbsp;</td><td>is thrown only if the error is so grave that the entire <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_a_i_m_l.html" title="AIML class that represents the AIML XML tag &quot;aiml&quot;.">AIML</a> engine has to be shut down. </td></tr>
  83. </table>
  84. </dl>
  85. </div>
  86. </div><p>
  87. <a class="anchor" name="a7229e118bb766e4752281389b321ed6"></a><!-- doxytag: member="rebecca::framework::impl::System::~System" ref="a7229e118bb766e4752281389b321ed6" args="()" -->
  88. <div class="memitem">
  89. <div class="memproto">
  90. <table class="memname">
  91. <tr>
  92. <td class="memname">virtual ~<a class="el" href="classrebecca_1_1framework_1_1impl_1_1_system.html">System</a> </td>
  93. <td>(</td>
  94. <td class="paramname"> </td>
  95. <td>&nbsp;)&nbsp;</td>
  96. <td width="100%"><code> [virtual]</code></td>
  97. </tr>
  98. </table>
  99. </div>
  100. <div class="memdoc">
  101. <p>
  102. Default virtual destructor.
  103. <p>
  104. Destroys the private implementation (m_pimpl) data.
  105. </div>
  106. </div><p>
  107. <hr><h2>Member Function Documentation</h2>
  108. <a class="anchor" name="587c9d6cda3737a781f0f37216436aee"></a><!-- doxytag: member="rebecca::framework::impl::System::getString" ref="587c9d6cda3737a781f0f37216436aee" args="() const " -->
  109. <div class="memitem">
  110. <div class="memproto">
  111. <table class="memname">
  112. <tr>
  113. <td class="memname">virtual <a class="el" href="classrebecca_1_1impl_1_1_string_pimpl.html">StringPimpl</a> getString </td>
  114. <td>(</td>
  115. <td class="paramname"> </td>
  116. <td>&nbsp;)&nbsp;</td>
  117. <td width="100%"> const throw (<a class="el" href="classrebecca_1_1impl_1_1_internal_programmer_error_exception.html">InternalProgrammerErrorException</a> &amp;)<code> [virtual]</code></td>
  118. </tr>
  119. </table>
  120. </div>
  121. <div class="memdoc">
  122. <p>
  123. Executes the command given inbetween its begin and end tag on the current operating system by calling <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_inner_template_list_impl.html#587c9d6cda3737a781f0f37216436aee" title="Iterates through the internal linked list, calls InnerTemplate::getString() on each...">InnerTemplateListImpl::getString()</a>.
  124. <p>
  125. On Linux and Unix systems the shell executing the command will be the default /bin/sh shell. Also on Linux and Unix systems if you have multiple system commands that you want to execute you must seperate them all by semicolons and NOT by new lines in your <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_a_i_m_l.html" title="AIML class that represents the AIML XML tag &quot;aiml&quot;.">AIML</a> code.<p>
  126. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns the output from the operating system after executing the command it gets from <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_inner_template_list_impl.html#587c9d6cda3737a781f0f37216436aee" title="Iterates through the internal linked list, calls InnerTemplate::getString() on each...">InnerTemplateListImpl::getString()</a> </dd></dl>
  127. <p>Reimplemented from <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_inner_template_list_impl.html#587c9d6cda3737a781f0f37216436aee">InnerTemplateListImpl</a>.</p>
  128. </div>
  129. </div><p>
  130. <hr><h2>Member Data Documentation</h2>
  131. <a class="anchor" name="1af988bf7d0fa0ef2c95525e1f364cd6"></a><!-- doxytag: member="rebecca::framework::impl::System::m_pimpl" ref="1af988bf7d0fa0ef2c95525e1f364cd6" args="" -->
  132. <div class="memitem">
  133. <div class="memproto">
  134. <table class="memname">
  135. <tr>
  136. <td class="memname">SystemImpl* <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_system.html#1af988bf7d0fa0ef2c95525e1f364cd6">m_pimpl</a><code> [private]</code> </td>
  137. </tr>
  138. </table>
  139. </div>
  140. <div class="memdoc">
  141. <p>
  142. The private implementation in which you cannot get access to.
  143. <p>
  144. This pointer holds the private methods and private member variables of this class. This makes ABI (Application Binary Interface) more resilient to change. See the private implementation idiom on the internet for more information about this.
  145. <p>Reimplemented from <a class="el" href="classrebecca_1_1framework_1_1impl_1_1_inner_template_list_impl.html#9be681eee50cebcef2650e42970d3163">InnerTemplateListImpl</a>.</p>
  146. </div>
  147. </div><p>
  148. <hr>The documentation for this class was generated from the following file:<ul>
  149. <li>C:/rebecca/include/rebecca/framework/<a class="el" href="_system_8h-source.html">System.h</a></ul>
  150. <hr size="1"><address style="text-align: right;"><small>Generated on Mon Aug 27 12:26:49 2007 for RebeccaAIML by&nbsp;
  151. <a href="http://www.doxygen.org/index.html">
  152. <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
  153. </body>
  154. </html>