7#ifndef MI_NEURAYLIB_IMDL_ARCHIVE_API_H
8#define MI_NEURAYLIB_IMDL_ARCHIVE_API_H
27 mi::base::Interface_declare<0x4b41b483,0xdb0b,0x4658,0xaf,0x65,0x64,0xb1,0xd6,0x9d,0x26,0xb0>
54 const char* directory,
const char* archive,
const IArray* manifest_fields) = 0;
111 mi::base::Interface_declare<0x9849828e,0xc383,0x4b6b,0x9f,0x49,0xdf,0xf0,0x1f,0xc7,0xe8,0xd7>
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
Represents the manifest in an MDL archive.
Definition: imdl_archive_api.h:112
virtual const char * get_key(Size index) const =0
Returns the key of the index -th field, or NULL if index is out of bounds.
virtual const char * get_value(const char *key, Size index) const =0
Returns the value of the index -th field with the given key, or NULL if index is out of bounds.
virtual Size get_number_of_fields() const =0
Returns the number of fields.
virtual Size get_number_of_fields(const char *key) const =0
Returns the number of fields with the given key.
virtual const char * get_value(Size index) const =0
Returns the value of the index -th field, or NULL if index is out of bounds.
This API component provides functionality related to MDL archives.
Definition: imdl_archive_api.h:28
virtual const char * get_extensions_for_compression() const =0
Returns the file types to be compressed in archives.
virtual const IManifest * get_manifest(const char *archive)=0
Returns the manifest for an MDL archive, or NULL in case of failure.
virtual Sint32 create_archive(const char *directory, const char *archive, const IArray *manifest_fields)=0
Creates an MDL archive given a directory.
virtual Sint32 set_extensions_for_compression(const char *extensions)=0
Sets the file types to be compressed in archives.
virtual Sint32 extract_archive(const char *archive, const char *directory)=0
Unpacks an MDL archive into a given directory.
virtual IReader * get_file(const char *archive, const char *filename)=0
Returns an arbitrary file from an MDL archive.
virtual IReader * get_file(const char *filename)=0
Returns an arbitrary file from an MDL archive.
A reader supports binary block reads and string-oriented line reads that zero-terminate the result.
Definition: ireader.h:27
Uint64 Size
Unsigned integral type that is large enough to hold the size of all types.
Definition: types.h:112
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