Provides access to various functions to inspect the compatibility between MDL modules and archives. More...
#include <imdl_compatibility_api.h>

Public Member Functions | |
| virtual Sint32 | compare_modules (const char *module_name, const char *repl_file_name, const IArray *search_paths, IMdl_execution_context *context) const =0 |
| Compares one original module with an replacement module for compatibility. More... | |
| virtual Sint32 | compare_archives (const char *archive_fname1, const char *archive_fname2, const IArray *search_paths, IMdl_execution_context *context) const =0 |
| Compares two archives for compatibility. More... | |
Public Member Functions inherited from mi::base::IInterface | |
| virtual Uint32 | retain () const =0 |
| Increments the reference count. More... | |
| virtual Uint32 | release () const =0 |
| Decrements the reference count. More... | |
| virtual const IInterface * | get_interface (const Uuid &interface_id) const =0 |
| Acquires a const interface from another. More... | |
| template<class T> | |
| const T * | get_interface () const |
| Acquires a const interface from another. More... | |
| virtual IInterface * | get_interface (const Uuid &interface_id)=0 |
| Acquires a mutable interface from another. More... | |
| template<class T> | |
| T * | get_interface () |
| Acquires a mutable interface from another. More... | |
| virtual Uuid | get_iid () const =0 |
| Returns the interface ID of the most derived interface. More... | |
Additional Inherited Members | |
Public Types inherited from mi::base::Interface_declare< 0x5f094722, ... > | |
| using | Self = Interface_declare< id1, ... > |
| Own type. More... | |
| using | IID = Uuid_t< id1, ... > |
| Declares the interface ID (IID) of this interface. More... | |
Public Types inherited from mi::base::IInterface | |
| using | IID = Uuid_t<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> |
| Declares the interface ID (IID) of this interface. More... | |
Static Public Member Functions inherited from mi::base::Interface_declare< 0x5f094722, ... > | |
| static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
Static Public Member Functions inherited from mi::base::IInterface | |
| static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface. More... | |
Provides access to various functions to inspect the compatibility between MDL modules and archives.
|
pure virtual |
Compares two archives for compatibility.
| [in] | archive_fname1 | Path to first archive. |
| [in] | archive_fname2 | Path to second archive. |
| [in] | search_paths | An optional array of additional search paths to consider for archive_fname2. |
| [out] | context | An execution context. If non-null, the context can be queried for messages after the comparison operation has finished. |
nullptr).
|
pure virtual |
Compares one original module with an replacement module for compatibility.
| [in] | module_name | The absolute name of the original module. |
| [in] | repl_file_name | Path to the replacement module. |
| [in] | search_paths | An optional array of additional search paths to consider for repl_file_name. |
| [out] | context | An execution context. If non-null, the context can be queried for messages after the comparison operation has finished. |
nullptr).