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
RevLine 
[26]1#ifndef _GSEXmlParser_GSEXmlParser_h
2#define _GSEXmlParser_GSEXmlParser_h
3
4#include <Core/Core.h>
5#include <stdio.h>
[37]6#include <MySql/MySql.h>
[26]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();
[29]20    String   ToXML();
[37]21    String   ToTSV();       
[26]22};
23
[37]24struct   GSEParser { 
[26]25  Array<Data>           data;
26  void     Dump();
27    String   ToXML();
[29]28    String   ToTSV();
[26]29    void     LoadXML(String filename); 
[37]30    void     ToMySQL(String username, String password, String db, String db_ip);
[26]31};
32#endif
Note: See TracBrowser for help on using the repository browser.