#include <Writer.h>
Inheritance diagram for Lamp::Writer:
Public Member Functions | |
void | writeBytes (const void *data, int size) |
バイトデータの書き出し | |
int | getSize () |
サイズの取得 | |
void | skip (int size) |
スキップ | |
int | align (int size) |
アライメントを取る | |
void | flush () |
フラッシュ | |
int | getPosition () |
書き込み位置の取得 | |
void | setPosition (int position) |
書き込み位置の設定 | |
Protected Member Functions | |
Writer () | |
コンストラクタ | |
virtual | ~Writer () |
デストラクタ | |
Protected Attributes | |
OutputStream * | stream_ |
出力ストリーム |
データ書き出しのインターフェース
Definition at line 38 of file Writer.h.
|
アライメントを取る 指定されたバイト数のアライメントまで0を書き出します。
Definition at line 77 of file Writer.h. References Lamp::OutputStream::align(), Assert, NULL, and stream_. Referenced by Lamp::BinarySceneSaver::align(), and Lamp::BinaryAnimationSaver::align(). |
|
フラッシュ ストリームをフラッシュします。 Definition at line 87 of file Writer.h. References Assert, Lamp::OutputStream::flush(), NULL, and stream_. Referenced by Lamp::LampInput::endLogging(), Lamp::Logger::flush(), and Lamp::Logger::~Logger(). |
|
書き込み位置の取得
Definition at line 96 of file Writer.h. References Assert, Lamp::OutputStream::getPosition(), NULL, and stream_. Referenced by Lamp::BinarySceneSaver::endBlock(), Lamp::BinaryAnimationSaver::endBlock(), Lamp::BinarySceneSaver::startBlock(), and Lamp::BinaryAnimationSaver::startBlock(). |
|
サイズの取得
Definition at line 54 of file Writer.h. References Assert, Lamp::OutputStream::getSize(), NULL, and stream_. |
|
書き込み位置の設定 指定された位置に書き込み位置を変更します。
Definition at line 107 of file Writer.h. References Assert, NULL, Lamp::OutputStream::setPosition(), and stream_. Referenced by Lamp::BinarySceneSaver::endBlock(), and Lamp::BinaryAnimationSaver::endBlock(). |
|
スキップ 指定されたバイト数、0を書き出します。
Definition at line 65 of file Writer.h. References Assert, NULL, Lamp::OutputStream::skip(), and stream_. |
|