FineKernelToolKit  2.9.0
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義 ページ
Public メソッド | すべてのメンバ一覧
クラス fk_Attribute

形状や位相要素の属性を付与、取得するクラス [詳細]

+ fk_Attributeに対する継承グラフ

Public メソッド

 fk_Attribute (void)
 コンストラクタ [詳細]
 
virtual ~fk_Attribute ()
 デストラクタ [詳細]
 
属性設定用関数
bool setAttrII (const int key, const int value)
 キーが int 型、値が int 型である属性設定関数 [詳細]
 
bool setAttrID (const int key, const double value)
 キーが int 型、値が double 型である属性設定関数 [詳細]
 
bool setAttrIS (const int key, const std::string value)
 キーが int 型、値が string 型である属性設定関数 [詳細]
 
bool setAttrSI (const std::string key, const int value)
 キーが string 型、値が int 型である属性設定関数 [詳細]
 
bool setAttrSD (const std::string key, const double value)
 キーが string 型、値が double 型である属性設定関数 [詳細]
 
bool setAttrSS (const std::string key, const std::string value)
 キーが string 型、値が string 型である属性設定関数 [詳細]
 
属性取得用関数
int getAttrII (const int key) const
 キーが int 型、値が int 型である属性参照関数 [詳細]
 
double getAttrID (const int key) const
 キーが int 型、値が double 型である属性参照関数 [詳細]
 
std::string getAttrIS (const int key) const
 キーが int 型、値が string 型である属性参照関数 [詳細]
 
int getAttrSI (const std::string key) const
 キーが string 型、値が int 型である属性参照関数 [詳細]
 
double getAttrSD (const std::string key) const
 キーが string 型、値が double 型である属性参照関数 [詳細]
 
std::string getAttrSS (const std::string key) const
 キーが string 型、値が string 型である属性参照関数 [詳細]
 
属性存在参照関数
bool existAttrII (const int key) const
 キーが int 型、値が int 型である属性存在参照関数 [詳細]
 
bool existAttrID (const int key) const
 キーが int 型、値が double 型である属性存在参照関数 [詳細]
 
bool existAttrIS (const int key) const
 キーが int 型、値が string 型である属性存在参照関数 [詳細]
 
bool existAttrSI (const std::string key) const
 キーが string 型、値が int 型である属性存在参照関数 [詳細]
 
bool existAttrSD (const std::string key) const
 キーが string 型、値が double 型である属性存在参照関数 [詳細]
 
bool existAttrSS (const std::string key) const
 キーが string 型、値が string 型である属性存在参照関数 [詳細]
 
属性消去関数
bool deleteAttrII (const int key)
 キーが int 型、値が int 型である属性消去関数 [詳細]
 
bool deleteAttrID (const int key)
 キーが int 型、値が double 型である属性消去関数 [詳細]
 
bool deleteAttrIS (const int key)
 キーが int 型、値が string 型である属性消去関数 [詳細]
 
bool deleteAttrSI (const std::string key)
 キーが string 型、値が int 型である属性消去関数 [詳細]
 
bool deleteAttrSD (const std::string key)
 キーが string 型、値が double 型である属性消去関数 [詳細]
 
bool deleteAttrSS (const std::string key)
 キーが string 型、値が string 型である属性消去関数 [詳細]
 

説明

形状や位相要素の属性を付与、取得するクラス

このクラスは、 fk_Blockfk_Solid などの形状を表すインスタンスや、 fk_Solid による形状中の各位相要素に対して属性を付与する機能を提供します。 属性はハッシュマップによるもので、キーとして int か string の 2 種、 値として int、double、string の 3 種を使用することができます。

コンストラクタとデストラクタ

fk_Attribute::fk_Attribute ( void  )

コンストラクタ

virtual fk_Attribute::~fk_Attribute ( )
virtual

デストラクタ

関数

bool fk_Attribute::setAttrII ( const int  key,
const int  value 
)

キーが int 型、値が int 型である属性設定関数

引数
[in]keyキー
[in]value
参照
getAttrII(), existAttrII(), deleteAttrII()
bool fk_Attribute::setAttrID ( const int  key,
const double  value 
)

キーが int 型、値が double 型である属性設定関数

引数
[in]keyキー
[in]value
bool fk_Attribute::setAttrIS ( const int  key,
const std::string  value 
)

キーが int 型、値が string 型である属性設定関数

引数
[in]keyキー
[in]value
bool fk_Attribute::setAttrSI ( const std::string  key,
const int  value 
)

キーが string 型、値が int 型である属性設定関数

