OEMonomerValidationResult

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

class OEMonomerValidationResult

This class is used to return additional information when using the OEIsValidMonomerData function.

Constructors

OEMonomerValidationResult()
OEMonomerValidationResult(const OEMonomerValidationResult &)

Default and copy constructor.

GetReturnCode

unsigned GetReturnCode() const

Returns a code from the OEMonomerValidationReturnCode namespace.

GetWarning

std::string GetWarning() const

If the monomer validation fails, i.e. the return code is not OEMonomerValidationReturnCode.Success, this message provides details about the reason for the failure.