/* ========================================================================== * ÆÄ ÀÏ : UINodeProperty.h * ¸ñ Àû : * ÀÛ ¼º ÀÚ : ±è°¡¶÷ * ÀÛ ¼º ÀÏ : 2006-12-13 * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once #include "UINode.h" class cToken; class cParser; class cUINodeProperty { public: cUINodeProperty( const cString& name, eUINodeType type = eUINODE_NULL ); virtual ~cUINodeProperty(); /// ¼Ó¼º ·Îµù bool Load( cParser& parser ); /// À¯È¿¼º °Ë»ç virtual bool IsValid() const; /// ÀÚ½Ä Ãß°¡ void AddChild( cUINodeProperty* child ); /// ŸÀÔ eUINodeType GetType() const; /// ÀÚ½Ä ¸®½ºÆ® // const tPointerList& GetChildList() const; const tPointerList& GetChildList() const; protected: /// ÇÑ ÁÙ ÆÄ½Ì bool ParseLine( cParser& parser, cToken& token ); protected: /// ÀÚ½Ä ¸®½ºÆ® // typedef tPointerList cNodeList; typedef tPointerList cNodeList; cNodeList mChildList; public: /// ÀÚ±âÀÚ½ÅÀÇ ÇÁ·ÎÆÛƼ À̸§ cString mPropertyName; /// ½ºÅ² À̸§ cString mSkinName; protected: /// ŸÀÔ eUINodeType mType; }; inline eUINodeType cUINodeProperty::GetType() const { return mType; } inline const tPointerList& cUINodeProperty::GetChildList() const { return mChildList; }