NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
iwriter.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_IWRITER_H
9 #define MI_NEURAYLIB_IWRITER_H
10 
12 #include <mi/neuraylib/version.h>
13 
14 namespace mi {
15 
16 namespace neuraylib {
17 
22 class IWriter :
25  public base::Interface_declare<0x0e6ecfbc,0x78c3,0x4082,0xba,0x51,0xa3,0x60,0xbb,0x1d,0x6f,0xc0,
26  neuraylib::IReader_writer_base>
27 {
28 public:
34  virtual Sint64 write( const char* buffer, Sint64 size) = 0;
35 
41  virtual bool writeline( const char* str) = 0;
42 
45  virtual bool flush() = 0;
46 };
47  // end group mi_neuray_impexp
49 
50 } // namespace neuraylib
51 
52 #ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
53 using neuraylib::IReader_writer_base;
54 using neuraylib::IWriter;
55 #endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
56 
57 } // namespace mi
58 
59 #endif // MI_NEURAYLIB_IWRITER_H