NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ireader.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_IREADER_H
9 #define MI_NEURAYLIB_IREADER_H
10 
12 
13 namespace mi {
14 
19 class IReader :
22  public base::Interface_declare<0xc03de0cf,0x5a03,0x4e8f,0xa1,0x59,0x6c,0xad,0xd6,0xf8,0xae,0x58,
23  IReader_writer_base>
24 {
25 public:
32  virtual Sint64 read( char* buffer, Sint64 size) = 0;
33 
44  virtual bool readline( char* buffer, Sint32 size) = 0;
45 
47 
48 
52  virtual bool supports_lookahead() const = 0;
53 
69  virtual Sint64 lookahead( Sint64 size, const char** buffer) const = 0;
70 
72 
73 };
74  // end group mi_neuray_impexp
76 
77 } // namespace mi
78 
79 #endif // MI_NEURAYLIB_IREADER_H