Update of /cvsroot/gcblue/gcb_wx/include/database
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28131/include/database
Modified Files:
tcDatabase.h tcDatabaseObject.h
Log Message:
Index: tcDatabaseObject.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcDatabaseObject.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tcDatabaseObject.h 30 Jan 2004 01:02:34 -0000 1.7
--- tcDatabaseObject.h 25 Mar 2004 01:33:38 -0000 1.8
***************
*** 39,42 ****
--- 39,43 ----
class tc3DModel;
+ class TiXmlElement;
namespace Database
***************
*** 132,135 ****
--- 133,137 ----
int Serialize(tcFile& file, bool mbLoad, UINT32 anVersion);
int SerializeCSV(CsvTranslator* csv, bool mbLoad); ///< CSV serialization
+ virtual void SerializeXml(TiXmlElement* node, bool load); ///< XML serialization
static int WriteCSVHeader(CsvTranslator* csv); ///< writes column headings
tcDatabaseObject();
Index: tcDatabase.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcDatabase.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** tcDatabase.h 7 Feb 2004 02:19:53 -0000 1.3
--- tcDatabase.h 25 Mar 2004 01:33:38 -0000 1.4
***************
*** 83,90 ****
--- 83,93 ----
void LoadDBCSV(std::string suffix = "");
void SaveDBCSV(std::string suffix = "");
+ void LoadDBXml(std::string suffix = "");
+ void SaveDBXml(std::string suffix = "");
void RandomizePlatforms(void);
void PrintToFile(tcString);
int Serialize(tcFile& file, bool mbLoad);
int SerializeCSV(std::string suffix, bool mbLoad);
+ void SerializeXml(std::string suffix, bool load);
tcDatabase();
~tcDatabase();
|