OROCHI
 
Loading...
Searching...
No Matches
GxXmlReader.h
Go to the documentation of this file.
1//===========================================================================
9//===========================================================================
10#pragma once
11
12#if GX_DEVELOP
13
14GX_CORE_NAMESPACE_BEGIN()
15
16//===========================================================================
18//===========================================================================
19class GxXmlReader : public GxClassBase
20{
21 //-----------------------------------------------------------
23 //-----------------------------------------------------------
25public:
26 // RTTI定義
27 GX_RTTI_CLASS(GxXmlReader, GxClassBase)
28 // GxClassBase継承クラス用禁止宣言
29 GX_PROHIBIT_CLASS_BASE(GxXmlReader)
30
31 // new, delete定義
32 GX_OPERATOR_NEW_DELETE(GxAllocatorList::ALLOCATOR_TYPE::DEVELOP)
33protected:
34 static GX_CCHAR DATA_DELIMITER = ' ';
35
37 //-----------------------------------------------------------
39 //-----------------------------------------------------------
41public:
43 GxXmlReader(void) {}
45 ~GxXmlReader(void) override {}
46
48 //-----------------------------------------------------------
50 //-----------------------------------------------------------
52protected:
54 static void getBoolArrayFromXmlData(b32* pDst, GX_CSTR src, u32 count = 1);
56 static void getIntegerArrayFromXmlData(u32* pDst, GX_CSTR src, u32 count = 1);
58 static void getFloatArrayFromXmlData(f32* pDst, GX_CSTR src, u32 count = 1);
60 static void getDoubleArrayFromXmlData(f64* pDst, GX_CSTR src, u32 count = 1);
62 static void getNameArrayFromXmlData(GxString* pDst, GX_CSTR src, u32 count = 1);
64 static void getGxVector2FromXmlData(GxVector2* pDst, GX_CSTR src, u32 count = 1);
66 static void getGxVector3FromXmlData(GxVector3* pDst, GX_CSTR src, u32 count = 1);
68 static void getGxVector3dFromXmlData(GxVector3d* pDst, GX_CSTR src, u32 count = 1);
70 static void getGxVector4FromXmlData(GxVector4* pDst, GX_CSTR src, u32 count = 1);
72 static void getMatrixFromXmlData(GxMatrix44* pDst, GX_CSTR src, u32 count = 1);
74 static void getColorHDRFromXmlData(GxColorHDR* pDst, GX_CSTR src, u32 count = 1);
76 static void getPrimitiveFromXmlData(u32* pDst, GX_CSTR src, u32 count = 1);
77
79};
80
81GX_CORE_NAMESPACE_END()
82
83#endif // GX_DEVELOP
#define GX_PROHIBIT_CLASS_BASE(__CLASS__)
GxClassBase継承の禁止宣言
Definition GxBase.h:240
オブジェクト基底クラス
Definition GxBase.h:88
色(HDR)
Definition GxColor.h:241
4×4行列(行優先)
Definition GxMatrix.h:607
文字列型クラス
Definition GxString.h:18
2次元ベクトル
Definition GxVector.h:34
3次元ベクトル
Definition GxVector.h:245
3次元ベクトル(倍精度)
Definition GxVectord.h:235
4次元ベクトル
Definition GxVector.h:582
32bitブーリアン
Definition GxDefine.h:173