6#ifndef PDFTK_PTLPARAMSTREAM_H_
7#define PDFTK_PTLPARAMSTREAM_H_
9#include "PtlParamString.h"
40 bool canRead()
const {
return m_canRead; }
69 virtual int read(
char* pBuf,
int len) {
return -1;}
78 virtual int write(
char* pBuf,
int len) {
return -1;}
92 virtual long seekoff(
long off,
int way,
int which) {
return -1;}
bool canRead() const
入力ストリームの読み込み可能かを取得。
virtual ~PtlParamStream()
デストラクタ
virtual int write(char *pBuf, int len)
出力ストリームの書き込み。
virtual bool open()=0
ストリームをオープン。
virtual void close()
ストリームをクローズ。
virtual long seekoff(long off, int way, int which)
入力ストリーム内の移動。
bool canWrite() const
出力ストリームの書き込み可能かを取得。
virtual const PtlParamString & getPath()=0
パスの取得。
virtual int read(char *pBuf, int len)
入力ストリームの読み込み。