| Revision: | 1.1 |
| Committed: | Thu Nov 30 21:58:39 2000 UTC (25 years ago) by ab11 |
| Content type: | text/plain |
| Branch: | MAIN |
| Log Message: | XML string maker for c++ (header) |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | ab11 | 1.1 | #include <iostream.h> |
| 2 | #include <string.h> | ||
| 3 | |||
| 4 | class XMLFormatter { | ||
| 5 | |||
| 6 | public: | ||
| 7 | // public variables | ||
| 8 | // public methods | ||
| 9 | void XMLFormatter( char* newHostInfo ); | ||
| 10 | |||
| 11 | char* returnXML(); | ||
| 12 | void closeNest(); | ||
| 13 | void addNest(char* nest); | ||
| 14 | void addElement(char* element); | ||
| 15 | |||
| 16 | private: | ||
| 17 | // private variables | ||
| 18 | char* xmlData; | ||
| 19 | char* hostInfo; | ||
| 20 | |||
| 21 | }; // end class |