diff options
Added documentation
1 files changed, 119 insertions, 0 deletions
| -rw-r--r-- | docs/html/CellFormula_8h_source.html | 119 |
diff --git a/docs/html/CellFormula_8h_source.html b/docs/html/CellFormula_8h_source.html new file mode 100644 index 0000000..7c793a1 --- /dev/null +++ b/docs/html/CellFormula_8h_source.html @@ -0,0 +1,119 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=11"/> +<meta name="generator" content="Doxygen 1.9.3"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>FMI Table: src/Models/CellFormula.h Source File</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/searchdata.js"></script> +<script type="text/javascript" src="search/search.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr id="projectrow"> + <td id="projectalign"> + <div id="projectname">FMI Table + </div> + <div id="projectbrief">| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 2 | Project Topic 7 |</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.9.3 --> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ +var searchBox = new SearchBox("searchBox", "search",'Search','.html'); +/* @license-end */ +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +/* @license-end */ +</script> +<div id="main-nav"></div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_36df885461d6bd14211edf06510d126c.html">Models</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"><div class="title">CellFormula.h</div></div> +</div><!--header--> +<div class="contents"> +<a href="CellFormula_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef HEADER_CELLFORMULA</span></div> +<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define HEADER_CELLFORMULA</span></div> +<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div> +<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include "<a class="code" href="Cell_8h.html">Cell.h</a>"</span></div> +<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include "<a class="code" href="CellDouble_8h.html">CellDouble.h</a>"</span></div> +<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include "../Generic/List/List.hpp"</span></div> +<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include "../Generic/Pair/Pair.hpp"</span></div> +<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div> +<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="classCellFormula.html"> 17</a></span><span class="keyword">class </span><a class="code hl_class" href="classCellFormula.html">CellFormula</a> : <span class="keyword">public</span> <a class="code hl_class" href="classCell.html">Cell</a> {</div> +<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">const</span> <a class="code hl_class" href="classList.html">List<List<Cell*></a>>* tableCells;</div> +<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_class" href="classList.html">List<CellDouble></a> localCells;</div> +<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div> +<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <a class="code hl_class" href="classList.html">List<Pair<Pair<int, int></a>, <span class="keywordtype">char</span>>> formula;</div> +<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <a class="code hl_class" href="classString.html">String</a> rawFormula;</div> +<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div> +<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">const</span> <a class="code hl_class" href="classCell.html">Cell</a>* ptrByInd(<a class="code hl_struct" href="structPair.html">Pair<int, int></a> loc) <span class="keyword">const</span>;</div> +<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">double</span> calculate(<span class="keywordtype">unsigned</span> index = 0) <span class="keyword">const</span>;</div> +<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div> +<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="keyword">public</span>:</div> +<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <a class="code hl_class" href="classCellFormula.html">CellFormula</a>() = <span class="keywordflow">default</span>;</div> +<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <a class="code hl_class" href="classCellFormula.html">CellFormula</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str, <span class="keyword">const</span> <a class="code hl_class" href="classList.html">List</a><<a class="code hl_class" href="classList.html">List<Cell*></a>>* tableCells);</div> +<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div> +<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keywordtype">double</span> <a class="code hl_function" href="classCellFormula.html#aea7ea04991b4ef15aa80ff3182bf1e74">getNumeralValue</a>() <span class="keyword">const override</span>;</div> +<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <a class="code hl_class" href="classString.html">String</a> <a class="code hl_function" href="classCellFormula.html#a2f55209057eb939f3688a1f02f9fcb3d">getValueForPrint</a>() <span class="keyword">const override</span>;</div> +<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classCellFormula.html#afecaac674bfb6bc2bbe1796c74643e31">parseAndSetValue</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str) <span class="keyword">override</span>;</div> +<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classCellFormula.html#a2883e300abc5153ce84f660f03050fdf">writeToFile</a>(std::ofstream& file) <span class="keyword">override</span>;</div> +<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>};</div> +<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div> +<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#endif</span></div> +<div class="ttc" id="aCellDouble_8h_html"><div class="ttname"><a href="CellDouble_8h.html">CellDouble.h</a></div><div class="ttdoc">Stores the declaration of class CellDouble.</div></div> +<div class="ttc" id="aCell_8h_html"><div class="ttname"><a href="Cell_8h.html">Cell.h</a></div><div class="ttdoc">Stores the declaration of class Cell.</div></div> +<div class="ttc" id="aclassCellFormula_html"><div class="ttname"><a href="classCellFormula.html">CellFormula</a></div><div class="ttdoc">A table cell which contains a formula.</div><div class="ttdef"><b>Definition:</b> CellFormula.h:17</div></div> +<div class="ttc" id="aclassCellFormula_html_a2883e300abc5153ce84f660f03050fdf"><div class="ttname"><a href="classCellFormula.html#a2883e300abc5153ce84f660f03050fdf">CellFormula::writeToFile</a></div><div class="ttdeci">void writeToFile(std::ofstream &file) override</div><div class="ttdoc">Writes value to a text file.</div><div class="ttdef"><b>Definition:</b> CellFormula.cpp:188</div></div> +<div class="ttc" id="aclassCellFormula_html_a2f55209057eb939f3688a1f02f9fcb3d"><div class="ttname"><a href="classCellFormula.html#a2f55209057eb939f3688a1f02f9fcb3d">CellFormula::getValueForPrint</a></div><div class="ttdeci">String getValueForPrint() const override</div><div class="ttdef"><b>Definition:</b> CellFormula.cpp:84</div></div> +<div class="ttc" id="aclassCellFormula_html_aea7ea04991b4ef15aa80ff3182bf1e74"><div class="ttname"><a href="classCellFormula.html#aea7ea04991b4ef15aa80ff3182bf1e74">CellFormula::getNumeralValue</a></div><div class="ttdeci">double getNumeralValue() const override</div><div class="ttdef"><b>Definition:</b> CellFormula.cpp:69</div></div> +<div class="ttc" id="aclassCellFormula_html_afecaac674bfb6bc2bbe1796c74643e31"><div class="ttname"><a href="classCellFormula.html#afecaac674bfb6bc2bbe1796c74643e31">CellFormula::parseAndSetValue</a></div><div class="ttdeci">void parseAndSetValue(const char *str) override</div><div class="ttdef"><b>Definition:</b> CellFormula.cpp:128</div></div> +<div class="ttc" id="aclassCell_html"><div class="ttname"><a href="classCell.html">Cell</a></div><div class="ttdoc">Fully abstract class that represents a cell in the table.</div><div class="ttdef"><b>Definition:</b> Cell.h:13</div></div> +<div class="ttc" id="aclassList_html"><div class="ttname"><a href="classList.html">List</a></div><div class="ttdoc">Templated class that stores an array of elements in dynamic memory.</div><div class="ttdef"><b>Definition:</b> List.hpp:22</div></div> +<div class="ttc" id="aclassString_html"><div class="ttname"><a href="classString.html">String</a></div><div class="ttdoc">A dynamically-allocated C-style string with extra features.</div><div class="ttdef"><b>Definition:</b> String.h:17</div></div> +<div class="ttc" id="astructPair_html"><div class="ttname"><a href="structPair.html">Pair</a></div><div class="ttdoc">Stores two values of any types.</div><div class="ttdef"><b>Definition:</b> Pair.hpp:13</div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3 +</small></address> +</body> +</html> |
