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>
145 link (std::shared_ptr<Reference>& reference,
146 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
169 std::shared_ptr<ome::xml::model::enums::Marker>
177 const std::shared_ptr<ome::xml::model::enums::Marker>
186 setMarkerEnd (std::shared_ptr<ome::xml::model::enums::Marker>& markerEnd);
193 std::shared_ptr<ome::xml::model::enums::Marker>
201 const std::shared_ptr<ome::xml::model::enums::Marker>
210 setMarkerStart (std::shared_ptr<ome::xml::model::enums::Marker>& markerStart);
231 #endif // OME_XML_MODEL_POLYLINE_H OME model interface (abstract top-level container)
Definition: OMEModel.h:61
void setMarkerStart(std::shared_ptr< ome::xml::model::enums::Marker > &markerStart)
Set the MarkerStart property.
Definition: Polyline.cpp:265
Polyline model object.
Definition: Polyline.h:79
std::shared_ptr< ome::xml::model::enums::Marker > getMarkerEnd()
Get the MarkerEnd property.
Definition: Polyline.cpp:230
Polyline & operator=(const Polyline &)
Assignment operator (deleted).
Private implementation details of Polyline model object.
Definition: Polyline.cpp:71
void setPoints(const std::string &points)
Set the Points property.
Definition: Polyline.cpp:223
std::shared_ptr< ome::xml::model::enums::Marker > getMarkerStart()
Get the MarkerStart property.
Definition: Polyline.cpp:251
std::shared_ptr< Impl > impl
Private implementation details.
Definition: Polyline.h:82
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:278
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Polyline.cpp:160
Open Microscopy Environment C++ implementation.
Polyline()
Default constructor.
Definition: Polyline.cpp:124
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:144
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:201
Shape model object.
Definition: Shape.h:87
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Polyline.cpp:322
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:166
const std::string & getShapeType() const
Get the Shape type.
Definition: Polyline.cpp:271
const std::string & elementName() const
Get the element name of this model object.
Definition: Polyline.cpp:153
void setMarkerEnd(std::shared_ptr< ome::xml::model::enums::Marker > &markerEnd)
Set the MarkerEnd property.
Definition: Polyline.cpp:244
virtual ~Polyline()
Destructor.
Definition: Polyline.cpp:139
const std::string & getPoints() const
Get the Points property.
Definition: Polyline.cpp:216