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>
61 #include <ome/xml/model/primitives/Quantity.h>
63 #include <ome/xml/model/Shape.h>
64 #include <ome/xml/model/enums/Marker.h>
84 std::shared_ptr<Impl>
impl;
115 static std::shared_ptr<Polyline>
129 operator= (
const Polyline&) =
delete;
144 link (std::shared_ptr<Reference>& reference,
145 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
168 std::shared_ptr<ome::xml::model::enums::Marker>
176 const std::shared_ptr<ome::xml::model::enums::Marker>
185 setMarkerEnd (std::shared_ptr<ome::xml::model::enums::Marker>& markerEnd);
192 std::shared_ptr<ome::xml::model::enums::Marker>
200 const std::shared_ptr<ome::xml::model::enums::Marker>
209 setMarkerStart (std::shared_ptr<ome::xml::model::enums::Marker>& markerStart);
230 #endif // OME_XML_MODEL_POLYLINE_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:61
const std::string & getShapeType() const
Get the Shape type.
Definition: Polyline.cpp:279
void setMarkerStart(std::shared_ptr< ome::xml::model::enums::Marker > &markerStart)
Set the MarkerStart property.
Definition: Polyline.cpp:273
Polyline model object.
Definition: Polyline.h:79
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Polyline.cpp:330
std::shared_ptr< ome::xml::model::enums::Marker > getMarkerEnd()
Get the MarkerEnd property.
Definition: Polyline.cpp:238
Private implementation details of Polyline model object.
Definition: Polyline.cpp:71
void setPoints(const std::string &points)
Set the Points property.
Definition: Polyline.cpp:231
const std::string & elementName() const
Get the element name of this model object.
Definition: Polyline.cpp:161
std::shared_ptr< ome::xml::model::enums::Marker > getMarkerStart()
Get the MarkerStart property.
Definition: Polyline.cpp:259
std::shared_ptr< Impl > impl
Private implementation details.
Definition: Polyline.h:82
const std::string & getPoints() const
Get the Points property.
Definition: Polyline.cpp:224
Polyline()
Default constructor.
Definition: Polyline.cpp:128
static std::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:152
bool link(std::shared_ptr< Reference > &reference, std::shared_ptr< ome::xml::model::OMEModelObject > &object)
Link a given OME model object to this model object.
Definition: Polyline.cpp:209
virtual void 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:286
Shape model object.
Definition: Shape.h:87
virtual SKIP 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:174
void setMarkerEnd(std::shared_ptr< ome::xml::model::enums::Marker > &markerEnd)
Set the MarkerEnd property.
Definition: Polyline.cpp:252
virtual ~Polyline()
Destructor.
Definition: Polyline.cpp:147
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Polyline.cpp:168