Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62454375
csv_writer.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 13, 07:54
Size
641 B
Mime Type
text/x-c++
Expires
Wed, May 15, 07:54 (2 d)
Engine
blob
Format
Raw Data
Handle
17276139
Attached To
R9482 SP4E_Homework_Ashtari_Sieber
csv_writer.hh
View Options
#ifndef __CSV_WRITER__HH__
#define __CSV_WRITER__HH__
/* -------------------------------------------------------------------------- */
#include "compute.hh"
#include <string>
//! Write system state to csv file
class
CsvWriter
:
public
Compute
{
// Constructors/Destructors
public
:
//! Construct from filename
CsvWriter
(
const
std
::
string
&
filename
);
// Methods
public
:
//! Write file (calls compute)
void
write
(
System
&
system
);
//! Write file
void
compute
(
System
&
system
);
protected
:
std
::
string
filename
;
};
/* -------------------------------------------------------------------------- */
#endif
//__CSV_WRITER__HH__
Event Timeline
Log In to Comment