OROCHI
 
Loading...
Searching...
No Matches
GxScript Class Reference

スクリプトクラス More...

#include <GxScript.h>

Inheritance diagram for GxScript:
Collaboration diagram for GxScript:

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 GxBlockStartgetBlockStart (void) const
 開始ブロックを取得
 
template<class T >
void getBlocks (GxArrayClassBase &blocks) const
 ブロックリストを取得
 
GX_FORCE_INLINE GxArrayClassBasegetBlocks (void)
 ブロックリストを取得
 
b32 isUsingFunction (GxFunction *pFunction) const
 関数が使われているか判定
 
b32 isUsingProperty (GxProperty *pProperty) const
 プロパティが使われているか判定
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (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 Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 

Detailed Description

スクリプトクラス

Member Function Documentation

◆ execute()

GxFunction::GxValue GxScript::execute ( GxClassBaseRoot * pObject,
GxScriptRuntime & runtime,
u32 argumentCount = 0,
GxFunction::GxValue * pValues = nullptr ) const

実行

Parameters
pObject[in] 対象オブジェクト
runtime[in] ランタイム情報
argumentCount[in] 引数の数
pValues[in] 引数リスト
Returns
戻り値
Here is the call graph for this function:

◆ isUsingFunction()

b32 GxScript::isUsingFunction ( GxFunction * pFunction) const

関数が使われているか判定

Parameters
pFunction[in] 関数
Returns
使われていればtrue
Here is the call graph for this function:

◆ isUsingProperty()

b32 GxScript::isUsingProperty ( GxProperty * pProperty) const

プロパティが使われているか判定

Parameters
pProperty[in] プロパティ
Returns
使われていればtrue
Here is the call graph for this function:

◆ replaceData()

void GxScript::replaceData ( const GxArrayClassBase & staticFunctions,
const GxArrayClassBase & eventFunctions,
const GxArrayClassBase & dynamicProperties )

関数型とプロパティを置き換える

Parameters
staticFunctions[in] 静的関数リスト
eventFunctions[in] イベント関数リスト
dynamicProperties[in] 動的変数リスト
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: