TDataElement class Reference

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

# クラス TDataElement の解説

`#include <TDataElement.hh>`

TDataElementに対する継承グラフ

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

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

## Public メソッド
| TDataElement (Telement_t type=tTypeUnknown, const Tstring &id=TunknownID)
| TDataElement (Tvoid *data, Telement_t type, const Tstring &id=TunknownID, Tint ndata=1)
| TDataElement (const TDataElement &right)
| ~TDataElement ()
Tint | Record (TOutputObjectStream *output)
Tint | GetRecordSize ()
Tvoid | FillData (Tvoid *data, Telement_t elementtype, Tint ndata=1)
Tvoid | FillData (Tvoid *data, Tint ndata=1)
Tvoid | Clear ()
Tint | Serialize (Tvoid *buffer)
Tint * | GetIntData () const
Tstring * | GetStringData () const
Tdouble * | GetDoubleData () const
Tfloat * | GetFloatData () const
TUshort * | GetUnsignedShortData () const
Tshort * | GetShortData () const
Tlong * | GetLongData () const
TUlong * | GetUnsignedLongData () const
TUint * | GetUnsignedIntData () const
Tvoid * | GetData () const
Telement_t | GetElementType () const
Tint | GetNumberOfPrimitives () const
Tvoid | SetData (Tvoid *data)
Tvoid | SetElementType (Telement_t elementtype)
Tvoid | SetNumberOfPrimitives (Tint nprimitives)
Tint | StorePrimitives (Tint *buffer, Tint narray=0) const
Tint | StorePrimitives (Tstring *buffer, Tint narray=0) const
Tint | StorePrimitives (Tdouble *buffer, Tint narray=0) const
Tint | StorePrimitives (Tfloat *buffer, Tint narray=0) const
Tint | StorePrimitives (TUshort *buffer, Tint narray=0) const
Tint | StorePrimitives (Tshort *buffer, Tint narray=0) const
Tint | StorePrimitives (Tlong *buffer, Tint narray=0) const
Tint | StorePrimitives (TUlong *buffer, Tint narray=0) const
Tint | StorePrimitives (TUint *buffer, Tint narray=0) const
Tvoid | StorePrimitive (Tint &buffer) const
Tvoid | StorePrimitive (Tstring &buffer) const
Tvoid | StorePrimitive (Tdouble &buffer) const
Tvoid | StorePrimitive (Tfloat &buffer) const
Tvoid | StorePrimitive (TUshort &buffer) const
Tvoid | StorePrimitive (Tshort &buffer) const
Tvoid | StorePrimitive (Tlong &buffer) const
Tvoid | StorePrimitive (TUlong &buffer) const
Tvoid | StorePrimitive (TUint &buffer) const
const TDataElement & | operator= (const TDataElement &right)
Tbool | operator== (const TDataElement &right) const
Tbool | operator!= (const TDataElement &right) 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 TDataElement &right)

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

TDataElement::TDataElement | ( | Telement_t | type = tTypeUnknown,
|  | const Tstring & | id = TunknownID
| ) |

TDataElement::TDataElement | ( | Tvoid * | data,
|  | Telement_t | type,
|  | const Tstring & | id = TunknownID,
|  | Tint | ndata = 1
| ) |

TDataElement::TDataElement | ( | const TDataElement & | right | ) |

TDataElement::~TDataElement | ( |  | ) |

## メソッドの解説

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

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

Tvoid TDataElement::FillData | ( | Tvoid * | data,
|  | Tint | ndata = 1
| ) | `[inline]`

Tvoid TDataElement::FillData | ( | Tvoid * | data,
|  | Telement_t | elementtype,
|  | Tint | ndata = 1
| ) | `[inline]`

Tvoid * TDataElement::GetData | ( |  | ) | `[inline]`

Tdouble * TDataElement::GetDoubleData | ( |  | ) | `[inline]`

Telement_t TDataElement::GetElementType | ( |  | ) | `[inline]`

Tfloat * TDataElement::GetFloatData | ( |  | ) | `[inline]`

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

Tint * TDataElement::GetIntData | ( |  | ) | `[inline]`

Tlong * TDataElement::GetLongData | ( |  | ) | `[inline]`

Tint TDataElement::GetNumberOfPrimitives | ( |  | ) | `[inline]`

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

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

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

Tshort * TDataElement::GetShortData | ( |  | ) | `[inline]`

Tstring * TDataElement::GetStringData | ( |  | ) | `[inline]`

TUint * TDataElement::GetUnsignedIntData | ( |  | ) | `[inline]`

TUlong * TDataElement::GetUnsignedLongData | ( |  | ) | `[inline]`

TUshort * TDataElement::GetUnsignedShortData | ( |  | ) | `[inline]`

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

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

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

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

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

Tint TDataElement::Record | ( | TOutputObjectStream * | output | ) | `[virtual]`

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

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

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

Tvoid TDataElement::SetData | ( | Tvoid * | data | ) | `[inline]`

Tvoid TDataElement::SetElementType | ( | Telement_t | elementtype | ) | `[inline]`

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

Tvoid TDataElement::SetNumberOfPrimitives | ( | Tint | nprimitives | ) | `[inline]`

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

Tvoid TDataElement::StorePrimitive | ( | TUint & | buffer | ) | const

Tvoid TDataElement::StorePrimitive | ( | TUlong & | buffer | ) | const

Tvoid TDataElement::StorePrimitive | ( | Tlong & | buffer | ) | const

Tvoid TDataElement::StorePrimitive | ( | Tshort & | buffer | ) | const

Tvoid TDataElement::StorePrimitive | ( | TUshort & | buffer | ) | const

Tvoid TDataElement::StorePrimitive | ( | Tfloat & | buffer | ) | const

Tvoid TDataElement::StorePrimitive | ( | Tdouble & | buffer | ) | const

Tvoid TDataElement::StorePrimitive | ( | Tstring & | buffer | ) | const

Tvoid TDataElement::StorePrimitive | ( | Tint & | buffer | ) | const

Tint TDataElement::StorePrimitives | ( | TUint * | buffer,
|  | Tint | narray = 0
| ) | const

Tint TDataElement::StorePrimitives | ( | TUlong * | buffer,
|  | Tint | narray = 0
| ) | const

Tint TDataElement::StorePrimitives | ( | Tlong * | buffer,
|  | Tint | narray = 0
| ) | const

Tint TDataElement::StorePrimitives | ( | Tshort * | buffer,
|  | Tint | narray = 0
| ) | const

Tint TDataElement::StorePrimitives | ( | TUshort * | buffer,
|  | Tint | narray = 0
| ) | const

Tint TDataElement::StorePrimitives | ( | Tfloat * | buffer,
|  | Tint | narray = 0
| ) | const

Tint TDataElement::StorePrimitives | ( | Tdouble * | buffer,
|  | Tint | narray = 0
| ) | const

Tint TDataElement::StorePrimitives | ( | Tstring * | buffer,
|  | Tint | narray = 0
| ) | const

Tint TDataElement::StorePrimitives | ( | Tint * | buffer,
|  | Tint | narray = 0
| ) | const

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

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

## 変数の解説

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

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

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

- TDataElement.hh