MDL SDK API nvidia_logo_transpbg.gif Up
imdl_compatibility_api.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IMDL_COMPATIBILITY_API_H
8#define MI_NEURAYLIB_IMDL_COMPATIBILITY_API_H
9
11#include <mi/base/enums.h>
12
13namespace mi {
14
15class IArray;
16
17namespace neuraylib {
18
19class IMdl_execution_context;
20
28 base::Interface_declare<0x5f094722,0xfe19,0x4372,0x92,0xcf,0x5d,0x9f,0x57,0xa7,0x6,0x98>
29{
30public:
46 const char* module_name,
47 const char* repl_file_name,
48 const IArray* search_paths,
49 IMdl_execution_context* context) const = 0;
50
66 const char* archive_fname1,
67 const char* archive_fname2,
68 const IArray* search_paths,
69 IMdl_execution_context* context) const = 0;
70};
71 // end group mi_neuray_mdl_misc
73
74} // namespace neuraylib
75} // namespace mi
76
77#endif // MI_NEURAYLIB_IMDL_COMPATIBILITY_API_H
This interface represents static arrays, i.e., arrays with a fixed number of elements.
Definition: iarray.h:37
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Provides access to various functions to inspect the compatibility between MDL modules and archives.
Definition: imdl_compatibility_api.h:29
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.
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.
The execution context can be used to query status information like error and warning messages concern...
Definition: imdl_execution_context.h:131
Basic enums.
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: example_derivatives.dox:5