Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::IManifest Class Referenceabstract

Represents the manifest in an MDL archive. More...

Inheritance diagram for mi::neuraylib::IManifest:
mi::base::Interface_declare< 0x9849828e, 0xc383, 0x4b6b, 0x9f, 0x49, 0xdf, 0xf0, 0x1f, 0xc7, 0xe8, 0xd7 > mi::base::IInterface

Public Member Functions

virtual Size get_number_of_fields () const =0
 Returns the number of fields. More...
 
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. More...
 
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. More...
 
virtual Size get_number_of_fields (const char *key) const =0
 Returns the number of fields with the given key. More...
 
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. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x9849828e, 0xc383, 0x4b6b, 0x9f, 0x49, 0xdf, 0xf0, 0x1f, 0xc7, 0xe8, 0xd7 >
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 Public Member Functions inherited from mi::base::Interface_declare< 0x9849828e, 0xc383, 0x4b6b, 0x9f, 0x49, 0xdf, 0xf0, 0x1f, 0xc7, 0xe8, 0xd7 >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

Represents the manifest in an MDL archive.

Member Function Documentation

virtual const char* mi::neuraylib::IManifest::get_key ( Size  index) const
pure virtual

Returns the key of the index -th field, or NULL if index is out of bounds.

virtual Size mi::neuraylib::IManifest::get_number_of_fields ( ) const
pure virtual

Returns the number of fields.

virtual Size mi::neuraylib::IManifest::get_number_of_fields ( const char *  key) const
pure virtual

Returns the number of fields with the given key.

virtual const char* mi::neuraylib::IManifest::get_value ( Size  index) const
pure virtual

Returns the value of the index -th field, or NULL if index is out of bounds.

virtual const char* mi::neuraylib::IManifest::get_value ( const char *  key,
Size  index 
) const
pure virtual

Returns the value of the index -th field with the given key, or NULL if index is out of bounds.