Frobby  0.9.5
Public Member Functions | Private Attributes | List of all members
IOParameters Class Reference

#include <IOParameters.h>

Inheritance diagram for IOParameters:
ParameterGroup

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< IOHandlercreateInputHandler () const
 
auto_ptr< IOHandlercreateOutputHandler () 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 * > &parameters)
 
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
 

Detailed Description

Definition at line 27 of file IOParameters.h.

Constructor & Destructor Documentation

◆ IOParameters()

IOParameters::IOParameters ( const DataType input,
const DataType output 
)

Definition at line 27 of file IOParameters.cpp.

Member Function Documentation

◆ autoDetectInputFormat()

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.

◆ createInputHandler()

auto_ptr< IOHandler > IOParameters::createInputHandler ( ) const

Definition at line 129 of file IOParameters.cpp.

◆ createOutputHandler()

auto_ptr< IOHandler > IOParameters::createOutputHandler ( ) const

Definition at line 135 of file IOParameters.cpp.

◆ getInputFormat()

const string & IOParameters::getInputFormat ( ) const

Definition at line 108 of file IOParameters.cpp.

◆ getOutputFormat()

const string & IOParameters::getOutputFormat ( ) const

Definition at line 115 of file IOParameters.cpp.

◆ setInputFormat()

void IOParameters::setInputFormat ( const string &  format)

Definition at line 102 of file IOParameters.cpp.

◆ setOutputFormat()

void IOParameters::setOutputFormat ( const string &  format)

Definition at line 95 of file IOParameters.cpp.

◆ validateFormats()

void IOParameters::validateFormats ( ) const

Definition at line 154 of file IOParameters.cpp.

Member Data Documentation

◆ _inputFormat

auto_ptr<StringParameter> IOParameters::_inputFormat
private

Definition at line 55 of file IOParameters.h.

◆ _inputType

const DataType& IOParameters::_inputType
private

Definition at line 52 of file IOParameters.h.

◆ _outputFormat

auto_ptr<StringParameter> IOParameters::_outputFormat
private

Definition at line 56 of file IOParameters.h.

◆ _outputType

const DataType& IOParameters::_outputType
private

Definition at line 53 of file IOParameters.h.


The documentation for this class was generated from the following files: