|
Revision 10, 1.0 KB
(checked in by balister, 9 years ago)
|
|
Initial import
|
| Line | |
|---|
| 1 | #ifndef SADCOMPONENTINSTANTIATION_H
|
|---|
| 2 | #define SADCOMPONENTINSTANTIATION_H
|
|---|
| 3 |
|
|---|
| 4 | #include "ComponentInstantiation.h"
|
|---|
| 5 |
|
|---|
| 6 | #define MAX_SAD_STR_LEN 255
|
|---|
| 7 |
|
|---|
| 8 | class OSSIEPARSER_API SADComponentInstantiation : public ComponentInstantiation
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | bool ifResourceFactoryRef;
|
|---|
| 12 |
|
|---|
| 13 | bool ifNamingService;
|
|---|
| 14 |
|
|---|
| 15 | char* resourceFactoryRefId;
|
|---|
| 16 |
|
|---|
| 17 | char* findByNamingServiceName;
|
|---|
| 18 |
|
|---|
| 19 | std::vector<InstantiationProperty*> factoryProperties;
|
|---|
| 20 |
|
|---|
| 21 | protected:
|
|---|
| 22 | void parseElement();
|
|---|
| 23 |
|
|---|
| 24 | void parseFindComponent( DOMElement* _elem );
|
|---|
| 25 |
|
|---|
| 26 | public:
|
|---|
| 27 | SADComponentInstantiation();
|
|---|
| 28 |
|
|---|
| 29 | SADComponentInstantiation( DOMElement* _elem );
|
|---|
| 30 |
|
|---|
| 31 | SADComponentInstantiation( const SADComponentInstantiation& _compInst );
|
|---|
| 32 |
|
|---|
| 33 | ~SADComponentInstantiation();
|
|---|
| 34 |
|
|---|
| 35 | bool isResourceFactoryRef();
|
|---|
| 36 |
|
|---|
| 37 | bool isNamingService();
|
|---|
| 38 |
|
|---|
| 39 | char* getResourceFactoryRefId() const;
|
|---|
| 40 |
|
|---|
| 41 | char* getFindByNamingServiceName() const;
|
|---|
| 42 |
|
|---|
| 43 | char* toString();
|
|---|
| 44 |
|
|---|
| 45 | std::vector<InstantiationProperty*>* getFactoryProperties();
|
|---|
| 46 | };
|
|---|
| 47 |
|
|---|
| 48 | #endif
|
|---|
| 49 |
|
|---|