NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
itemporary.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_ITEMPORARY_H
9 #define MI_NEURAYLIB_ITEMPORARY_H
10 
11 #include <mi/neuraylib/idata.h>
12 
13 namespace mi {
14 
19 class ITemporary :
23  public base::Interface_declare<0x71be6cc7,0x3975,0x456e,0xb7,0x28,0xcd,0xbf,0x6e,0xcb,0x23,0x80,
24  IData_simple>
25 {
26 public:
28  virtual void get_value( Uint32& val) const = 0;
29 
31  virtual void set_value( Uint32 val) = 0;
32 
34  Uint32 get_value() const { Uint32 value; get_value( value); return value; }
35 };
36  // end group mi_neuray_simple_types
38 
39 } // namespace mi
40 
41 #endif // MI_NEURAYLIB_ITEMPORARY_H