source: GSEXmlParser/GSEXmlParser.h @ 60

Last change on this file since 60 was 37, checked in by sunny, 16 years ago

add tomysql function

File size: 834 bytes
Line 
1#ifndef _GSEXmlParser_GSEXmlParser_h
2#define _GSEXmlParser_GSEXmlParser_h
3
4#include <Core/Core.h>
5#include <stdio.h>
6#include <MySql/MySql.h>
7
8using namespace Upp;
9using namespace std;
10
11String TrimSpace(String str);
12
13struct Data {
14    String                    iid;
15    String                    source;
16    VectorMap<String, String> desc; //Description
17    String                    supp_type; //Supplementary-Data Type
18    String                    supp_data; //Supplementary-Data
19    void   Dump();
20    String   ToXML();
21    String   ToTSV();       
22};
23
24struct   GSEParser { 
25  Array<Data>           data;
26  void     Dump();
27    String   ToXML();
28    String   ToTSV();
29    void     LoadXML(String filename); 
30    void     ToMySQL(String username, String password, String db, String db_ip);
31};
32#endif
Note: See TracBrowser for help on using the repository browser.