TInputObjectFile class Reference

メインページ モジュール クラス階層 アルファベット順一覧 構成 ファイル一覧 構成メンバ ファイルメンバ 関連ページ

# クラス TInputObjectFile の解説

`#include <TInputObjectFile.hh>`

TInputObjectFileに対する継承グラフ

[凡例]
TInputObjectFileのコラボレーション図

[凡例]
すべてのメンバ一覧

## Public 型
enum | { tSeekBegin = SEEK_SET, tSeekCurrent = SEEK_CUR, tSeekEnd = SEEK_END }
## Public メソッド
| TInputObjectFile (const Tstring &filename, const Tstring &mode="r")
| TInputObjectFile (TObjectFilter *filter, const Tstring &filename, const Tstring &mode="r")
| ~TInputObjectFile ()
Tint | Read (TStreamableObject &object)
const Tstring & | GetFileName () const
const Tstring & | GetMode () const
TFileStream * | GetFileStream () const
Tvoid | SetFileName (const Tstring &filename)
Tvoid | SetMode (const Tstring &mode)
Tvoid | SetOffset (Tint offset, Tint whence=tSeekCurrent)
Tint | GetOffset ()
Tstream_t | GetStreamType () const
Tvoid | SetStreamType (Tstream_t streamtype)
TObjectFilter * | GetObjectFilter () const
Tvoid | SetObjectFilter (TObjectFilter *filter)
Tbool | HasFilter () const
Tint | GetDataSize () const
Tint | GetLastDataSize () const
Tvoid | SetDataSize (Tint datasize)
Tvoid | SetLastDataSize (Tint datasize)
Tint | GetTotalDataSize () const
## Protected 変数
Tstring | theFileName
Tstring | theMode
TFileStream * | theFileStream
TObjectFilter * | theObjectFilter
Tstream_t | theStreamType
Tint | theDataSize
Tint | theLastDataSize
Tint | theTotalDataSize
## フレンド
Tint | operator>> (TInputObjectStream &left, TStreamableObject &object)
Tint | operator>> (TInputObjectStream &left, const TStreamableObject &object)

## Enum の解説

anonymous enum`[inherited]`

  | Enum 値:
  tSeekBegin |
  tSeekCurrent |
  tSeekEnd |

## コンストラクタとデストラクタの解説

TInputObjectFile::TInputObjectFile | ( | const Tstring & | filename,
|  | const Tstring & | mode = "r"
| ) |

TInputObjectFile::TInputObjectFile | ( | TObjectFilter * | filter,
|  | const Tstring & | filename,
|  | const Tstring & | mode = "r"
| ) |

TInputObjectFile::~TInputObjectFile | ( |  | ) |

## メソッドの解説

Tint TObjectStream::GetDataSize | ( |  | ) | `[inline, inherited]`

const Tstring & TObjectFile::GetFileName | ( |  | ) | `[inline, inherited]`

TFileStream * TObjectFile::GetFileStream | ( |  | ) | `[inline, inherited]`

Tint TObjectStream::GetLastDataSize | ( |  | ) | `[inline, inherited]`

const Tstring & TObjectFile::GetMode | ( |  | ) | `[inline, inherited]`

TObjectFilter * TObjectStream::GetObjectFilter | ( |  | ) | `[inline, inherited]`

Tint TObjectFile::GetOffset | ( |  | ) | `[inline, inherited]`

Tstream_t TObjectStream::GetStreamType | ( |  | ) | `[inline, inherited]`

Tint TObjectStream::GetTotalDataSize | ( |  | ) | `[inline, inherited]`

Tbool TObjectStream::HasFilter | ( |  | ) | `[inline, inherited]`

Tint TInputObjectFile::Read | ( | TStreamableObject & | object | ) | `[virtual]`

| TInputObjectStreamに実装されています.

Tvoid TObjectStream::SetDataSize | ( | Tint | datasize | ) | `[inline, inherited]`

Tvoid TObjectFile::SetFileName | ( | const Tstring & | filename | ) | `[inline, inherited]`

Tvoid TObjectStream::SetLastDataSize | ( | Tint | datasize | ) | `[inline, inherited]`

Tvoid TObjectFile::SetMode | ( | const Tstring & | mode | ) | `[inline, inherited]`

Tvoid TObjectStream::SetObjectFilter | ( | TObjectFilter * | filter | ) | `[inline, inherited]`

Tvoid TObjectFile::SetOffset | ( | Tint | offset,
|  | Tint | whence = tSeekCurrent
| ) | `[inline, inherited]`

Tvoid TObjectStream::SetStreamType | ( | Tstream_t | streamtype | ) | `[inline, inherited]`

## フレンドと関連する関数の解説

Tint operator>> | ( | TInputObjectStream & | left,
|  | const TStreamableObject & | object
| ) | `[friend, inherited]`

Tint operator>> | ( | TInputObjectStream & | left,
|  | TStreamableObject & | object
| ) | `[friend, inherited]`

## 変数の解説

Tint TObjectStream::theDataSize`[protected, inherited]`

Tstring TObjectFile::theFileName`[protected, inherited]`

TFileStream* TObjectFile::theFileStream`[protected, inherited]`

Tint TObjectStream::theLastDataSize`[protected, inherited]`

Tstring TObjectFile::theMode`[protected, inherited]`

TObjectFilter* TObjectStream::theObjectFilter`[protected, inherited]`

Tstream_t TObjectStream::theStreamType`[protected, inherited]`

Tint TObjectStream::theTotalDataSize`[protected, inherited]`

このクラスの解説は次のファイルから生成されました:

- TInputObjectFile.hh