|
Revision 10, 0.9 KB
(checked in by balister, 9 years ago)
|
|
Initial import
|
| Line | |
|---|
| 1 | #ifndef SADCOMPONENTPLACEMENT_H
|
|---|
| 2 | #define SADCOMPONENTPLACEMENT_H
|
|---|
| 3 |
|
|---|
| 4 | #include <xercesc/util/PlatformUtils.hpp>
|
|---|
| 5 | #include <xercesc/dom/DOM.hpp>
|
|---|
| 6 | #include <xercesc/parsers/XercesDOMParser.hpp>
|
|---|
| 7 | #include <xercesc/util/XMLString.hpp>
|
|---|
| 8 |
|
|---|
| 9 | #include "ComponentPlacement.h"
|
|---|
| 10 | #include "SADComponentInstantiation.h"
|
|---|
| 11 |
|
|---|
| 12 | class OSSIEPARSER_API SADComponentPlacement : public ComponentPlacement
|
|---|
| 13 | {
|
|---|
| 14 | protected:
|
|---|
| 15 | std::vector<SADComponentInstantiation*> sadComp;
|
|---|
| 16 | void parseElement();
|
|---|
| 17 |
|
|---|
| 18 | void parseFileRef( DOMElement* _elem );
|
|---|
| 19 |
|
|---|
| 20 | void extractFileRef( DOMElement* _elem );
|
|---|
| 21 |
|
|---|
| 22 | void parseInstantiations( DOMElement* _elem ) ;
|
|---|
| 23 |
|
|---|
| 24 | public:
|
|---|
| 25 | SADComponentPlacement();
|
|---|
| 26 |
|
|---|
| 27 | SADComponentPlacement( DOMElement* _elem, DOMDocument* _doc );
|
|---|
| 28 |
|
|---|
| 29 | ~SADComponentPlacement();
|
|---|
| 30 |
|
|---|
| 31 | char* getSPDFile() const;
|
|---|
| 32 |
|
|---|
| 33 | char* toString();
|
|---|
| 34 |
|
|---|
| 35 | std::vector<SADComponentInstantiation*>* getSADInstantiations();
|
|---|
| 36 |
|
|---|
| 37 | SADComponentInstantiation* getSADInstantiationById( char* _id ) const;
|
|---|
| 38 | };
|
|---|
| 39 |
|
|---|
| 40 | #endif
|
|---|
| 41 |
|
|---|