Implements an input-output interface. Reads the command line for an input file and defines according output file.
More...
#include <IO.h>
|
| | IO (void(*help)(), const std::string &ending) |
| | Construct a new IO object.
|
| |
| void | parse_args (int argc, char *argv[]) |
| | Parses command line arguments.
|
| |
| const std::string & | get_input_file () const |
| | Get the path to input file.
|
| |
| const std::string & | get_output_file () const |
| | Get the path to output file.
|
| |
Implements an input-output interface. Reads the command line for an input file and defines according output file.
◆ IO()
| Spike::IO::IO |
( |
void(*)() | help, |
|
|
const std::string & | ending ) |
|
inline |
Construct a new IO object.
- Parameters
-
| help | pointer to help function |
| ending | output file ending |
◆ get_input_file()
| const std::string & Spike::IO::get_input_file |
( |
| ) |
const |
|
inline |
Get the path to input file.
- Returns
- path to input file
◆ get_output_file()
| const std::string & Spike::IO::get_output_file |
( |
| ) |
const |
|
inline |
Get the path to output file.
- Returns
- path to output file
◆ parse_args()
| void Spike::IO::parse_args |
( |
int | argc, |
|
|
char * | argv[] ) |
Parses command line arguments.
- Parameters
-
The documentation for this class was generated from the following files:
- /github/workspace/Spike/IO/IO.h
- /github/workspace/Spike/IO/IO.cpp