|
Frobby 0.9.6
|
#include <IOParameters.h>
Public Member Functions | |
| IOParameters (const DataType &input, const DataType &output) | |
| void | setOutputFormat (const string &format) |
| void | setInputFormat (const string &format) |
| const string & | getInputFormat () const |
| const string & | getOutputFormat () const |
| unique_ptr< IOHandler > | createInputHandler () const |
| unique_ptr< IOHandler > | createOutputHandler () const |
| void | autoDetectInputFormat (Scanner &in) |
| If using the input format, this must be called before validating the ideals, since the auto detect format is not a valid format other than as a place holder for the auto detected format. | |
| void | validateFormats () const |
Public Member Functions inherited from ParameterGroup | |
| iterator | begin () |
| iterator | end () |
| ParameterGroup () | |
| virtual | ~ParameterGroup () |
| void | addParameter (Parameter *parameter) |
| void | obtainParameters (vector< Parameter * > ¶meters) |
| virtual void | getValue (string &str) const |
Private Attributes | |
| const DataType & | _inputType |
| const DataType & | _outputType |
| unique_ptr< StringParameter > | _inputFormat |
| unique_ptr< StringParameter > | _outputFormat |
Additional Inherited Members | |
Public Types inherited from ParameterGroup | |
| typedef vector< Parameter * >::iterator | iterator |
Definition at line 27 of file IOParameters.h.
Definition at line 27 of file IOParameters.cpp.
If using the input format, this must be called before validating the ideals, since the auto detect format is not a valid format other than as a place holder for the auto detected format.
If the format on in is auto detect, it will (also) be set.
Definition at line 139 of file IOParameters.cpp.
| unique_ptr< IOHandler > IOParameters::createInputHandler | ( | ) | const |
Definition at line 127 of file IOParameters.cpp.
| unique_ptr< IOHandler > IOParameters::createOutputHandler | ( | ) | const |
Definition at line 133 of file IOParameters.cpp.
Definition at line 106 of file IOParameters.cpp.
Definition at line 113 of file IOParameters.cpp.
Definition at line 100 of file IOParameters.cpp.
Definition at line 93 of file IOParameters.cpp.
| void IOParameters::validateFormats | ( | ) | const |
Definition at line 152 of file IOParameters.cpp.
|
private |
Definition at line 55 of file IOParameters.h.
Definition at line 52 of file IOParameters.h.
|
private |
Definition at line 56 of file IOParameters.h.
Definition at line 53 of file IOParameters.h.