neuray API Programmer's Manual

mi::neuraylib::ILpe_check_result Class Reference

[Configuration Interfaces]

Description

This interface represents the return value of mi::neuraylib::IRendering_configuration::check_light_path_expressions().

Public Member Functions

virtual bool  get_color_expression_flag( Size i) const =0
Indicates whether the error message applies to the color or alpha expression.
virtual Size get_index( Size i) const =0
Returns the index of the light path expression in the input array that this error message applies to.
virtual const char* get_message( Size i) const =0
Returns an error message describing why the light path expression identified by get_index() is invalid.
virtual Size get_messages_length() const =0
Returns the number of error messages represented by this interface.
virtual Size get_position( Size i) const =0
Returns the position of the offending character/token in the light path expression identified by get_index().

Member Functions

virtual bool mi::​neuraylib::​ILpe_check_result::get_color_expression_flag( Size i) const [pure virtual]

Indicates whether the error message applies to the color or alpha expression.

virtual Size mi::​neuraylib::​ILpe_check_result::get_index( Size i) const [pure virtual]

Returns the index of the light path expression in the input array that this error message applies to.

virtual const char* mi::​neuraylib::​ILpe_check_result::get_message( Size i) const [pure virtual]

Returns an error message describing why the light path expression identified by get_index() is invalid.

virtual Size mi::​neuraylib::​ILpe_check_result::get_messages_length() const [pure virtual]

Returns the number of error messages represented by this interface.

virtual Size mi::​neuraylib::​ILpe_check_result::get_position( Size i) const [pure virtual]

Returns the position of the offending character/token in the light path expression identified by get_index().