46 #ifndef OME_XML_MODEL_MICROSCOPE_H
47 #define OME_XML_MODEL_MICROSCOPE_H
57 #include <ome/common/xml/dom/Document.h>
58 #include <ome/common/xml/dom/Element.h>
59 #include <ome/common/xml/dom/Node.h>
60 #include <ome/common/xml/dom/NodeList.h>
62 #include <ome/xml/model/ManufacturerSpec.h>
63 #include <ome/xml/model/enums/MicroscopeType.h>
82 ome::compat::shared_ptr<ome::xml::model::enums::MicroscopeType>
type;
115 static ome::compat::shared_ptr< Microscope>
140 link (ome::compat::shared_ptr<Reference>& reference,
141 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
148 ome::compat::shared_ptr<ome::xml::model::enums::MicroscopeType>
156 const ome::compat::shared_ptr<ome::xml::model::enums::MicroscopeType>
165 setType (ome::compat::shared_ptr<ome::xml::model::enums::MicroscopeType>& type);
189 #endif // OME_XML_MODEL_MICROSCOPE_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::compat::shared_ptr< ome::xml::model::enums::MicroscopeType > type
Type property.
Definition: Microscope.h:82
Microscope()
Default constructor.
Definition: Microscope.cpp:96
ome::compat::shared_ptr< std::string > model
Model property.
Definition: ManufacturerSpec.h:83
ome::compat::shared_ptr< ome::xml::model::enums::MicroscopeType > getType()
Get the Type property.
Definition: Microscope.cpp:180
DOM Document wrapper.
Definition: Document.h:80
DOM Element wrapper.
Definition: Element.h:66
virtual common::xml::dom::Element asXMLElementInternal(common::xml::dom::Document &document, common::xml::dom::Element &element) const
Transform the object hierarchy rooted at this element to XML.
Definition: Microscope.cpp:208
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Microscope.cpp:235
bool link(ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ome::xml::model::OMEModelObject > &object)
Link a given OME model object to this model object.
Definition: Microscope.cpp:165
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
Microscope model object.
Definition: Microscope.h:78
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Microscope.cpp:201
void setType(ome::compat::shared_ptr< ome::xml::model::enums::MicroscopeType > &type)
Set the Type property.
Definition: Microscope.cpp:194
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Microscope.cpp:136
static ome::compat::shared_ptr< Microscope > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Microscope model object from DOM element.
Definition: Microscope.cpp:120
ManufacturerSpec model object.
Definition: ManufacturerSpec.h:77
virtual void update(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Update the object hierarchy recursively from an XML DOM tree.
Definition: Microscope.cpp:145
virtual ~Microscope()
Destructor.
Definition: Microscope.cpp:115
const std::string & elementName() const
Get the element name of this model object.
Definition: Microscope.cpp:129
Xerces-C modern C++ wrapper.
Definition: Base.h:53