|
Revision 10, 1.2 KB
(checked in by balister, 9 years ago)
|
|
Initial import
|
| Line | |
|---|
| 1 | #ifndef DCDCOMPONENTPLACEMENT_H
|
|---|
| 2 | #define DCDCOMPONENTPLACEMENT_H
|
|---|
| 3 |
|
|---|
| 4 | #include "DMDParser.h"
|
|---|
| 5 | #include "ComponentPlacement.h"
|
|---|
| 6 | #include "DCDComponentInstantiation.h"
|
|---|
| 7 |
|
|---|
| 8 | class OSSIEPARSER_API DCDComponentPlacement : public ComponentPlacement
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | bool ifDeployOn;
|
|---|
| 12 |
|
|---|
| 13 | bool ifCompositePartOf;
|
|---|
| 14 |
|
|---|
| 15 | bool ifDomainManager;
|
|---|
| 16 |
|
|---|
| 17 | char* DMDFile;
|
|---|
| 18 |
|
|---|
| 19 | char* deployOnDeviceID;
|
|---|
| 20 |
|
|---|
| 21 | char* compositePartOfDeviceID;
|
|---|
| 22 |
|
|---|
| 23 | char* DPDFile;
|
|---|
| 24 |
|
|---|
| 25 | protected:
|
|---|
| 26 | void parseElement();
|
|---|
| 27 |
|
|---|
| 28 | void extractFileRef(DOMElement* _elem) ;
|
|---|
| 29 |
|
|---|
| 30 | void parseDeployOnDevice(DOMElement* _elem);
|
|---|
| 31 |
|
|---|
| 32 | void parseCompositePartOfDevice(DOMElement* _elem);
|
|---|
| 33 |
|
|---|
| 34 | void parseDPDFileName(DOMElement* _elem);
|
|---|
| 35 |
|
|---|
| 36 | void parseInstantiations(DOMElement* _elem) ;
|
|---|
| 37 |
|
|---|
| 38 | public:
|
|---|
| 39 | DCDComponentPlacement();
|
|---|
| 40 |
|
|---|
| 41 | DCDComponentPlacement(DOMElement* _elem,DOMDocument* _doc);
|
|---|
| 42 |
|
|---|
| 43 | DCDComponentPlacement(const DCDComponentPlacement &_dcdCP);
|
|---|
| 44 |
|
|---|
| 45 | ~DCDComponentPlacement();
|
|---|
| 46 |
|
|---|
| 47 | char* getDMDFile() const;
|
|---|
| 48 |
|
|---|
| 49 | char* getDeployOnDeviceID() const;
|
|---|
| 50 |
|
|---|
| 51 | char* getCompositePartOfDeviceID() const;
|
|---|
| 52 |
|
|---|
| 53 | char* getDPDFile() const;
|
|---|
| 54 |
|
|---|
| 55 | bool isDeployOn();
|
|---|
| 56 |
|
|---|
| 57 | bool isCompositePartOf();
|
|---|
| 58 |
|
|---|
| 59 | bool isDomainManager();
|
|---|
| 60 |
|
|---|
| 61 | //char* toString();
|
|---|
| 62 | };
|
|---|
| 63 |
|
|---|
| 64 | #endif
|
|---|
| 65 |
|
|---|