Iray SDK API nvidia_logo_transpbg.gif Up
ifunctor.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IFUNCTOR_H
8#define MI_NEURAYLIB_IFUNCTOR_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
26class IDictionary;
27
33 public base::Interface_declare<0xee412b14,0x7c51,0x4430,0xb0,0xb9,0x05,0xc8,0x62,0x64,0xd0,0xb7>
34{
35public:
40 virtual IDictionary* get_default_options() const = 0;
41
46 virtual bool options_valid( const IDictionary* options) = 0;
47
52 virtual const IDictionary* get_options_type() const = 0;
53
58 virtual const IDictionary* get_options_description() const = 0;
59
67 virtual const char* error_text() const = 0;
68};
69 // end group mi_neuray_functors
71
72} // namespace neuraylib
73
74} // namespace mi
75
76#endif // MI_NEURAYLIB_IFUNCTOR_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
The dictionary is a data structure that stores a mapping from a fixed set of keys to a their modifiab...
Definition: idictionary.h:42
Base class for functors.
Definition: ifunctor.h:34
virtual const IDictionary * get_options_type() const =0
Returns the types of all options.
virtual IDictionary * get_default_options() const =0
Returns the default options for this functor.
virtual bool options_valid(const IDictionary *options)=0
Checks whether the options are valid for the functor.
virtual const IDictionary * get_options_description() const =0
Returns the descriptions of all options.
virtual const char * error_text() const =0
Returns a descriptive string for the last error.
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179