Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
i
m
n
o
r
s
u
w
Functions
Variables
Typedefs
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
~
+
Functions
a
b
c
d
e
f
h
i
n
o
p
r
s
t
w
~
Variables
Typedefs
Enumerations
Enumerator
+
Files
File List
+
File Members
All
Functions
Macros
include
imagezero
file.h
Go to the documentation of this file.
1
#ifndef IZ_FILE_H
2
#define IZ_FILE_H 1
3
4
#include <cstddef>
5
6
namespace
IZ
7
{
8
class
InputFile
9
{
10
public
:
11
explicit
InputFile
(
const
char
* filename);
12
13
~InputFile
();
14
15
bool
isReadable
()
const
;
16
17
const
unsigned
char
*
data
()
const
;
18
19
size_t
dataSize
()
const
;
20
21
private
:
22
class
Private;
23
24
Private*
const
d
;
25
};
26
27
class
OutputFile
28
{
29
public
:
30
explicit
OutputFile
(
const
char
* filename);
31
32
~
OutputFile
();
33
34
bool
isWritable()
const
;
35
36
unsigned
char
* prepareData(
size_t
maxSize);
37
38
void
commitData(
unsigned
char
*
data
,
size_t
size);
39
40
private
:
41
class
Private;
42
43
Private*
const
d
;
44
};
45
}
46
47
#endif
IZ::InputFile::isReadable
bool isReadable() const
IZ
Definition:
bitcoder.h:6
IZ::InputFile::~InputFile
~InputFile()
IZ::InputFile::data
const unsigned char * data() const
IZ::InputFile::d
Private *const d
Definition:
file.h:22
IZ::InputFile::InputFile
InputFile(const char *filename)
IZ::OutputFile::d
Private *const d
Definition:
file.h:41
InputFile
IZ::InputFile::dataSize
size_t dataSize() const
OutputFile
imagezero
Author(s):
autogenerated on Mon Feb 28 2022 22:33:12