BasicType

シンボルの基本型を指定します。

構文

enum BasicType {
    btNoType   = 0,
    btVoid     = 1,
    btChar     = 2,
    btWChar    = 3,
    btInt      = 6,
    btUInt     = 7,
    btFloat    = 8,
    btBCD      = 9,
    btBool     = 10,
    btLong     = 13,
    btULong    = 14,
    btCurrency = 25,
    btDate     = 26,
    btVariant  = 27,
    btComplex  = 28,
    btBit      = 29,
    btBSTR     = 30,
    btHresult  = 31,
    btChar16   = 32,  // char16_t
    btChar32   = 33,  // char32_t
    btChar8    = 34   // char8_t
};

要素

要素 説明
btNoType 基本型は指定されません。
btVoid 基本型は .void
btChar 基本型は a char (C/C++ 型) です。
btWChar 基本型はワイド (Unicode) 文字 (WCHAR) です。
btInt 基本型は signed int (C/C++ 型) です。
btUInt 基本型は unsigned int (C/C++ 型) です。
btFloat 基本型は浮動小数点数 (FLOAT) です。
btBCD 基本型は、2 進コード 10 進 (BCD) です。
btBool 基本型はブール値 (BOOL) です。
btLong 基本型は a long int (C/C++ 型) です。
btULong 基本型は ( unsigned long int C/C++ 型) です。
btCurrency 基本の種類は通貨です。
btDate 基本型は日付/時刻 (DATE) です。
btVariant 基本型は変数型構造体 (VARIANT) です。
btComplex 基本型は複素数です。
btBit 基本型は少しです。
btBSTR 基本型は、基本文字列またはバイナリ文字列 (BSTR) です。
btHresult 基本型は .HRESULT

解説

この列挙型の値は、IDiaSymbol::get_baseType メソッドによって返されます。

要件

ヘッダー: cvconst.h

こちらもご覧ください