neuray API Programmer's Manual

mi::neuraylib::IManifest Class Reference

[Miscellaneous MDL-related Interfaces]

Description

Represents the manifest in an MDL archive.

Public Member Functions

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 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.
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.

Member Functions

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.