PoDoFo
1.2.0
Loading...
Searching...
No Matches
src
podofo
auxiliary
OutputDevice.h
1
// SPDX-FileCopyrightText: 2006 Dominik Seichter <domseichter@web.de>
2
// SPDX-FileCopyrightText: 2020 Francesco Pretto <ceztko@gmail.com>
3
// SPDX-License-Identifier: LGPL-2.0-or-later OR MPL-2.0
4
5
#ifndef AUX_OUTPUT_DEVICE_H
6
#define AUX_OUTPUT_DEVICE_H
7
8
#include <ostream>
9
#include <fstream>
10
11
#include "StreamDeviceBase.h"
12
#include "OutputStream.h"
13
14
namespace
PoDoFo
{
15
16
class
PODOFO_API OutputStreamDevice :
virtual
public
StreamDeviceBase,
public
OutputStream
17
{
18
protected
:
19
OutputStreamDevice();
20
OutputStreamDevice(
bool
init);
21
22
public
:
24
void
Truncate
();
25
26
protected
:
27
virtual
void
truncate() = 0;
28
void
checkWrite()
const override
;
29
};
30
31
};
32
33
#endif
// AUX_OUTPUT_DEVICE_H
PoDoFo
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition
basetypes.h:13
PoDoFo::FileMode::Truncate
@ Truncate
Truncate an existing file for writing/reading.
Generated by
1.9.8