omni::ext::getExtensionPath

Defined in omni/ext/ExtensionsUtils.h

inline std::string omni::ext::getExtensionPath(ExtensionManager *manager, const char *extId)

Helper function to look up the path from an extension dictionary.

See also

ExtensionManager, ExtensionManager::getExtensionDict()

Warning

Undefined behavior results if extId is not a valid Extension ID. Check for the existence of the extension before calling this function.

Parameters
  • manager – A pointer to the ExtensionManager

  • extId – The Extension ID as required by ExtensionManager::getExtensionDict()

Returns

a std::string representing the path member of the extension info dictionary