Provides access to functions related to the creation of encapsulated MDL modules (MDLE). More...
Public Member Functions | |
virtual Sint32 | export_mdle (ITransaction *transaction, const char *file_name, const IStructure *mdle_data, IMdl_execution_context *context) const =0 |
Exports a new MDLE file to disk. More... | |
virtual Sint32 | validate_mdle (const char *file_name, IMdl_execution_context *context) const =0 |
Checks the integrity of an MDLE file based on MD5 hashes that are stored for the contained files. More... | |
virtual IReader * | get_user_file (const char *mdle_file_name, const char *user_file_name, IMdl_execution_context *context) const =0 |
Get a user file that has been added to an MDLE during its creation. More... | |
virtual Sint32 | compare_mdle (const char *mdle_file_name_a, const char *mdle_file_name_b, IMdl_execution_context *context) const =0 |
Check if two MDLE are identical, meaning that they contain the same content independent of their file path. More... | |
virtual Sint32 | get_hash (const char *mdle_file_name, base::Uuid &hash, IMdl_execution_context *context) const =0 |
Extracts the hash of the MDLE archive. More... | |
Additional Inherited Members | |
![]() | |
typedef Interface_declare< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, IInterface > | Self |
Own type. More... | |
typedef Uuid_t< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11 > | IID |
Declares the interface ID (IID) of this interface. More... | |
![]() | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
Provides access to functions related to the creation of encapsulated MDL modules (MDLE).
|
pure virtual |
Check if two MDLE are identical, meaning that they contain the same content independent of their file path.
mdle_file_name_a | The file name of the first MDLE to compare. |
mdle_file_name_b | The file name of the second MDLE to compare. |
context | An execution context which can be queried for detailed error messages after the operation has finished. Can be NULL . |
|
pure virtual |
Exports a new MDLE file to disk.
transaction | The transaction to be used. |
file_name | The new filename (including the .mdle extension). |
mdle_data | A structure of type Mdle_data . This structure has the following members:
|
context | An execution context which can be queried for detailed error messages after the operation has finished. Can be NULL . |
|
pure virtual |
Extracts the hash of the MDLE archive.
mdle_file_name | The file name of the MDLE. | |
[out] | hash | The returned hash value. |
context | An execution context which can be queried for detailed error messages after the operation has finished. Can be NULL . |
|
pure virtual |
Get a user file that has been added to an MDLE during its creation.
mdle_file_name | The file name of the MDLE that contains the user file. |
user_file_name | The path and name of the file to read inside the MDLE. This equals the target_path during the creation. |
context | An execution context which can be queried for detailed error messages after the operation has finished. Can be NULL . |
|
pure virtual |
Checks the integrity of an MDLE file based on MD5 hashes that are stored for the contained files.
file_name | The file name of the MDLE to check. |
context | An execution context which can be queried for detailed error messages after the operation has finished. Can be NULL . |