引数
[in]keyキー
[in]value
bool fk_Attribute::setAttrSD ( const std::string  key,
const double  value 
)

キーが string 型、値が double 型である属性設定関数

引数
[in]keyキー
[in]value
bool fk_Attribute::setAttrSS ( const std::string  key,
const std::string  value 
)

キーが string 型、値が string 型である属性設定関数

引数
[in]keyキー
[in]value
int fk_Attribute::getAttrII ( const int  key) const

キーが int 型、値が int 型である属性参照関数

引数
[in]keyキー
戻り値
属性値。もしその属性が存在しなかった場合、0 を返します。
double fk_Attribute::getAttrID ( const int  key) const

キーが int 型、値が double 型である属性参照関数

引数
[in]keyキー
戻り値
属性値。もしその属性が存在しなかった場合、0.0 を返します。
std::string fk_Attribute::getAttrIS ( const int  key) const

キーが int 型、値が string 型である属性参照関数

引数
[in]keyキー
戻り値
属性値。もしその属性が存在しなかった場合、空文字列を返します。
int fk_Attribute::getAttrSI ( const std::string  key) const

キーが string 型、値が int 型である属性参照関数

引数
[in]keyキー
戻り値
属性値。もしその属性が存在しなかった場合、0 を返します。
double fk_Attribute::getAttrSD ( const std::string  key) const

キーが string 型、値が double 型である属性参照関数

引数
[in]keyキー
戻り値
属性値。もしその属性が存在しなかった場合、0.0 を返します。
std::string fk_Attribute::getAttrSS ( const std::string  key) const

キーが string 型、値が string 型である属性参照関数

引数
[in]keyキー
戻り値
属性値。もしその属性が存在しなかった場合、空文字列を返します。
bool fk_Attribute::existAttrII ( const int  key) const

キーが int 型、値が int 型である属性存在参照関数

引数
[in]keyキー
戻り値
もしその属性が存在している場合 true を、 存在しない場合 false を返します。
bool fk_Attribute::existAttrID ( const int  key) const

キーが int 型、値が double 型である属性存在参照関数

引数
[in]keyキー
戻り値
もしその属性が存在している場合 true を、 存在しない場合 false を返します。
bool fk_Attribute::existAttrIS ( const int  key) const

キーが int 型、値が string 型である属性存在参照関数

引数
[in]keyキー
戻り値
もしその属性が存在している場合 true を、 存在しない場合 false を返します。
bool fk_Attribute::existAttrSI ( const std::string  key) const

キーが string 型、値が int 型である属性存在参照関数

引数
[in]keyキー
戻り値
もしその属性が存在している場合 true を、 存在しない場合 false を返します。
bool fk_Attribute::existAttrSD ( const std::string  key) const

キーが string 型、値が double 型である属性存在参照関数

引数
[in]keyキー
戻り値
もしその属性が存在している場合 true を、 存在しない場合 false を返します。
bool fk_Attribute::existAttrSS ( const std::string  key) const

キーが string 型、値が string 型である属性存在参照関数

引数
[in]keyキー
戻り値
もしその属性が存在している場合 true を、 存在しない場合 false を返します。
bool fk_Attribute::deleteAttrII ( const int  key)

キーが int 型、値が int 型である属性消去関数

引数
[in]keyキー
戻り値
もしその属性が存在していた場合 true を、 存在していなかった場合 false を返します。
bool fk_Attribute::deleteAttrID ( const int  key)

キーが int 型、値が double 型である属性消去関数

引数
[in]keyキー
戻り値
もしその属性が存在していた場合 true を、 存在していなかった場合 false を返します。
bool fk_Attribute::deleteAttrIS ( const int  key)

キーが int 型、値が string 型である属性消去関数

引数
[in]keyキー
戻り値
もしその属性が存在していた場合 true を、 存在していなかった場合 false を返します。
bool fk_Attribute::deleteAttrSI ( const std::string  key)

キーが string 型、値が int 型である属性消去関数

引数
[in]keyキー
戻り値
もしその属性が存在していた場合 true を、 存在していなかった場合 false を返します。
bool fk_Attribute::deleteAttrSD ( const std::string  key)

キーが string 型、値が double 型である属性消去関数

引数
[in]keyキー
戻り値
もしその属性が存在していた場合 true を、 存在していなかった場合 false を返します。
bool fk_Attribute::deleteAttrSS ( const std::string  key)

キーが string 型、値が string 型である属性消去関数

引数
[in]keyキー
戻り値
もしその属性が存在していた場合 true を、 存在していなかった場合 false を返します。