Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F10545896
CSV_Writer.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
814 B
Referenced Files
None
Subscribers
None
CSV_Writer.h
View Options
#ifndef CSV_WRITER_HEADERFILE
#define CSV_WRITER_HEADERFILE
//#include "Module.h"
#include
"Unit.h"
#include
<fstream>
#include
<string>
#define MAX_LENGTH_OF_NAMES_TO_WRITE 50
class
CSV_Writer
{
//: public Unit {
//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
write_field
(
std
::
string
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
Sat, May 30, 11:35 PM (11 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
330507
Default Alt Text
CSV_Writer.h (814 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment