Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90818111
csv_reader.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
Tue, Nov 5, 01:23
Size
1 KB
Mime Type
text/x-c++
Expires
Thu, Nov 7, 01:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22138287
Attached To
R7571 SP4E-TB-TL-FR
csv_reader.hh
View Options
#ifndef __CSV_READER__HH__
#define __CSV_READER__HH__
/* -------------------------------------------------------------------------- */
#include "compute.hh"
#include <string>
//! Read system from csv input file
class
CsvReader
:
public
Compute
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
//! Construct from filename
CsvReader
(
const
std
::
string
&
filename
);
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
//! Left here for convenience (calls compute)
void
read
(
System
&
system
);
//! Read input file into system
void
compute
(
System
&
system
);
protected
:
std
::
string
filename
;
};
/* -------------------------------------------------------------------------- */
#endif
//__CSV_READER__HH__
Event Timeline
Log In to Comment