NVIDIA Iray API
 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 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_IIMPEXP_BASE_H
9 #define MI_NEURAYLIB_IIMPEXP_BASE_H
10 
12 
13 namespace mi {
14 
15 class IImpexp_state;
16 
21 enum Impexp_priority
28 {
41  // Undocumented, for alignment only
42  IMPEXP_PRIORITY_FORCE_32_BIT = 0xffffffffU
43 };
44 
45 mi_static_assert( sizeof( Impexp_priority) == sizeof( Uint32));
46 
53 class IImpexp_base :
54  public base::Interface_declare<0xf14bab60,0x91d8,0x4a78,0xaa,0xc4,0x6d,0x14,0x02,0xb1,0x97,0x47>
55 {
56 public:
61  const char* uri,
62  const IImpexp_state* parent_state = 0) const = 0;
63 
76  virtual bool test_file_type( const char* extension) const = 0;
77 
82  virtual Impexp_priority get_priority() const = 0;
83 
87  virtual const char* get_supported_extensions( Uint32 i) const = 0;
88 
101  virtual const char* get_name() const = 0;
102 
112  virtual const char* get_author() const = 0;
113 
119  virtual base::Uuid get_uuid() const = 0;
120 
127  virtual Uint32 get_major_version() const = 0;
128 
135  virtual Uint32 get_minor_version() const = 0;
136 };
137  // end group mi_neuray_impexp
139 
140 } // namespace mi
141 
142 #endif // MI_NEURAYLIB_IIMPEXP_BASE_H