neuray API Programmer's Manual

mi::neuraylib::IDebug_configuration Class Reference

[Configuration Interfaces]

Description

This interface represents an interface to set debug options.

Public Member Functions

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

Member Functions

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.