Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F17633990
CSV_Writer.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
717 B
Referenced Files
None
Subscribers
None
CSV_Writer.hpp
View Options
#ifndef CSV_WRITER_HEADERFILE
#define CSV_WRITER_HEADERFILE
#include
"Module.hpp"
#include
<fstream>
#define MAX_LENGTH_OF_NAMES_TO_WRITE 50
class
CSV_Writer
:
public
Module
{
private
:
FILE
*
fpointer_write
;
//unsigned int num_of_datasets;
//float datasets[MAX_NUM_OF_DATA_SETS];
//private fuctions
void
initialize_csv_writer
(
char
*
filepath_write
);
public
:
CSV_Writer
(
char
*
filepath_write
);
CSV_Writer
(
char
*
name
,
char
*
filepath_write
);
bool
write_field
(
int
dataset
);
bool
write_field
(
float
dataset
);
bool
write_field
(
char
*
dataset
);
bool
make_new_field
();
bool
make_new_line
();
bool
write_row_data
(
unsigned
int
num_of_datasets
,
float
*
datasets
);
void
close_file
();
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Jun 21, 5:51 AM (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
331291
Default Alt Text
CSV_Writer.hpp (717 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment