Last change
on this file since 30 was
29,
checked in by sunny, 17 years ago
|
- add -f flag for xml and tsv file type
- 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 | |
---|
7 | using namespace Upp; |
---|
8 | using namespace std; |
---|
9 | |
---|
10 | String TrimSpace(String str); |
---|
11 | |
---|
12 | struct 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 | |
---|
23 | struct 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.