|
Frobby
0.9.5
|
#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 |
| auto_ptr< IOHandler > | createInputHandler () const |
| auto_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. More... | |
| 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 |
| auto_ptr< StringParameter > | _inputFormat |
| auto_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.
| void IOParameters::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.
If the format on in is auto detect, it will (also) be set.
Definition at line 141 of file IOParameters.cpp.
| auto_ptr< IOHandler > IOParameters::createInputHandler | ( | ) | const |
Definition at line 129 of file IOParameters.cpp.
| auto_ptr< IOHandler > IOParameters::createOutputHandler | ( | ) | const |
Definition at line 135 of file IOParameters.cpp.
| const string & IOParameters::getInputFormat | ( | ) | const |
Definition at line 108 of file IOParameters.cpp.
| const string & IOParameters::getOutputFormat | ( | ) | const |
Definition at line 115 of file IOParameters.cpp.
| void IOParameters::setInputFormat | ( | const string & | format | ) |
Definition at line 102 of file IOParameters.cpp.
| void IOParameters::setOutputFormat | ( | const string & | format | ) |
Definition at line 95 of file IOParameters.cpp.
| void IOParameters::validateFormats | ( | ) | const |
Definition at line 154 of file IOParameters.cpp.
|
private |
Definition at line 55 of file IOParameters.h.
|
private |
Definition at line 52 of file IOParameters.h.
|
private |
Definition at line 56 of file IOParameters.h.
|
private |
Definition at line 53 of file IOParameters.h.