00001 #ifndef XML_CONTAINER_H
00002 #define XML_CONTAINER_H
00003
00004 #include "SugoiTools\config.h"
00005 #include "SugoiTools\cl_param.h"
00006 #include "SugoiTools\xml.h"
00007 #include "SugoiTools\cl_xml_mngr.h"
00008
00009 namespace SGE{
00010
00011 class _SG_TLS_EXPORT CL_XML_Header
00012 :public CL_PARAM,
00013 public CL_XML_BASE_OBJ<std::string>
00014 {
00015 public:
00016 CL_XML_Header(std::string _Name);
00017 ~CL_XML_Header();
00018
00019 #if _SG_TLS_XML
00020 public:
00021 virtual TiXmlElement* XMLLoad(TiXmlElement* _XML_ROOT);
00022 virtual TiXmlElement* XMLSave(TiXmlElement* _XML_ROOT);
00023 #endif
00024 };
00025
00026
00027 class _SG_TLS_EXPORT CL_XML_CONTAINER :
00028 public CL_XML_BASE_OBJ<std::string>,
00029 public CL_XML_MNGR<CL_XML_BASE_OBJ<std::string>,std::string>
00030 {
00031 public:
00032 CL_XML_CONTAINER(std::string _Name);
00033 ~CL_XML_CONTAINER();
00034
00035 #if _SG_TLS_XML
00036 virtual
00037 CL_XML_MNGR<CL_XML_BASE_OBJ<std::string>,std::string>::TplObjHdle
00038 XMLLoadObject(TiXmlElement* _XML_Root,
00039 CL_XML_MNGR<CL_XML_BASE_OBJ<std::string>, std::string>::IDRefCst _ID,
00040 std::string _TagName,
00041 std::string Type);
00042
00043
00044
00045 virtual TiXmlElement * XMLLoad(TiXmlElement* _XML_ROOT);
00046 virtual TiXmlElement * XMLSave(TiXmlElement* _XML_ROOT);
00047 #endif
00048
00049
00050
00051
00052
00053
00054
00055
00056 private:
00057 };
00058
00059 };
00060
00061 #endif