46 #ifndef OME_XML_MODEL_STAGELABEL_H
47 #define OME_XML_MODEL_STAGELABEL_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/detail/OMEModelObject.h>
81 ome::compat::shared_ptr<double>
y;
83 ome::compat::shared_ptr<double>
x;
85 ome::compat::shared_ptr<double>
z;
120 static ome::compat::shared_ptr< StageLabel>
145 link (ome::compat::shared_ptr<Reference>& reference,
146 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
153 ome::compat::shared_ptr<double>
161 const ome::compat::shared_ptr<double>
170 setY (ome::compat::shared_ptr<double>& y);
177 ome::compat::shared_ptr<double>
185 const ome::compat::shared_ptr<double>
194 setX (ome::compat::shared_ptr<double>& x);
201 ome::compat::shared_ptr<double>
209 const ome::compat::shared_ptr<double>
218 setZ (ome::compat::shared_ptr<double>& z);
234 setName (
const std::string& name);
258 #endif // OME_XML_MODEL_STAGELABEL_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
const std::string & getName() const
Get the Name property.
Definition: StageLabel.cpp:284
ome::compat::shared_ptr< double > getZ()
Get the Z property.
Definition: StageLabel.cpp:263
void setName(const std::string &name)
Set the Name property.
Definition: StageLabel.cpp:291
DOM Document wrapper.
Definition: Document.h:82
DOM Element wrapper.
Definition: Element.h:66
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
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: StageLabel.cpp:159
StageLabel model object.
Definition: StageLabel.h:77
StageLabel()
Default constructor.
Definition: StageLabel.cpp:104
ome::compat::shared_ptr< double > x
X property.
Definition: StageLabel.h:83
void setX(ome::compat::shared_ptr< double > &x)
Set the X property.
Definition: StageLabel.cpp:256
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: StageLabel.cpp:206
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: StageLabel.cpp:150
virtual ~StageLabel()
Destructor.
Definition: StageLabel.cpp:129
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: StageLabel.cpp:305
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: StageLabel.cpp:365
ome::compat::shared_ptr< double > y
Y property.
Definition: StageLabel.h:81
static ome::compat::shared_ptr< StageLabel > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a StageLabel model object from DOM element.
Definition: StageLabel.cpp:134
ome::compat::shared_ptr< double > getY()
Get the Y property.
Definition: StageLabel.cpp:221
void setY(ome::compat::shared_ptr< double > &y)
Set the Y property.
Definition: StageLabel.cpp:235
const std::string & elementName() const
Get the element name of this model object.
Definition: StageLabel.cpp:143
ome::compat::shared_ptr< double > getX()
Get the X property.
Definition: StageLabel.cpp:242
void setZ(ome::compat::shared_ptr< double > &z)
Set the Z property.
Definition: StageLabel.cpp:277
ome::compat::shared_ptr< double > z
Z property.
Definition: StageLabel.h:85
std::string name
Name property.
Definition: StageLabel.h:87
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: StageLabel.cpp:298
Xerces-C modern C++ wrapper.
Definition: Base.h:53