TDataSection class Reference

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

# クラス TDataSection の解説
[Datarecord Category]

This is the TDataSection class. [詳細]

`#include <TDataSection.hh>`

TDataSectionに対する継承グラフ

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

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

## Public メソッド
| TDataSection (const Tstring &id=TunknownID)
| TDataSection (const TDataSection &right)
| ~TDataSection ()
Tint | GetRecordSize ()
Tint | Record (TOutputObjectStream *objectfile)
Tvoid | Clear ()
Tint | Serialize (const Tvoid *buffer)
Tint | Deserialize (const Tvoid *buffer)
Tint | Size () const
const TDataSection & | operator= (const TDataSection &right)
Tbool | operator== (const TDataSection &right) const
Tbool | operator!= (const TDataSection &right) const
Tbool | operator== (const Tstring &right) const
Tbool | operator!= (const Tstring &right) const
const TDataSegment & | operator[] (Tint n) const
TDataSegment & | operator[] (Tint n)
const TDataSegment & | operator[] (const Tstring &id) const
TDataSegment & | operator[] (const Tstring &id)
Tbool | FindDataSegment (const Tstring &id, TDataSegment &segment) const
Tint | FindDataSegment (const Tstring &id) const
Tbool | FindDataElement (const Tstring &segid, const Tstring &eleid, TDataElement &element) const
Tint | FindDataElement (const Tstring &segid, const Tstring &eleid) const
Tbool | FindDataElement (Tstring idset[2], TDataElement &element) const
Tint | FindDataElement (Tstring idset[2]) const
Tbool | FindDataElement (const TstringList &idset, TDataElement &element) const
Tint | FindDataElement (const TstringList &idset) const
Tobject_t | GetObjectType () const
const Tstring & | GetID () const
Tvoid | SetObjectType (Tobject_t objecttype)
Tvoid | SetID (const Tstring &id)
virtual Tbool | operator== (const TStreamableObject &right) const
virtual Tbool | operator!= (const TStreamableObject &right) const
## Protected 変数
Tobject_t | theObjectType
Tstring | theID
## フレンド
Tostream & | operator<< (Tostream &tos, const TDataSection &right)

## 解説

This is the TDataSection class.

作者:
  Go IWAI <goiwai@users.sourceforge.jp>

The TDataSection class detail description. Write it down ASAP!

TODO:
  None?

バグ:
  None?

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

TDataSection::TDataSection | ( | const Tstring & | id = TunknownID | ) |

TDataSection::TDataSection | ( | const TDataSection & | right | ) |

TDataSection::~TDataSection | ( |  | ) |

## メソッドの解説

Tvoid TDataSection::Clear | ( |  | ) | `[virtual]`

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

Tint TDataSection::Deserialize | ( | const Tvoid * | buffer | ) | `[virtual]`

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

Tint TDataSection::FindDataElement | ( | const TstringList & | idset | ) | const

Tbool TDataSection::FindDataElement | ( | const TstringList & | idset,
|  | TDataElement & | element
| ) | const

Tint TDataSection::FindDataElement | ( | Tstring | idset[2] | ) | const

Tbool TDataSection::FindDataElement | ( | Tstring | idset[2],
|  | TDataElement & | element
| ) | const

Tint TDataSection::FindDataElement | ( | const Tstring & | segid,
|  | const Tstring & | eleid
| ) | const

Tbool TDataSection::FindDataElement | ( | const Tstring & | segid,
|  | const Tstring & | eleid,
|  | TDataElement & | element
| ) | const

Tint TDataSection::FindDataSegment | ( | const Tstring & | id | ) | const

Tbool TDataSection::FindDataSegment | ( | const Tstring & | id,
|  | TDataSegment & | segment
| ) | const

const Tstring & TStreamableObject::GetID | ( |  | ) | `[inline, inherited]`

Tobject_t TStreamableObject::GetObjectType | ( |  | ) | `[inline, inherited]`

Tint TDataSection::GetRecordSize | ( |  | ) | `[virtual]`

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

virtual Tbool TStreamableObject::operator!= | ( | const TStreamableObject & | right | ) | const`[virtual, inherited]`

Tbool TDataSection::operator!= | ( | const Tstring & | right | ) | const

Tbool TDataSection::operator!= | ( | const TDataSection & | right | ) | const

const TDataSection& TDataSection::operator= | ( | const TDataSection & | right | ) |

virtual Tbool TStreamableObject::operator== | ( | const TStreamableObject & | right | ) | const`[virtual, inherited]`

Tbool TDataSection::operator== | ( | const Tstring & | right | ) | const

Tbool TDataSection::operator== | ( | const TDataSection & | right | ) | const

TDataSegment& TDataSection::operator[] | ( | const Tstring & | id | ) |

const TDataSegment& TDataSection::operator[] | ( | const Tstring & | id | ) | const

TDataSegment& TDataSection::operator[] | ( | Tint | n | ) |

const TDataSegment& TDataSection::operator[] | ( | Tint | n | ) | const

Tint TDataSection::Record | ( | TOutputObjectStream * | objectfile | ) | `[virtual]`

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

Tint TDataSection::Serialize | ( | const Tvoid * | buffer | ) | `[virtual]`

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

Tvoid TStreamableObject::SetID | ( | const Tstring & | id | ) | `[inline, inherited]`

Tvoid TStreamableObject::SetObjectType | ( | Tobject_t | objecttype | ) | `[inline, inherited]`

Tint TDataSection::Size | ( |  | ) | `[inline, virtual]`

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

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

Tostream& operator<< | ( | Tostream & | tos,
|  | const TDataSection & | right
| ) | `[friend]`

## 変数の解説

Tstring TStreamableObject::theID`[protected, inherited]`

Tobject_t TStreamableObject::theObjectType`[protected, inherited]`

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

- TDataSection.hh