IBM Content Manager, バージョン 8.5      サポート:  Oracle, DB2, C++, Java

タイプ・コードの入手

DKAny 内のオブジェクトのタイプ・コードを調べるには、typeCode 関数を使います。

例: C++

DKAny::TypeCode type_code;
type_code = any1.typeCode(); // type_code is tc_ushort
type_code = any4.typeCode(); // type_code is tc_time
type_code = any5.typeCode(); // type_code is tc_dobase (object ref)
type_code = any6.typeCode(); // type_code is tc_voidptr since
                       // MyObject is not recognized by DKAny


フィードバック

最終更新: 2013 年 12 月
dcmap007.htm

© Copyright IBM Corp. 2013.