NVIDIA Iray API
Home
Up
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ienum.h
Go to the documentation of this file.
1
//*****************************************************************************
2
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
3
//*****************************************************************************
6
//*****************************************************************************
7
8
#ifndef MI_NEURAYLIB_IENUM_H
9
#define MI_NEURAYLIB_IENUM_H
10
11
#include <
mi/neuraylib/idata.h
>
12
13
namespace
mi {
14
15
class
IEnum_decl;
16
21
class
IEnum :
38
public
base::Interface_declare<0x4e10d0e4,0x456b,0x45a5,0xa6,0xa7,0xdf,0x0a,0xa1,0x9a,0x0c,0xd2,
39
IData_simple>
40
{
41
public
:
45
virtual
void
get_value
(
Sint32
& value)
const
= 0;
46
50
Sint32
get_value
()
const
{
Sint32
value;
get_value
( value);
return
value; }
51
55
virtual
const
char
*
get_value_by_name
()
const
= 0;
56
67
virtual
Sint32
set_value
(
Sint32
value) = 0;
68
77
virtual
Sint32
set_value_by_name
(
const
char
* name) = 0;
78
80
virtual
const
IEnum_decl
*
get_enum_decl
()
const
= 0;
81
};
82
// end group mi_neuray_simple_types
84
85
}
// namespace mi
86
87
#endif // MI_NEURAYLIB_IENUM_H
mi
neuraylib
ienum.h
Generated on Fri Mar 4 2016 19:53:39. Build 250909.11169, Doxygen 1.8.4