Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

XMLComponentInstanceDOMCreator.h

Go to the documentation of this file.
00001 
00039 #ifndef _AMIRE_PERSISTENCE_XML_COMPONENT_INSTANCE_DOM_CREATOR_H
00040 #define _AMIRE_PERSISTENCE_XML_COMPONENT_INSTANCE_DOM_CREATOR_H
00041 
00042 #include <xercesc/dom/DOM.hpp>
00043 #include <amire/property/Property.h>
00044 #include <amire/component/Component.h>
00045 #include <amire/component/ComponentState.h>
00046 #include <amire/persistence/XMLComponentInstanceDictionary.h>
00047 
00048  
00049 namespace amire {
00050   namespace persistence {
00051            
00052     class AMIRE_EXPORT_API XMLComponentInstanceDOMCreator : public XMLComponentInstanceDictionary {
00053       private:        
00054         DOMDocument* document;
00055       public:           
00056         XMLComponentInstanceDOMCreator(DOMDocument* aDocument);
00057         virtual ~XMLComponentInstanceDOMCreator();        
00058         DOMNode* createComponentInstanceNode (const amire::component::Component * component);                                
00059         DOMNode* createComponentStateNode (const std::string &stateName, const std::vector<int>& outSlotIds, const amire::component::Component * component);
00060         DOMNode* createPropertyValueNode (const amire::property::Property  * property);                                
00061     };
00062   }
00063 }
00064 #endif

Generated on Tue May 20 17:23:54 2003 for AMIRE-Framework by doxygen1.3