#include <InputStream.h>
Inheritance diagram for Lamp::InputStream:

Public Member Functions | |
| InputStream () | |
| コンストラクタ | |
| virtual | ~InputStream () |
| デストラクタ | |
| virtual InputStream * | cloneInputStream ()=0 |
| 入力ストリームの複製 | |
Protected Member Functions | |
| virtual bool | isEnd ()=0 |
| 終端かどうか | |
| virtual void | readBytes (void *data, int size)=0 |
| バイトデータの読み込み | |
| virtual int | getSize ()=0 |
| サイズの取得 | |
| virtual void | skip (int size)=0 |
| スキップ | |
| virtual int | align (int size)=0 |
| アライメントを取る | |
| virtual int | getPosition ()=0 |
| 読み込み位置の取得 | |
| virtual void | setPosition (int position)=0 |
| 読み込み位置の設定 | |
Friends | |
| class | Reader |
Definition at line 34 of file InputStream.h.
|
|
アライメントを取る 指定されたバイト数のアライメントまで読み飛ばします。
Implemented in Lamp::FileInputStream, and Lamp::MemoryInputStream. Referenced by Lamp::Reader::align(). |
|
|
入力ストリームの複製
Implemented in Lamp::FileInputStream, and Lamp::MemoryInputStream. Referenced by Lamp::BinaryFileReader::cloneBinaryFileReader(), Lamp::BinaryMemoryReader::cloneBinaryMemoryReader(), Lamp::TextFileReader::cloneTextFileReader(), and Lamp::TextMemoryReader::cloneTextMemoryReader(). |
|
|
読み込み位置の取得
Implemented in Lamp::FileInputStream, and Lamp::MemoryInputStream. Referenced by Lamp::Reader::getPosition(). |
|
|
サイズの取得
Implemented in Lamp::FileInputStream, and Lamp::MemoryInputStream. Referenced by Lamp::Reader::getSize(). |
|
|
終端かどうか
Implemented in Lamp::FileInputStream, and Lamp::MemoryInputStream. Referenced by Lamp::Reader::isEnd(). |
|
||||||||||||
|
バイトデータの読み込み
Implemented in Lamp::FileInputStream, and Lamp::MemoryInputStream. Referenced by Lamp::Reader::readBytes(). |
|
|
読み込み位置の設定 指定された位置に読み込み位置を変更します。
Implemented in Lamp::FileInputStream, and Lamp::MemoryInputStream. Referenced by Lamp::Reader::setPosition(). |
|
|
スキップ 指定されたバイト数、読み出しをスキップします。
Implemented in Lamp::FileInputStream, and Lamp::MemoryInputStream. Referenced by Lamp::Reader::skip(). |
1.3.2