#include <environmentCodec.h>

Public Types | |
| enum | { Fail = -1, Complete = 0, All = -1 } |
Public Member Functions | |
| virtual bool | is_open (void)=0 |
| ファイルが open されているか | |
| virtual bool | eof (void)=0 |
| ファイル終端に到達したか | |
| void | read1ch (void) |
| 1文字読み出し | |
| void | clearBuffer (int n=All) |
| バッファのクリア | |
Public Attributes | |
| std::deque< char > | buffer |
Definition at line 20 of file environmentCodec.h.
| virtual bool EnvironmentCodecStream::is_open | ( | void | ) | [pure virtual] |
| virtual bool EnvironmentCodecStream::eof | ( | void | ) | [pure virtual] |
| void EnvironmentCodecStream::read1ch | ( | void | ) |
| void EnvironmentCodecStream::clearBuffer | ( | int | n = All |
) |
バッファのクリア
n に All を指定すると、全データを削除する
| n | [i] 削除バイト数 |
Definition at line 38 of file environmentCodec.cpp.
References buffer.
| std::deque<char> EnvironmentCodecStream::buffer |
リングバッファ
Definition at line 30 of file environmentCodec.h.
Referenced by clearBuffer(), encodeLineFeedFromText(), encodeNumericFromText(), encodeSpaceFromText(), and read1ch().
1.5.7.1