OEGetSubSearchScreenType

Attention

This is a preliminary API and may be improved based on user feedback. It 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.