OESimpleAppOptions

Attention

PRELIMINARY-IMAGE This is a preliminary API until Spring 2021 and may be improved based on user feedback. It is currently available in C++ and Python.

class OESimpleAppOptions : public OESystem::OEOptions

The OESimpleAppOptions represents a simple options class, representing a simple applications interface with an input reader file and an output writer file.

See also

The OESimpleAppOptions class defines the following public methods:

Constructors

OESimpleAppOptions(const OESystem::OEOptions& opts, const std::string& name,
   const unsigned inFileType, const unsigned outFileType)
OESimpleAppOptions(const OESimpleAppOptions &)

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 inFileType and outFileType refers to if the input and output file types as defined in the OEFileStringType namespace.

operator=

OESimpleAppOptions &operator=(const OESimpleAppOptions &)

Assignment operator.

GetInFile

std::string GetInFile() const

See SetInFile method.

GetOutFile

std::string GetOutFile() const

See SetOutFile 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