関数型情報
More...
#include <GxFunction.h>
|
enum class | TYPE {
_VOID
, OBJECT
, B32
, U32
,
U64
, S32
, S64
, F32
,
F64
, STRING
, MAX
} |
| 型定義 More...
|
|
typedef void(*) | FUNCTION(GxValue *pReturnValue, GxTypedObject *pObject, GxValue *pArguments) |
| クラスメンバ関数コールバック型
|
|
static const u32 | ARGUMENT_MAX = 4 |
| 引数の最大数
|
|
|
| GxFunction (GxRtti *pRtti, u32 id, FUNCTION pFunction, GX_CSTR name, GxType returnType=GxType(), GxValue defaultValue=GxValue()) |
| コンストラクタ
|
|
template<typename... Arguments> |
| GxFunction (GxRtti *pRtti, u32 id, FUNCTION pFunction, GX_CSTR name, GxType returnType, GxValue defaultValue, Arguments... va_args) |
| コンストラクタ
|
|
|
static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
| Rttiの取得
|
|
◆ TYPE
型定義
Enumerator |
---|
_VOID | 無し
|
OBJECT | オブジェクト
|
B32 | 真偽値
|
U32 | 32bit符号無し整数
|
U64 | 64bit符号無し整数
|
S32 | 32bit符号付き整数
|
S64 | 64bit符号付き整数
|
F32 | 32bit浮動小数
|
F64 | 64bit浮動小数
|
STRING | 文字列
|
MAX | 定義数
|
◆ getArgumentCount()
u32 GxFunction::getArgumentCount |
( |
void | | ) |
const |
◆ getFunctionType()
型変換(GxProperty::TYPE→GxFunction::TYPE)
- Parameters
-
- Returns
- 関数の型
◆ getPropertyType()
型変換(GxFunction::TYPE→GxProperty::TYPE)
- Parameters
-
- Returns
- プロパティの型
◆ invoke()
関数を実行
- Parameters
-
command | [in] コマンド文字列 |
category | [in] ログのカテゴリー |
◆ isCastable()
キャスト可能か判定
- Parameters
-
type1 | [in] 型1 |
type2 | [in] 型2 |
- Returns
- 可能ならtrue
The documentation for this class was generated from the following files:
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxFunction.h
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxFunction.cpp