NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
idictionary.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_IDICTIONARY_H
9 #define MI_NEURAYLIB_IDICTIONARY_H
10 
12 
13 namespace mi {
14 
19 class IDictionary :
40  public base::Interface_declare<0xea00ed83,0x210e,0x4d65,0xa9,0x8d,0xfe,0xfa,0xb6,0xeb,0x03,0x2c>
41 {
42 public:
51  virtual bool set( const char* key, bool value) = 0;
52 
61  virtual bool set( const char* key, const char* value) = 0;
62 
71  virtual bool set( const char* key, Uint32 value) = 0;
72 
81  virtual bool set( const char* key, Sint32 value) = 0;
82 
92  virtual bool set( const char* key, Float32 value) = 0;
93 
102  virtual bool set( const char* key, Float64 value) = 0;
103 
105  virtual bool is_defined( const char* key) const = 0;
106 
110  virtual const char* get( const char* key, const char* default_value) const = 0;
111 
115  virtual bool get( const char* key, bool default_value) const = 0;
116 
120  virtual Sint32 get( const char* key, Sint32 default_value) const = 0;
121 
125  virtual Uint32 get( const char* key, Uint32 default_value) const = 0;
126 
130  virtual Float32 get( const char* key, Float32 default_value) const = 0;
131 
135  virtual Float64 get( const char* key, Float64 default_value) const = 0;
136 
140  virtual bool is_invalid() const = 0;
141 };
142  // end group mi_neuray_functors
144 
145 } // namespace mi
146 
147 #endif // MI_NEURAYLIB_IDICTIONARY_H