neuray API Programmer's Manual

ifunctor.h File Reference

Description

Base interface for functors.

Code Example

ifunctor.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_IFUNCTOR_H
#define MI_NEURAYLIB_IFUNCTOR_H

#include <mi/base/interface_declare.h>
#include <mi/neuraylib/version.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

#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
using neuraylib::IDictionary;
using neuraylib::IFunctor_base;
#endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION

} // 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...