|
procedure | write (this, data, t) |
| Writes data to an output file.
|
|
procedure | read (this, data) |
| Reads data from an input file.
|
|
procedure | set_header (this, hd) |
| Sets the header for a csv file.
|
|
procedure | count_lines (this) |
| Count the number of lines in a file.
|
|
procedure | init (this, fname) |
| Generic file constructor.
|
|
procedure(generic_file_write), deferred | write (this, data, t) |
| Read method.
|
|
procedure(generic_file_read), deferred | read (this, data) |
|
procedure | set_counter (this, n) |
| Set the file counter to n.
|
|
procedure | set_start_counter (this, n) |
| Set the file start counter to n.
|
|
procedure | check_exists (this) |
| Ensure the file exists.
|
|
Definition at line 45 of file csv_file.f90.
◆ check_exists()
◆ count_lines()
◆ init()
◆ read() [1/2]
- Parameters
-
this | csv file in which to read. |
data | matrix_t or vector_t , will contain the read data. |
Definition at line 52 of file csv_file.f90.
◆ read() [2/2]
◆ set_counter()
◆ set_header()
- Parameters
-
- Note
- The header will be written "as is", meaning there will be no checks performed on the header separators, number of columns, etc.
Definition at line 54 of file csv_file.f90.
◆ set_start_counter()
◆ write() [1/2]
- Parameters
-
this | csv file to write in. |
data | Data to write, can be vector_t or matrix_t. |
t | Time. |
Definition at line 50 of file csv_file.f90.
◆ write() [2/2]
◆ counter
integer generic_file::generic_file_t::counter |
|
inherited |
◆ fname
character(len=1024) generic_file::generic_file_t::fname |
|
inherited |
◆ header
character(len=1024) csv_file::csv_file_t::header = "" |
◆ header_is_written
logical csv_file::csv_file_t::header_is_written = .false. |
◆ serial
logical generic_file::generic_file_t::serial = .false. |
|
inherited |
◆ start_counter
integer generic_file::generic_file_t::start_counter = 0 |
|
inherited |
The documentation for this type was generated from the following file: