NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
istructure_decl.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_ISTRUCTURE_DECL_H
9 #define MI_NEURAYLIB_ISTRUCTURE_DECL_H
10 
11 #include <mi/neuraylib/idata.h>
12 
13 namespace mi {
14 
19 class IStructure_decl :
34  public base::Interface_declare<0xcd206d33,0x0906,0x4e70,0x82,0x42,0x6a,0x90,0x8a,0xf5,0x82,0x43>
35 {
36 public:
48  virtual Sint32 add_member( const char* type_name, const char* name) = 0;
49 
57  virtual Sint32 remove_member( const char* name) = 0;
58 
60  virtual Size get_length() const = 0;
61 
67  virtual const char* get_member_type_name( Size index) const = 0;
68 
74  virtual const char* get_member_type_name( const char* name) const = 0;
75 
81  virtual const char* get_member_name( Size index) const = 0;
82 
97  virtual const char* get_structure_type_name() const = 0;
98 };
99  // end group mi_neuray_types
101 
102 } // namespace mi
103 
104 #endif // MI_NEURAYLIB_ISTRUCTURE_DECL_H