46 #ifndef OME_XML_MODEL_OBJECTIVE_H
47 #define OME_XML_MODEL_OBJECTIVE_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/Instrument.h>
63 #include <ome/xml/model/ManufacturerSpec.h>
64 #include <ome/xml/model/enums/Correction.h>
65 #include <ome/xml/model/enums/Immersion.h>
84 ome::compat::shared_ptr<bool>
iris;
88 ome::compat::shared_ptr<ome::xml::model::enums::Immersion>
immersion;
90 ome::compat::shared_ptr<ome::xml::model::enums::Correction>
correction;
92 ome::compat::shared_ptr<double>
lensNA;
100 ome::compat::weak_ptr<ome::xml::model::Instrument>
instrument;
133 static ome::compat::shared_ptr< Objective>
158 link (ome::compat::shared_ptr<Reference>& reference,
159 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
166 ome::compat::shared_ptr<bool>
174 const ome::compat::shared_ptr<bool>
183 setIris (ome::compat::shared_ptr<bool>& iris);
190 ome::compat::shared_ptr<double>
198 const ome::compat::shared_ptr<double>
214 ome::compat::shared_ptr<ome::xml::model::enums::Immersion>
222 const ome::compat::shared_ptr<ome::xml::model::enums::Immersion>
231 setImmersion (ome::compat::shared_ptr<ome::xml::model::enums::Immersion>& immersion);
238 ome::compat::shared_ptr<ome::xml::model::enums::Correction>
246 const ome::compat::shared_ptr<ome::xml::model::enums::Correction>
255 setCorrection (ome::compat::shared_ptr<ome::xml::model::enums::Correction>& correction);
262 ome::compat::shared_ptr<double>
270 const ome::compat::shared_ptr<double>
279 setLensNA (ome::compat::shared_ptr<double>& lensNA);
286 ome::compat::shared_ptr<double>
294 const ome::compat::shared_ptr<double>
310 ome::compat::shared_ptr<double>
318 const ome::compat::shared_ptr<double>
343 setID (
const std::string&
id);
350 ome::compat::weak_ptr<ome::xml::model::Instrument>
358 const ome::compat::weak_ptr<ome::xml::model::Instrument>
367 setInstrument (ome::compat::weak_ptr<ome::xml::model::Instrument>& instrument_BackReference);
391 #endif // OME_XML_MODEL_OBJECTIVE_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
void setImmersion(ome::compat::shared_ptr< ome::xml::model::enums::Immersion > &immersion)
Set the Immersion property.
Definition: Objective.cpp:344
ome::compat::shared_ptr< double > getWorkingDistance()
Get the WorkingDistance property.
Definition: Objective.cpp:309
ome::compat::shared_ptr< ome::xml::model::enums::Correction > correction
Correction property.
Definition: Objective.h:90
void setWorkingDistance(ome::compat::shared_ptr< double > &workingDistance)
Set the WorkingDistance property.
Definition: Objective.cpp:323
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Objective.cpp:587
ome::compat::shared_ptr< std::string > model
Model property.
Definition: ManufacturerSpec.h:83
void setNominalMagnification(ome::compat::shared_ptr< double > &nominalMagnification)
Set the NominalMagnification property.
Definition: Objective.cpp:407
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Objective.cpp:178
DOM Document wrapper.
Definition: Document.h:82
DOM Element wrapper.
Definition: Element.h:66
ome::compat::weak_ptr< ome::xml::model::Instrument > getInstrument()
Get the Instrument property.
Definition: Objective.cpp:449
void setLensNA(ome::compat::shared_ptr< double > &lensNA)
Set the LensNA property.
Definition: Objective.cpp:386
ome::compat::shared_ptr< double > getNominalMagnification()
Get the NominalMagnification property.
Definition: Objective.cpp:393
ome::compat::shared_ptr< double > getLensNA()
Get the LensNA property.
Definition: Objective.cpp:372
static ome::compat::shared_ptr< Objective > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Objective model object from DOM element.
Definition: Objective.cpp:162
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: Objective.cpp:273
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
ome::compat::shared_ptr< double > calibratedMagnification
CalibratedMagnification property.
Definition: Objective.h:96
ome::compat::shared_ptr< ome::xml::model::enums::Correction > getCorrection()
Get the Correction property.
Definition: Objective.cpp:351
std::string id
ID property.
Definition: Objective.h:98
void setCalibratedMagnification(ome::compat::shared_ptr< double > &calibratedMagnification)
Set the CalibratedMagnification property.
Definition: Objective.cpp:428
Objective model object.
Definition: Objective.h:80
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: Objective.cpp:187
void setCorrection(ome::compat::shared_ptr< ome::xml::model::enums::Correction > &correction)
Set the Correction property.
Definition: Objective.cpp:365
const std::string & getID() const
Get the ID property.
Definition: Objective.cpp:435
ome::compat::shared_ptr< double > lensNA
LensNA property.
Definition: Objective.h:92
ome::compat::shared_ptr< double > workingDistance
WorkingDistance property.
Definition: Objective.h:86
ome::compat::weak_ptr< ome::xml::model::Instrument > instrument
Instrument_BackReference back reference.
Definition: Objective.h:100
virtual ~Objective()
Destructor.
Definition: Objective.cpp:157
ManufacturerSpec model object.
Definition: ManufacturerSpec.h:77
ome::compat::shared_ptr< ome::xml::model::enums::Immersion > getImmersion()
Get the Immersion property.
Definition: Objective.cpp:330
void setIris(ome::compat::shared_ptr< bool > &iris)
Set the Iris property.
Definition: Objective.cpp:302
ome::compat::shared_ptr< double > nominalMagnification
NominalMagnification property.
Definition: Objective.h:94
Objective()
Default constructor.
Definition: Objective.cpp:122
ome::compat::shared_ptr< ome::xml::model::enums::Immersion > immersion
Immersion property.
Definition: Objective.h:88
void setInstrument(ome::compat::weak_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Set the Instrument property.
Definition: Objective.cpp:463
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: Objective.cpp:477
ome::compat::shared_ptr< double > getCalibratedMagnification()
Get the CalibratedMagnification property.
Definition: Objective.cpp:414
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Objective.cpp:470
ome::compat::shared_ptr< bool > getIris()
Get the Iris property.
Definition: Objective.cpp:288
void setID(const std::string &id)
Set the ID property.
Definition: Objective.cpp:442
ome::compat::shared_ptr< bool > iris
Iris property.
Definition: Objective.h:84
Xerces-C modern C++ wrapper.
Definition: Base.h:53
const std::string & elementName() const
Get the element name of this model object.
Definition: Objective.cpp:171