| 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 | }; |
|---|
| 21 | |
|---|
| 22 | struct GSEParser { |
|---|
| 23 | Array<Data> data; |
|---|
| 24 | void Dump(); |
|---|
| 25 | String ToXML(); |
|---|
| 26 | void LoadXML(String filename); |
|---|
| 27 | }; |
|---|
| 28 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.