|
TNB Library
|
Bluetooth(CE) サービス属性管理. [詳解]
#include <TnbCeBluetooth.h>
CBluetoothServiceAttribute の継承関係図クラス | |
| struct | TValue |
| Bluetooth(CE) サービス属性値管理. [詳解] | |
公開型 | |
| typedef CVectorT< WORD > | TIdsList |
| ID配列. [詳解] | |
| typedef CVectorT< TValue > | TValuesList |
| 値配列. [詳解] | |
公開メンバ関数 | |
| bool | Analyze (size_t size, LPCVOID lpRawData) |
| [解析] 解析. [詳解] | |
| CBluetoothServiceAttribute (void) | |
| コンストラクタ [詳解] | |
| void | Free (void) |
| [設定] 破棄. [詳解] | |
| const TValuesList & | GetAttributeData (WORD attributeId) const |
| [取得] 属性IDデータ取得. [詳解] | |
| const TIdsList & | GetAttributeIdList (void) const |
| [取得] 属性ID一覧取得. [詳解] | |
| CStrVector | GetAttributeString (void) const |
| [取得] 属性文字列取得. [詳解] | |
| HRESULT | GetLastResult (void) const |
| [取得] 最終リザルト取得. [詳解] | |
| size_t | GetRecordCount (void) const |
| [取得] 保持レコード数. [詳解] | |
| bool | HasAttribute (WORD attributeId) const |
| [確認] 属性データ確認. [詳解] | |
| bool | IsValid (void) const |
| [確認] 有効確認. [詳解] | |
| bool | SearchRecord (INDEX record) |
| [検索] レコード検索. [詳解] | |
| ~CBluetoothServiceAttribute (void) | |
| デストラクタ [詳解] | |
Bluetooth(CE) サービス属性管理.
SDPの生データを解析、管理します。
TnbCeBluetooth.h の 423 行目に定義があります。
ID配列.
TnbCeBluetooth.h の 571 行目に定義があります。
| typedef CVectorT<TValue> TValuesList |
値配列.
TnbCeBluetooth.h の 573 行目に定義があります。
| CBluetoothServiceAttribute | ( | void | ) |
コンストラクタ
TnbCeBluetooth.h の 580 行目に定義があります。
| ~CBluetoothServiceAttribute | ( | void | ) |
デストラクタ
TnbCeBluetooth.h の 586 行目に定義があります。
| bool Analyze | ( | size_t | size, |
| LPCVOID | lpRawData | ||
| ) |
[解析] 解析.
生データ解析.
| size | 生データ長. |
| lpRawData | 生データ. |
| true | 成功. |
| false | 失敗。詳細は GetLastResult() で得られます。 |
TnbCeBluetooth.h の 647 行目に定義があります。
| void Free | ( | void | ) |
| const TValuesList & GetAttributeData | ( | WORD | attributeId | ) | const |
[取得] 属性IDデータ取得.
| attributeId | 属性ID。
|
TnbCeBluetooth.h の 755 行目に定義があります。
| const TIdsList & GetAttributeIdList | ( | void | ) | const |
| CStrVector GetAttributeString | ( | void | ) | const |
| HRESULT GetLastResult | ( | void | ) | const |
| size_t GetRecordCount | ( | void | ) | const |
| bool HasAttribute | ( | WORD | attributeId | ) | const |
| bool IsValid | ( | void | ) | const |
[確認] 有効確認.
Analyze() で成功したら本クラスが保持しているデータが有効になります。
| true | 有効. |
| false | 無効. |
TnbCeBluetooth.h の 616 行目に定義があります。
| bool SearchRecord | ( | INDEX | record | ) |
[検索] レコード検索.
指定レコードを探し、内容をメンバに記憶します。
| record | レコード番号。 0 から GetRecordCount() 未満の値を指定できます。 |
| true | 成功. |
| false | 失敗。詳細は GetLastResult() で得られます。 |
TnbCeBluetooth.h の 695 行目に定義があります。