jstream.h
来自「b tree code for index in the database d」· C头文件 代码 · 共 42 行
H
42 行
//////////////////////////////////////////////////////////////////
///
/// (C) 2007: Yuriy Soroka <ysoroka@scalingweb.com>
/// Anton Fedoruk <afedoruk@scalingweb.com>
///
//////////////////////////////////////////////////////////////////
#ifndef __JStream_h__
#define __JStream_h__
#include "JInputStream.h"
#include "JOutputStream.h"
# ifdef Q_OS_WIN32
# define JSTREAM_EXPORT __declspec(dllexport)
# else
# define JSTREAM_EXPORT
# endif
///
/// Base class for input and output streams
///
class JSTREAM_EXPORT JStream : public JInputStream, public JOutputStream
{
public:
virtual ~JStream() {}
virtual bool seek( gint64 position ) = 0;
virtual gint64 size() = 0;
virtual gint64 pos() const = 0;
virtual void reset() = 0;
virtual void close() = 0;
using JInputStream::read;
using JOutputStream::write;
};
#endif // __JStream_h__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?