|
Public 型 |
| enum | { ERROR = -1
} |
| enum | {
tSeekBegin = SEEK_SET,
tSeekCurrent = SEEK_CUR,
tSeekEnd = SEEK_END
} |
Public メソッド |
| | TInputObjectFileOnline (const Tstring &filename, const Tstring &mode="r", Tint utime=DEFAULT) |
| | TInputObjectFileOnline (TInputObjectFilter *filter, const Tstring &filename, const Tstring &mode="r", Tint utime=DEFAULT) |
| | ~TInputObjectFileOnline () |
| Tint | Read (TStreamableObject &object) |
| Tint | GetMicroSleepTime () const |
| Tvoid | SetMicroSleepTime (Tint utime) |
| Tbool | IsSleep () const |
| Tvoid | MicroSleep () const |
| virtual TDataRecord | operator[] (const Tstring &id) |
| virtual TDataRecord | operator[] (Tint index) |
| const Tstring & | GetFileName () const |
| const Tstring & | GetMode () const |
| TFileStream * | GetFileStream () const |
| Tvoid | SetFileName (const Tstring &filename) |
| Tvoid | SetMode (const Tstring &mode) |
| const TFileProperty & | GetFileProperty () const |
| Tvoid | SetOffset (Tint offset, Tint whence=tSeekCurrent) |
| Tint | GetOffset () |
| Tbool | IsEnd () const |
| Tbool | IsError () const |
| Tint | GetStreamSize () const |
| | ファイルサイズをバイトで得る
|
| Tint | Size () const |
| | 何個のレコードからなるか
|
| Tint | FindDataRecord (const Tstring &id, Tint offset=0) const |
| | 見つかれば id をもつレコードの位置を返す
|
| Tint | FindDataRecord (Tint index, Tint offset=0) const |
| | 見つかれば index 番目のレコードの位置を返す
|
| Tint | Find (const Tstring &id, Tint offset=0) const |
| | 見つかれば id をもつレコードの位置を返す
|
| Tint | Find (Tint index, Tint offset=0) const |
| | 見つかれば index 番目のレコードの位置を返す
|
| TInputObjectFilter * | GetObjectFilter () const |
| Tvoid | SetObjectFilter (TInputObjectFilter *filter) |
| Tbool | HasFilter () const |
| Tstream_t | GetStreamType () const |
| Tint | GetDataSize () const |
| Tint | GetLastDataSize () const |
| Tint | GetTotalDataSize () const |
| Tvoid | SetStreamType (Tstream_t streamtype) |
| Tvoid | SetDataSize (Tint datasize) |
| Tvoid | SetLastDataSize (Tint datasize) |
| Tvoid | SetTotalDataSize (Tint datasize) |
Protected メソッド |
| virtual TDataRecord | getDataRecord () |
| virtual TDataSection | getDataSection () |
| virtual TDataSegment | getDataSegment () |
| virtual TDataElement | getDataElement () |
| virtual Tvoid | readProperties (Tint &recsize, Tobject_t &type, Tstring &id, Tsize_t &entries) |
Protected 変数 |
| Tstring | theFileName |
| Tstring | theMode |
| TFileStream * | theFileStream |
| TFileProperty | theFileProperty |
| TInputObjectFilter * | theObjectFilter |
| Tstream_t | theStreamType |
| | ストリームタイプ(そのまんま)
|
| Tint | theDataSize |
| | 対象のデータサイズ(レコードサイズとは似て非なるものです)
|
| Tint | theLastDataSize |
| | 直前の処理(Read/Write)のよる処理サイズ
|
| Tint | theTotalDataSize |
| | ここまで処理したデータの合計サイズ
|
フレンド |
| Tint | operator>> (TInputObjectStream &left, TStreamableObject &object) |
| Tint | operator>> (TInputObjectStream &left, const TStreamableObject &object) |