idictionary.h File Reference
Description
Dictionary structure used with functors.
Code Example
idictionary.h
//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef MI_NEURAYLIB_IDICTIONARY_H
#define MI_NEURAYLIB_IDICTIONARY_H
#include <mi/base/interface_declare.h>
#include <mi/neuraylib/version.h>
namespace mi {
namespace neuraylib {
class IDictionary :
public base::Interface_declare<0xea00ed83,0x210e,0x4d65,0xa9,0x8d,0xfe,0xfa,0xb6,0xeb,0x03,0x2c>
{
public:
virtual bool set( const char* key, bool value) = 0;
virtual bool set( const char* key, const char* value) = 0;
virtual bool set( const char* key, Uint32 value) = 0;
virtual bool set( const char* key, Sint32 value) = 0;
virtual bool set( const char* key, Float32 value) = 0;
virtual bool set( const char* key, Float64 value) = 0;
virtual bool is_defined( const char* key) const = 0;
virtual const char* get( const char* key, const char* default_value) const = 0;
virtual bool get( const char* key, bool default_value) const = 0;
virtual Sint32 get( const char* key, Sint32 default_value) const = 0;
virtual Uint32 get( const char* key, Uint32 default_value) const = 0;
virtual Float32 get( const char* key, Float32 default_value) const = 0;
virtual Float64 get( const char* key, Float64 default_value) const = 0;
virtual bool is_invalid() const = 0;
};
// end group mi_neuray_functors
} // namespace neuraylib
#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
using neuraylib::IDictionary;
#endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
} // namespace mi
#endif // MI_NEURAYLIB_IDICTIONARY_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
- namespace
- Namespace for the neuray API. More...
Classes
- class
- The dictionary is a data structure that stores a mapping from a fixed set of keys to a their modifiable values. More...