Material Definition Language API
Up
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ireader_writer_base.h
Go to the documentation of this file.
1
/***************************************************************************************************
2
* Copyright 2018 NVIDIA Corporation. All rights reserved.
3
**************************************************************************************************/
6
7
#ifndef MI_NEURAYLIB_IREADER_WRITER_BASE_H
8
#define MI_NEURAYLIB_IREADER_WRITER_BASE_H
9
10
#include <
mi/base/interface_declare.h
>
11
12
namespace
mi {
13
14
namespace
neuraylib {
15
16
class
IStream_position;
17
24
class
IReader_writer_base :
71
public
base::Interface_declare<0x919370c2,0x2bb4,0x40db,0x81,0xff,0xd3,0x1c,0x52,0x10,0x54,0x64>
72
{
73
public
:
76
virtual
Sint32
get_error_number
()
const
= 0;
77
80
virtual
const
char
*
get_error_message
()
const
= 0;
81
84
virtual
bool
eof
()
const
= 0;
85
87
virtual
Sint32
get_file_descriptor
()
const
= 0;
88
90
91
93
virtual
bool
supports_recorded_access
()
const
= 0;
94
96
virtual
const
IStream_position*
tell_position
()
const
= 0;
97
102
virtual
bool
seek_position
(
const
IStream_position* stream_position) = 0;
103
107
virtual
bool
rewind
() = 0;
108
110
112
114
virtual
bool
supports_absolute_access
()
const
= 0;
115
118
virtual
Sint64
tell_absolute
()
const
= 0;
119
124
virtual
bool
seek_absolute
(
Sint64
pos) = 0;
125
128
virtual
Sint64
get_file_size
()
const
= 0;
129
132
virtual
bool
seek_end
() = 0;
133
135
};
136
// end group mi_neuray_impexp
138
139
}
// namespace neuraylib
140
141
}
// namespace mi
142
143
#endif // MI_NEURAYLIB_IREADER_WRITER_BASE_H
11 December 2018, 20:41, revision 313481, Doxygen 1.8.4
© 1986, 2018 NVIDIA Corporation.
All rights reserved.