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

XMLComposedComponentPrototypeDOMCreator.h

Go to the documentation of this file.
00001 
00039 #ifndef _AMIRE_PERSISTENCE_XML_COMPOSED_COMPONENT_PROTOTYPE_DOM_CREATOR_H
00040 #define _AMIRE_PERSISTENCE_XML_COMPOSED_COMPONENT_PROTOTYPE_DOM_CREATOR_H
00041 
00042 #include <xercesc/dom/DOM.hpp>
00043 #include <amire/property/Property.h>
00044 #include <amire/component/ComposedComponent.h>
00045 #include <amire/component/ComponentState.h>
00046 #include <amire/component/Connection.h>
00047 #include <amire/persistence/XMLComposedComponentPrototypeDictionary.h>
00048 
00049  
00050 namespace amire {
00051   namespace persistence {
00052            
00053     class AMIRE_EXPORT_API XMLComposedComponentPrototypeDOMCreator : public XMLComposedComponentPrototypeDictionary {
00054       private:        
00055         DOMDocument* document;
00056         const std::vector <osg::ref_ptr<const amire::component::ComposedComponent> > localComposedComponents;
00057         std::vector <osg::ref_ptr<const amire::component::ComposedComponent> > handledComposedComponents;
00058       public:           
00059         XMLComposedComponentPrototypeDOMCreator(DOMDocument* aDocument, const std::vector <osg::ref_ptr<const amire::component::ComposedComponent> > somelocalComposedComponents );
00060         virtual ~XMLComposedComponentPrototypeDOMCreator();              
00061         DOMNode* createComposedComponentPrototypeNode (const amire::component::ComposedComponent * component);                                
00062         DOMNode* createComponentPrototypeReferenceNode (const amire::component::Component * component);                                
00063         DOMNode* createPrototypeConnectionNode (const amire::component::Connection * connection);        
00064         DOMNode* createInSlotExportNode (const amire::component::SlotExport * inSlotExport);
00065         DOMNode* createOutSlotExportNode (const amire::component::SlotExport * outSlotExport);                                     
00066         DOMNode* createConfigurationPropertyExporterNode (const std::string exporterName);                                             
00067         bool isHandled(const amire::component::ComposedComponent * component);
00068         bool isLocal(const amire::component::ComposedComponent * component);
00069     };
00070   }
00071 }
00072 #endif

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