ienum_decl.h File Reference
Description
enum declarations
Code Example
ienum_decl.h
//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef MI_NEURAYLIB_IENUM_DECL_H
#define MI_NEURAYLIB_IENUM_DECL_H
#include <mi/neuraylib/idata.h>
namespace mi {
class IEnum_decl;
class IEnum_decl :
public base::Interface_declare<0xd15fcacd,0xe31f,0x4eb4,0x80,0x54,0x3b,0xe9,0x1f,0xbc,0x90,0x7d>
{
public:
virtual Sint32
add_enumerator( const char* name, Sint32 value) = 0;
virtual Sint32
remove_enumerator( const char* name) = 0;
virtual Size
get_length() const = 0;
virtual const char* get_name( Size index) const = 0;
virtual Sint32
get_value( Size index) const = 0;
virtual Size
get_index( const char* name) const = 0;
virtual Size
get_index( Sint32 value) const = 0;
virtual const char* get_enum_type_name() const = 0;
};
// end group mi_neuray_types
} // namespace mi
#endif // MI_NEURAYLIB_IENUM_DECL_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
Classes
- class
- An enum declaration is used to describe enum types. More...