46 #ifndef OME_XML_MODEL_POLYLINE_H
47 #define OME_XML_MODEL_POLYLINE_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/Shape.h>
63 #include <ome/xml/model/enums/Marker.h>
84 ome::compat::shared_ptr<ome::xml::model::enums::Marker>
markerEnd;
86 ome::compat::shared_ptr<ome::xml::model::enums::Marker>
markerStart;
119 static ome::compat::shared_ptr< Polyline>
144 link (ome::compat::shared_ptr<Reference>& reference,
145 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
168 ome::compat::shared_ptr<ome::xml::model::enums::Marker>
176 const ome::compat::shared_ptr<ome::xml::model::enums::Marker>
185 setMarkerEnd (ome::compat::shared_ptr<ome::xml::model::enums::Marker>& markerEnd);
192 ome::compat::shared_ptr<ome::xml::model::enums::Marker>
200 const ome::compat::shared_ptr<ome::xml::model::enums::Marker>
209 setMarkerStart (ome::compat::shared_ptr<ome::xml::model::enums::Marker>& markerStart);
235 #endif // OME_XML_MODEL_POLYLINE_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
const std::string & getShapeType() const
Get the Shape type.
Definition: Polyline.cpp:259
Polyline model object.
Definition: Polyline.h:78
ome::compat::shared_ptr< ome::xml::model::enums::Marker > markerStart
MarkerStart property.
Definition: Polyline.h:86
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Polyline.cpp:321
void setMarkerEnd(ome::compat::shared_ptr< ome::xml::model::enums::Marker > &markerEnd)
Set the MarkerEnd property.
Definition: Polyline.cpp:232
std::string points
Points property.
Definition: Polyline.h:82
void setPoints(const std::string &points)
Set the Points property.
Definition: Polyline.cpp:211
DOM Document wrapper.
Definition: Document.h:82
DOM Element wrapper.
Definition: Element.h:66
const std::string & elementName() const
Get the element name of this model object.
Definition: Polyline.cpp:139
ome::compat::shared_ptr< ome::xml::model::enums::Marker > getMarkerEnd()
Get the MarkerEnd property.
Definition: Polyline.cpp:218
ome::compat::shared_ptr< ome::xml::model::enums::Marker > getMarkerStart()
Get the MarkerStart property.
Definition: Polyline.cpp:239
const std::string & getPoints() const
Get the Points property.
Definition: Polyline.cpp:204
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Polyline.cpp:266
static ome::compat::shared_ptr< Polyline > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Polyline model object from DOM element.
Definition: Polyline.cpp:130
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
Polyline()
Default constructor.
Definition: Polyline.cpp:102
Shape model object.
Definition: Shape.h:85
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: Polyline.cpp:155
ome::compat::shared_ptr< ome::xml::model::enums::Marker > markerEnd
MarkerEnd property.
Definition: Polyline.h:84
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: Polyline.cpp:273
void setMarkerStart(ome::compat::shared_ptr< ome::xml::model::enums::Marker > &markerStart)
Set the MarkerStart property.
Definition: Polyline.cpp:253
virtual ~Polyline()
Destructor.
Definition: Polyline.cpp:125
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: Polyline.cpp:189
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Polyline.cpp:146
Xerces-C modern C++ wrapper.
Definition: Base.h:53