source: GSEXmlParser/GSEXmlParser.h @ 29

Last change on this file since 29 was 29, checked in by sunny, 16 years ago
  1. add -f flag for xml and tsv file type
  2. output tsv file format
File size: 722 bytes
Line 
1#ifndef _GSEXmlParser_GSEXmlParser_h
2#define _GSEXmlParser_GSEXmlParser_h
3
4#include <Core/Core.h>
5#include <stdio.h>
6
7using namespace Upp;
8using namespace std;
9
10String TrimSpace(String str);
11
12struct Data {
13    String                    iid;
14    String                    source;
15    VectorMap<String, String> desc; //Description
16    String                    supp_type; //Supplementary-Data Type
17    String                    supp_data; //Supplementary-Data
18    void   Dump();
19    String   ToXML();
20    String   ToTSV();     
21};
22
23struct   GSEParser {
24  Array<Data>           data;
25  void     Dump();
26    String   ToXML();
27    String   ToTSV();
28    void     LoadXML(String filename); 
29};
30#endif
Note: See TracBrowser for help on using the repository browser.