<ahref="aengine_8cpp.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * Copyright (c) 2015-2017 Carsten Sonne Larsen <cs@innolan.dk></span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * All rights reserved.</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> * are met:</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF</span></div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span>
<divclass="ttc"id="classAnsiConoleEngine_html_ad5d65280df848947f5b2dda80dcf35c6"><divclass="ttname"><ahref="classAnsiConoleEngine.html#ad5d65280df848947f5b2dda80dcf35c6">AnsiConoleEngine::len</a></div><divclass="ttdeci">unsigned int len</div><divclass="ttdef"><b>Definition:</b><ahref="aengine_8h_source.html#l00068">aengine.h:68</a></div></div>
<divclass="ttc"id="classCharBuffer_html_a4345e9a5114f5c0292e8f242f26e3a7b"><divclass="ttname"><ahref="classCharBuffer.html#a4345e9a5114f5c0292e8f242f26e3a7b">CharBuffer::CharBuffer</a></div><divclass="ttdeci">CharBuffer()</div><divclass="ttdoc">Initialize without allocating memory. </div><divclass="ttdef"><b>Definition:</b><ahref="charbuf_8cpp_source.html#l00038">charbuf.cpp:38</a></div></div>
<divclass="ttc"id="alloccpy_8c_html_a5bed05c70cb17e541fee570b5dc32e1a"><divclass="ttname"><ahref="alloccpy_8c.html#a5bed05c70cb17e541fee570b5dc32e1a">AllocAndCopy</a></div><divclass="ttdeci">unsigned int AllocAndCopy(char **destination, const char *source)</div><divclass="ttdoc">Allocate memory and copy a string into the array. </div><divclass="ttdef"><b>Definition:</b><ahref="alloccpy_8c_source.html#l00034">alloccpy.c:34</a></div></div>
<divclass="ttc"id="classAnsiConoleEngine_html_a3f94786b1610ac3f038d5115fd8047a3"><divclass="ttname"><ahref="classAnsiConoleEngine.html#a3f94786b1610ac3f038d5115fd8047a3">AnsiConoleEngine::maxLines</a></div><divclass="ttdeci">static const int maxLines</div><divclass="ttdef"><b>Definition:</b><ahref="aengine_8h_source.html#l00063">aengine.h:63</a></div></div>
<divclass="ttc"id="classCharBuffer_html_a73c71d361110b37819a1d681a1504b0e"><divclass="ttname"><ahref="classCharBuffer.html#a73c71d361110b37819a1d681a1504b0e">CharBuffer::EnsureGrowth</a></div><divclass="ttdeci">void EnsureGrowth(unsigned int size)</div><divclass="ttdef"><b>Definition:</b><ahref="charbuf_8cpp_source.html#l00158">charbuf.cpp:158</a></div></div>
<divclass="ttc"id="clib_8h_html_a67ec56eb98b49515d35005a5b3bf9a32"><divclass="ttname"><ahref="clib_8h.html#a67ec56eb98b49515d35005a5b3bf9a32">StrLen</a></div><divclass="ttdeci">int StrLen(const char *string)</div><divclass="ttdoc">Get the length of a null terminated string. </div><divclass="ttdef"><b>Definition:</b><ahref="strlen_8c_source.html#l00031">strlen.c:31</a></div></div>
<divclass="ttc"id="classAnsiConoleEngine_html_a59042210f69050bdfb531841e8ac0927"><divclass="ttname"><ahref="classAnsiConoleEngine.html#a59042210f69050bdfb531841e8ac0927">AnsiConoleEngine::lineSize</a></div><divclass="ttdeci">static const int lineSize</div><divclass="ttdef"><b>Definition:</b><ahref="aengine_8h_source.html#l00064">aengine.h:64</a></div></div>
<divclass="ttc"id="classCharBuffer_html"><divclass="ttname"><ahref="classCharBuffer.html">CharBuffer</a></div><divclass="ttdoc">Encapsulate an character array which can be used as a string. </div><divclass="ttdef"><b>Definition:</b><ahref="charbuf_8h_source.html#l00043">charbuf.h:43</a></div></div>
<divclass="ttc"id="classCharBuffer_html_ad1907009b5ad136692b989fa96bf2f7e"><divclass="ttname"><ahref="classCharBuffer.html#ad1907009b5ad136692b989fa96bf2f7e">CharBuffer::EnsureSize</a></div><divclass="ttdeci">void EnsureSize(unsigned int size)</div><divclass="ttdoc">Ensure a memory block of speficied size is allocated. </div><divclass="ttdef"><b>Definition:</b><ahref="charbuf_8cpp_source.html#l00112">charbuf.cpp:112</a></div></div>
<divclass="ttc"id="classCharBuffer_html_a8c0927c2c05c954161151045f68581c6"><divclass="ttname"><ahref="classCharBuffer.html#a8c0927c2c05c954161151045f68581c6">CharBuffer::ClearAndAlloc</a></div><divclass="ttdeci">void ClearAndAlloc(unsigned int size)</div><divclass="ttdoc">Release memory and allocate new size. </div><divclass="ttdef"><b>Definition:</b><ahref="charbuf_8cpp_source.html#l00091">charbuf.cpp:91</a></div></div>