Antenna House PDF Tool API (C++) 8.0
PtlParamOutput.h
1
2// PtlParamOutput.h
3// Copyright (C) 2013-2025 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLPARAM_OUTPUT_H_
7#define PDFTK_PTLPARAM_OUTPUT_H_
8
9#include "PtlParamStream.h"
10#include "PtlParamString.h"
11#include <ostream>
12typedef std::ostream OutputStream;
13
14namespace PdfTk {
15
23
24class PDFTK_API PtlParamOutput :public PtlParamStream
25{
26private:
27 int m_dataParamOutput;
28public:
29 int getHandle() const;
30
31public:
37
44
51 PtlParamOutput(const PtlParamString& path, const OutputStream* outStream);
52
59
64
65public:
71
72public:
78 bool open();
79
84 void close();
85
93 int write(char* pBuf, int len);
94
95public:
100
101 /*
102 * @brief OutputStreamの取得。
103 * @return OutputStream
104 */
105 OutputStream& getStream() const;
106};
107
108} // namespace PdfTk
109
110#endif // PDFTK_PTLPARAM_OUTPUT_H_
const PtlParamString & getPath()
パスの取得。
PtlParamOutput & operator=(const PtlParamOutput &obj)
コピーオペレータ
PtlParamOutput()
コンストラクタ
PtlParamOutput(const PtlParamString &path, const OutputStream *outStream)
コンストラクタ
void close()
ストリームをクローズ。
PtlParamOutput(const PtlParamString &path)
コンストラクタ
~PtlParamOutput()
デストラクタ
bool open()
出力ストリームをオープン。
int write(char *pBuf, int len)
出力ストリームを書き込み。
PtlParamOutput(const PtlParamOutput &obj)
コピーコンストラクタ
PtlParamStream()
コンストラクタ