|
Revision 8679, 0.5 KB
(checked in by mcarrick, 4 years ago)
|
|
rough draft for DPD parser
|
| Line | |
|---|
| 1 | #ifndef DEVICEPKGREF_H |
|---|
| 2 | #define DEVICEPKGREF_H |
|---|
| 3 | |
|---|
| 4 | //#include "ossie/ossieparser.h" |
|---|
| 5 | |
|---|
| 6 | #include <string> |
|---|
| 7 | #include <vector> |
|---|
| 8 | |
|---|
| 9 | #include "include/tinyxml.h" |
|---|
| 10 | |
|---|
| 11 | //class OSSIEPARSER_API DevicePkgRef |
|---|
| 12 | class DevicePkgRef |
|---|
| 13 | { |
|---|
| 14 | public: |
|---|
| 15 | DevicePkgRef(TiXmlElement *elem); |
|---|
| 16 | ~DevicePkgRef(); |
|---|
| 17 | |
|---|
| 18 | std::string getType(); |
|---|
| 19 | std::string getLocalFile(); |
|---|
| 20 | |
|---|
| 21 | protected: |
|---|
| 22 | void parseElement(TiXmlElement *elem); |
|---|
| 23 | |
|---|
| 24 | private: |
|---|
| 25 | DevicePkgRef(); // no default constructor |
|---|
| 26 | DevicePkgRef(const DevicePkgRef& aDevicePkgRef); // no copying |
|---|
| 27 | |
|---|
| 28 | std::string type; |
|---|
| 29 | std::string localfile; |
|---|
| 30 | |
|---|
| 31 | }; |
|---|
| 32 | |
|---|
| 33 | #endif |
|---|
| 34 | |
|---|
| 35 | |
|---|