OROCHI
 
Loading...
Searching...
No Matches
GxProperty::GxAccessor Class Reference

データアクセス基礎クラス More...

#include <GxProperty.h>

Inheritance diagram for GxProperty::GxAccessor:

Public Member Functions

初期化
 GxAccessor (u32 size=0, u32 attribute=0, GxProperty::TYPE type=GxProperty::TYPE::UNKNOWN, PROPERTY_FUNCTION_GET_VALUE pGetValueFunction=getValue, PROPERTY_FUNCTION_SET_VALUE pSetValueFunction=setValue, PROPERTY_FUNCTION_COPY_VALUE pCopyValueFunction=copyValue, PROPERTY_FUNCTION_TO_STRING pToStringFunction=toString, PROPERTY_FUNCTION_FROM_STRING pFromStringFunction=fromString, PROPERTY_FUNCTION_GET_RTTI pGetRTTIFunction=nullptr)
 コンストラクタ
 

Static Public Member Functions

アクセサ
static void getValue (const GxProperty *, const GxTypedObject *, void *const, u32)
 値を取得
 
static void setValue (GxProperty *, GxTypedObject *, const void *const, u32)
 値を設定
 
static void copyValue (GxProperty *, GxTypedObject *, GxTypedObject *, u32)
 値をコピー
 
static void toString (GxProperty *, GxTypedObject *, GxString &, u32)
 値の文字列を取得
 
static b32 fromString (GxProperty *, GxTypedObject *, GxString &, u32)
 文字列で値を設定
 

Detailed Description

データアクセス基礎クラス

Constructor & Destructor Documentation

◆ GxAccessor()

GxProperty::GxAccessor::GxAccessor ( u32 size = 0,
u32 attribute = 0,
GxProperty::TYPE type = GxProperty::TYPE::UNKNOWN,
PROPERTY_FUNCTION_GET_VALUE pGetValueFunction = getValue,
PROPERTY_FUNCTION_SET_VALUE pSetValueFunction = setValue,
PROPERTY_FUNCTION_COPY_VALUE pCopyValueFunction = copyValue,
PROPERTY_FUNCTION_TO_STRING pToStringFunction = toString,
PROPERTY_FUNCTION_FROM_STRING pFromStringFunction = fromString,
PROPERTY_FUNCTION_GET_RTTI pGetRTTIFunction = nullptr )

コンストラクタ

Parameters
name[in] 名前
size[in] サイズ
attribute[in] 属性
type[in] 種類
pGetValueFunction[in] 取得関数ポインタ
pSetValueFunction[in] 設定関数ポインタ
pCopyValueFunction[in] コピー関数ポインタ
pToStringFunction[in] 文字列へ変換関数ポインタ
pFromStringFunction[in] 文字列から変換関数ポインタ
pGetRttiFunction[in] RTTI取得関数ポインタ
Here is the call graph for this function:

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