neuray API Programmer's Manual

ifunctor.h File Reference

Description

Base interface for functors.

Code Example

ifunctor.h

‎/***************************************************************************************************
 * Copyright 2024 NVIDIA Corporation. All rights reserved.
 **************************************************************************************************/

#ifndef MI_NEURAYLIB_IFUNCTOR_H
#define MI_NEURAYLIB_IFUNCTOR_H

#include <mi/base/interface_declare.h>

namespace mi {

namespace neuraylib {

class IDictionary;

class IFunctor_base :
    public base::Interface_declare<0xee412b14,0x7c51,0x4430,0xb0,0xb9,0x05,0xc8,0x62,0x64,0xd0,0xb7>
{
public:
    virtual IDictionary* get_default_options() const = 0;

    virtual bool options_valid( const IDictionary* options) = 0;

    virtual const IDictionary* get_options_type() const = 0;

    virtual const IDictionary* get_options_description() const = 0;

    virtual const char* error_text() const = 0;
};
 // end group mi_neuray_functors

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IFUNCTOR_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

class 
Base class for functors. More...