PoDoFo
1.1.0
Loading...
Searching...
No Matches
src
podofo
auxiliary
OutputDevice.h
1
7
#ifndef AUX_OUTPUT_DEVICE_H
8
#define AUX_OUTPUT_DEVICE_H
9
10
#include <ostream>
11
#include <fstream>
12
13
#include "StreamDeviceBase.h"
14
#include "OutputStream.h"
15
16
namespace
PoDoFo
{
17
18
class
PODOFO_API OutputStreamDevice :
virtual
public
StreamDeviceBase,
public
OutputStream
19
{
20
protected
:
21
OutputStreamDevice();
22
OutputStreamDevice(
bool
init);
23
24
public
:
27
void
Truncate
();
28
29
protected
:
30
virtual
void
truncate() = 0;
31
void
checkWrite()
const override
;
32
};
33
34
};
35
36
#endif
// AUX_OUTPUT_DEVICE_H
PoDoFo
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition
basetypes.h:16
PoDoFo::FileMode::Truncate
@ Truncate
Truncate an existing file for writing/reading.
Generated by
1.9.8