Page MenuHomec4science

class_csv_writer.html
No OneTemporary

File Metadata

Created
Mon, Nov 11, 23:57

class_csv_writer.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>particles: CsvWriter Class Reference</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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">particles
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_csv_writer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">CsvWriter Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Write system state to csv file.
<a href="class_csv_writer.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="csv__writer_8hh_source.html">csv_writer.hh</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CsvWriter:</div>
<div class="dyncontent">
<div class="center"><img src="class_csv_writer__inherit__graph.png" border="0" usemap="#_csv_writer_inherit__map" alt="Inheritance graph"/></div>
<map name="_csv_writer_inherit__map" id="_csv_writer_inherit__map">
<area shape="rect" id="node2" href="class_compute.html" title="Base class for all compute. " alt="" coords="9,5,83,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for CsvWriter:</div>
<div class="dyncontent">
<div class="center"><img src="class_csv_writer__coll__graph.png" border="0" usemap="#_csv_writer_coll__map" alt="Collaboration graph"/></div>
<map name="_csv_writer_coll__map" id="_csv_writer_coll__map">
<area shape="rect" id="node2" href="class_compute.html" title="Base class for all compute. " alt="" coords="9,5,83,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a42f4231d9fb17afdfe6cf49fcb383e87"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_csv_writer.html#a42f4231d9fb17afdfe6cf49fcb383e87">CsvWriter</a> (const std::string &amp;<a class="el" href="class_csv_writer.html#a2ee817e7a3874b71b1ca2fd602866040">filename</a>)</td></tr>
<tr class="memdesc:a42f4231d9fb17afdfe6cf49fcb383e87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct from filename. <a href="#a42f4231d9fb17afdfe6cf49fcb383e87">More...</a><br /></td></tr>
<tr class="separator:a42f4231d9fb17afdfe6cf49fcb383e87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1c07492631d46409c3602de743ced29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_csv_writer.html#ac1c07492631d46409c3602de743ced29">write</a> (<a class="el" href="class_system.html">System</a> &amp;system)</td></tr>
<tr class="memdesc:ac1c07492631d46409c3602de743ced29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write file (calls compute) <a href="#ac1c07492631d46409c3602de743ced29">More...</a><br /></td></tr>
<tr class="separator:ac1c07492631d46409c3602de743ced29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af81077de1bba4d88ae277c6ad5346931"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_csv_writer.html#af81077de1bba4d88ae277c6ad5346931">compute</a> (<a class="el" href="class_system.html">System</a> &amp;system)</td></tr>
<tr class="memdesc:af81077de1bba4d88ae277c6ad5346931"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write file. <a href="#af81077de1bba4d88ae277c6ad5346931">More...</a><br /></td></tr>
<tr class="separator:af81077de1bba4d88ae277c6ad5346931"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_compute"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_compute')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_compute.html">Compute</a></td></tr>
<tr class="memitem:a6caca9d07be25d7c0a921b5d781fedb5 inherit pub_methods_class_compute"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_compute.html#a6caca9d07be25d7c0a921b5d781fedb5">~Compute</a> ()=default</td></tr>
<tr class="memdesc:a6caca9d07be25d7c0a921b5d781fedb5 inherit pub_methods_class_compute"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor needed because we have subclasses. <a href="class_compute.html#a6caca9d07be25d7c0a921b5d781fedb5">More...</a><br /></td></tr>
<tr class="separator:a6caca9d07be25d7c0a921b5d781fedb5 inherit pub_methods_class_compute"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a2ee817e7a3874b71b1ca2fd602866040"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_csv_writer.html#a2ee817e7a3874b71b1ca2fd602866040">filename</a></td></tr>
<tr class="separator:a2ee817e7a3874b71b1ca2fd602866040"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Write system state to csv file. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a42f4231d9fb17afdfe6cf49fcb383e87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42f4231d9fb17afdfe6cf49fcb383e87">&#9670;&nbsp;</a></span>CsvWriter()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CsvWriter::CsvWriter </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct from filename. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af81077de1bba4d88ae277c6ad5346931"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af81077de1bba4d88ae277c6ad5346931">&#9670;&nbsp;</a></span>compute()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void CsvWriter::compute </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_system.html">System</a> &amp;&#160;</td>
<td class="paramname"><em>system</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Write file. </p>
<p>Implements <a class="el" href="class_compute.html#a8fe99fecbd1ad5d7a7d55be84ee5c262">Compute</a>.</p>
</div>
</div>
<a id="ac1c07492631d46409c3602de743ced29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1c07492631d46409c3602de743ced29">&#9670;&nbsp;</a></span>write()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CsvWriter::write </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_system.html">System</a> &amp;&#160;</td>
<td class="paramname"><em>system</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write file (calls compute) </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a2ee817e7a3874b71b1ca2fd602866040"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ee817e7a3874b71b1ca2fd602866040">&#9670;&nbsp;</a></span>filename</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string CsvWriter::filename</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="csv__writer_8hh_source.html">csv_writer.hh</a></li>
<li><a class="el" href="csv__writer_8cc.html">csv_writer.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>

Event Timeline