スクリプトクラス More...
#include <GxScript.h>
Classes | |
class | GxArgument |
引数クラス More... | |
class | GxBlock |
標準ブロッククラス More... | |
class | GxBlockBranch |
分岐ブロッククラス More... | |
class | GxBlockCommand |
命令ブロッククラス More... | |
class | GxBlockCommandFunction |
命令関数ブロッククラス More... | |
class | GxBlockCommandFunctionDynamic |
命令動的関数ブロッククラス More... | |
class | GxBlockCommandSet |
代入ブロッククラス More... | |
class | GxBlockEnd |
終了ブロッククラス More... | |
class | GxBlockIf |
条件分岐1ブロッククラス More... | |
class | GxBlockIfElse |
条件分岐2ブロッククラス More... | |
class | GxBlockLoop |
繰り返しブロッククラス More... | |
class | GxBlockParameter |
パラメータブロッククラス More... | |
class | GxBlockParameterFunction |
パラメータ関数ブロッククラス More... | |
class | GxBlockParameterFunctionDynamic |
パラメータ動的関数ブロッククラス More... | |
class | GxBlockParameterProperty |
パラメータプロパティブロッククラス More... | |
class | GxBlockStart |
開始ブロッククラス More... | |
Public Member Functions | |
初期化 | |
GxScript (void) | |
デフォルトコンストラクタ | |
~GxScript (void) override | |
デストラクタ | |
アクセサ | |
constexpr GxBlockStart * | getBlockStart (void) const |
開始ブロックを取得 | |
template<class T > | |
void | getBlocks (GxArrayClassBase &blocks) const |
ブロックリストを取得 | |
GX_FORCE_INLINE GxArrayClassBase & | getBlocks (void) |
ブロックリストを取得 | |
b32 | isUsingFunction (GxFunction *pFunction) const |
関数が使われているか判定 | |
b32 | isUsingProperty (GxProperty *pProperty) const |
プロパティが使われているか判定 | |
![]() | |
constexpr | GxClassBase (void) |
コンストラクタ | |
constexpr | GxClassBase (const GxClassBase &base) |
コピーコンストラクタ | |
~GxClassBase (void) override | |
デストラクタ | |
![]() | |
constexpr | GxClassBaseRoot (void) |
コンストラクタ | |
constexpr | GxClassBaseRoot (const GxClassBaseRoot &) |
コピーコンストラクタ | |
virtual | ~GxClassBaseRoot (void) |
デストラクタ | |
constexpr GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
代入演算子 | |
virtual GxRtti & | getRtti (void) const =0 |
Rttiの取得 | |
virtual GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) |
デフォルトオブジェクトを取得 | |
GX_FORCE_INLINE b32 | isDefaultObject (void) |
デフォルトオブジェクト判定 | |
操作 | |
void | replaceData (const GxArrayClassBase &staticFunctions, const GxArrayClassBase &eventFunctions, const GxArrayClassBase &dynamicProperties) |
関数型とプロパティを置き換える | |
GxFunction::GxValue | execute (GxClassBaseRoot *pObject, GxScriptRuntime &runtime, u32 argumentCount=0, GxFunction::GxValue *pValues=nullptr) const |
実行 | |
Additional Inherited Members | |
![]() | |
static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
Rttiの取得 | |
スクリプトクラス
GxFunction::GxValue GxScript::execute | ( | GxClassBaseRoot * | pObject, |
GxScriptRuntime & | runtime, | ||
u32 | argumentCount = 0, | ||
GxFunction::GxValue * | pValues = nullptr ) const |
実行
pObject | [in] 対象オブジェクト |
runtime | [in] ランタイム情報 |
argumentCount | [in] 引数の数 |
pValues | [in] 引数リスト |
b32 GxScript::isUsingFunction | ( | GxFunction * | pFunction | ) | const |
関数が使われているか判定
pFunction | [in] 関数 |
b32 GxScript::isUsingProperty | ( | GxProperty * | pProperty | ) | const |
プロパティが使われているか判定
pProperty | [in] プロパティ |
void GxScript::replaceData | ( | const GxArrayClassBase & | staticFunctions, |
const GxArrayClassBase & | eventFunctions, | ||
const GxArrayClassBase & | dynamicProperties ) |
関数型とプロパティを置き換える
staticFunctions | [in] 静的関数リスト |
eventFunctions | [in] イベント関数リスト |
dynamicProperties | [in] 動的変数リスト |