Function mosaic::analysis_plugin_index_of#

Function Documentation#

inline int mosaic::analysis_plugin_index_of(const QString &id)#

Position of id in analysis_plugins(), or -1 if there is no such plugin. -1 is a normal answer, not an error: an empty id (nothing selected yet) and an unknown one both land here, and callers are expected to bail rather than index with it.