OEGetSubSearchScreenType

Attention

This API is currently available in C++ and Python.

const OESubSearchScreenTypeBase *
       OEGetSubSearchScreenType(const unsigned stype)

Converts a constant from the OESubSearchScreenType namespace into an internal screen type (OESubSearchScreenTypeBase).

const OESubSearchScreenTypeBase *
       OEGetSubSearchScreenType(const std::string &stypestr)

Convert a string (such as "Molecule SubSearch Screen,ver=0.9.0") into an internal screen type (OESubSearchScreenTypeBase). The function returns a null pointer for invalid strings.