NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::IDebug_configuration Class Referenceabstract

This interface represents an interface to set debug options. More...

Inheritance diagram for mi::neuraylib::IDebug_configuration:
Inheritance graph
[legend]

Public Member Functions

virtual Sint32  set_option (const char *option)=0
  Sets a particular debug option. More...
 
virtual const IString get_option (const char *key) const =0
  Returns the value of a particular debug option. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x7938887b, 0x57c6, 0x422f, 0x84, 0x03, 0xdc, 0x06, 0xf2, 0x26, 0xd6, 0x04 >
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< 0x7938887b, 0x57c6, 0x422f, 0x84, 0x03, 0xdc, 0x06, 0xf2, 0x26, 0xd6, 0x04 >
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

This interface represents an interface to set debug options.

Member Function Documentation

virtual const IString* mi::neuraylib::IDebug_configuration::get_option ( const char *  key) const
pure virtual

Returns the value of a particular debug option.

Parameters
key The key of the debug option.
Returns
The value of the debug option, or NULL if the option is not set.
virtual Sint32 mi::neuraylib::IDebug_configuration::set_option ( const char *  option)
pure virtual

Sets a particular debug option.

Parameters
option The option to be set in the form key=value.
Returns
  • 0: Success.
  • -1: The option could not be successfully parsed. This happens for example if the option is not of the form key=value.