OERefInputAppOptions

class OERefInputAppOptions : public OESystem::OEOptions

The OERefInputAppOptions represents an options class, representing an applications interface that requires an additional reference or target input, along with an input reader and an output writer file.

See also

Code Examples

The OERefInputAppOptions class defines the following public methods:

Constructors

OERefInputAppOptions(const OESystem::OEOptions& opts, const std::string& name,
   const unsigned inFileType, const unsigned outFileType,
   const unsigned refFileType, const std::string& refCmdName)
OERefInputAppOptions(const OESystem::OEOptions& opts, const std::string& name,
   const unsigned inFileType, const unsigned outFileType,
   const std::string& refFileExt, const std::string& refCmdName)
OERefInputAppOptions(const OESystem::OEOptions& opts, const std::string& name,
   const unsigned inFileType, const unsigned refFileType, const std::string& refCmdName)
OERefInputAppOptions(const OESystem::OEOptions& opts, const std::string& name,
   const unsigned inFileType, const std::string& refFileExt, const std::string& refCmdName)
OERefInputAppOptions(const OERefInputAppOptions &)

Default and copy constructors.

The opts represents the sub-options that should be wrapped to extend this options to generate the API for the intended application, the name represents the name of the application, and the refCmdName represents the command line flag for reference input. The inFileType, outFileType, and refFileType refers to if the input, output and the reference input file types as defined in the OEFileStringType namespace. The second overload accepts the reference input file type as a string. Variation of constructors that does not require an output file can be used when an output is not desired in an application.

operator=

OERefInputAppOptions &operator=(const OERefInputAppOptions &)

Assignment operator.

GetInFile

std::string GetInFile() const

See SetInFile method.

GetOutFile

std::string GetOutFile() const

See SetOutFile method.

GetRefFile

std::string GetRefFile() const

See SetRefFile method.

SetInFile

bool SetInFile(const std::string) const

Sets name of the input file for the application. Default: None

SetOutFile

bool SetOutFile(const std::string) const

Sets name of the output file for the application. Default: None

SetRefFile

bool SetRefFile(const std::string) const

Sets name of the reference/target input file for the application. Default: None