NVIDIA Iray API
 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, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_IIMPORTER_H
9 #define MI_NEURAYLIB_IIMPORTER_H
10 
13 
14 namespace mi
15 {
16 
17 class IImpexp_state;
18 class IImport_result;
19 class IMap;
20 class IReader;
21 
22 namespace neuraylib
23 {
24 
25 class ITransaction;
26 
31 class IImporter :
33  public base::Interface_declare<0x1288a8b7,0x13ba,0x4010,0xb9,0x0c,0xbc,0xf5,0xca,0x49,0x70,0xdd,
34  IImpexp_base>
35 {
36 public:
50  virtual bool test_file_type(const char* extension, const IReader* reader) const = 0;
51 
53 
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 } // namespace mi
89 
90 #endif // MI_NEURAYLIB_IIMPORTER_H