NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
iimporter.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_IIMPORTER_H
9 #define MI_NEURAYLIB_IIMPORTER_H
10 
13 #include <mi/neuraylib/version.h>
14 
15 namespace mi {
16 
17 class IMap;
18 
19 namespace neuraylib {
20 
21 class IImpexp_state;
22 class IImport_result;
23 class IReader;
24 class ITransaction;
25 
30 class IImporter :
32  public base::Interface_declare<0x1288a8b7,0x13ba,0x4010,0xb9,0x0c,0xbc,0xf5,0xca,0x49,0x70,0xdd,
33  neuraylib::IImpexp_base>
34 {
35 public:
49  virtual bool test_file_type(const char* extension, const IReader* reader) const = 0;
50 
52 
76  virtual IImport_result* import_elements(
77  ITransaction* transaction,
78  const char* extension,
79  IReader* reader,
80  const IMap* importer_options,
81  IImpexp_state* state) const = 0;
82 };
83  // end group mi_neuray_impexp
85 
86 } // namespace neuraylib
87 
88 #ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
89 using neuraylib::IImpexp_base;
90 using neuraylib::IImpexp_state;
91 using neuraylib::IImport_result;
92 using neuraylib::IReader;
93 #endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
94 
95 } // namespace mi
96 
97 #endif // MI_NEURAYLIB_IIMPORTER_H