46 #ifndef OME_XML_MODEL_ARC_H
47 #define OME_XML_MODEL_ARC_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/LightSource.h>
63 #include <ome/xml/model/enums/ArcType.h>
83 ome::compat::shared_ptr<Impl>
impl;
114 static ome::compat::shared_ptr< Arc>
139 link (ome::compat::shared_ptr<Reference>& reference,
140 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
147 ome::compat::shared_ptr<ome::xml::model::enums::ArcType>
155 const ome::compat::shared_ptr<ome::xml::model::enums::ArcType>
164 setType (ome::compat::shared_ptr<ome::xml::model::enums::ArcType>& type);
190 #endif // OME_XML_MODEL_ARC_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
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: Arc.cpp:229
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Arc.cpp:222
Private implementation details of Arc model object.
Definition: Arc.cpp:71
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Arc.h:81
virtual ~Arc()
Destructor.
Definition: Arc.cpp:130
const std::string & elementName() const
Get the element name of this model object.
Definition: Arc.cpp:144
const std::string & getLightSourceType() const
Get the LightSource type.
Definition: Arc.cpp:215
DOM Document wrapper.
Definition: Document.h:83
DOM Element wrapper.
Definition: Element.h:66
ome::compat::shared_ptr< ome::xml::model::enums::ArcType > getType()
Get the Type property.
Definition: Arc.cpp:195
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
void setType(ome::compat::shared_ptr< ome::xml::model::enums::ArcType > &type)
Set the Type property.
Definition: Arc.cpp:209
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: Arc.cpp:160
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Arc.cpp:151
LightSource model object.
Definition: LightSource.h:78
Arc()
Default constructor.
Definition: Arc.cpp:111
Arc model object.
Definition: Arc.h:78
static ome::compat::shared_ptr< Arc > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Arc model object from DOM element.
Definition: Arc.cpp:135
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: Arc.cpp:180
Xerces-C modern C++ wrapper.
Definition: Base.h:53
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Arc.cpp:256