Antenna House PDF Tool API (C++) 8.0
PtlParamInput.h
1
2// PtlParamInput.h
3// Copyright (C) 2013-2025 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLPARAM_INPUT_H_
7#define PDFTK_PTLPARAM_INPUT_H_
8
9#include "PtlParamStream.h"
10#include "PtlParamString.h"
11#include <istream>
12typedef std::istream InputStream;
13
14namespace PdfTk {
15
23
24class PDFTK_API PtlParamInput : public PtlParamStream
25{
26private:
27 int m_dataParamInput;
28public:
29 int getHandle() const;
30
31public:
37
44
51 PtlParamInput(const PtlParamString& path, InputStream* inStream);
52
59
64
65public:
71
72public:
78 bool open();
79
84 void close();
85
94 int read(char* pBuf, int len);
95
108 long seekoff(long off, int way, int which);
109
110public:
115
121 InputStream& getStream() const;
122};
123
124} // namespace PdfTk
125
126#endif // PDFTK_PTLPARAM_INPUT_H_
PtlParamInput(const PtlParamString &path, InputStream *inStream)
コンストラクタ
InputStream & getStream() const
InputStreamを取得。
PtlParamInput & operator=(const PtlParamInput &obj)
コピーオペレータ
void close()
ストリームのクローズ。
PtlParamInput(const PtlParamString &path)
コンストラクタ
PtlParamInput()
コンストラクタ
int read(char *pBuf, int len)
入力ストリームの読み込み。
PtlParamInput(const PtlParamInput &obj)
コピーコンストラクタ
long seekoff(long off, int way, int which)
入力ストリーム内の移動。
~PtlParamInput()
デストラクタ
const PtlParamString & getPath()
パスを取得。
bool open()
入力ストリームのオープン。
PtlParamStream()
コンストラクタ