Material Definition Language API nvidia_logo_transpbg.gif 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 2020 NVIDIA Corporation. All rights reserved.
3  **************************************************************************************************/
6 
7 #ifndef MI_NEURAYLIB_IWRITER_H
8 #define MI_NEURAYLIB_IWRITER_H
9 
11 
12 namespace mi {
13 
14 namespace neuraylib {
15 
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 } // namespace mi
53 
54 #endif // MI_NEURAYLIB_IWRITER_H