MDL SDK API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
iimpexp_base.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  * Copyright 2022 NVIDIA Corporation. All rights reserved.
3  **************************************************************************************************/
6 
7 #ifndef MI_NEURAYLIB_IIMPEXP_BASE_H
8 #define MI_NEURAYLIB_IIMPEXP_BASE_H
9 
11 
12 namespace mi {
13 
14 namespace neuraylib {
15 
16 class IImpexp_state;
17 
24 enum Impexp_priority
31 {
44  // Undocumented, for alignment only
45  IMPEXP_PRIORITY_FORCE_32_BIT = 0xffffffffU
46 };
47 
48 mi_static_assert( sizeof( Impexp_priority) == sizeof( Uint32));
49 
56 class IImpexp_base :
57  public base::Interface_declare<0xf14bab60,0x91d8,0x4a78,0xaa,0xc4,0x6d,0x14,0x02,0xb1,0x97,0x47>
58 {
59 public:
69  virtual IImpexp_state* create_impexp_state(
70  const char* uri,
71  const IImpexp_state* parent_state = 0) const = 0;
72 
87  virtual bool test_file_type( const char* extension) const = 0;
88 
93  virtual Impexp_priority get_priority() const = 0;
94 
99  virtual const char* get_supported_extensions( Uint32 i) const = 0;
100 
113  virtual const char* get_name() const = 0;
114 
124  virtual const char* get_author() const = 0;
125 
131  virtual base::Uuid get_uuid() const = 0;
132 
139  virtual Uint32 get_major_version() const = 0;
140 
147  virtual Uint32 get_minor_version() const = 0;
148 };
149 
150 /*
151 @}
152 */ // end group mi_neuray_impexp
153 
154 } // namespace neuraylib
155 
156 } // namespace mi
157 
158 #endif // MI_NEURAYLIB_IIMPEXP_BASE_H