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> 85 ome::compat::shared_ptr<Impl>
impl;
116 static ome::compat::shared_ptr< Objective>
141 link (ome::compat::shared_ptr<Reference>& reference,
142 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
149 ome::compat::shared_ptr<bool>
157 const ome::compat::shared_ptr<bool>
166 setIris (ome::compat::shared_ptr<bool>& iris);
173 ome::compat::shared_ptr<double>
181 const ome::compat::shared_ptr<double>
197 ome::compat::shared_ptr<ome::xml::model::enums::Immersion>
205 const ome::compat::shared_ptr<ome::xml::model::enums::Immersion>
214 setImmersion (ome::compat::shared_ptr<ome::xml::model::enums::Immersion>& immersion);
221 ome::compat::shared_ptr<ome::xml::model::enums::Correction>
229 const ome::compat::shared_ptr<ome::xml::model::enums::Correction>
238 setCorrection (ome::compat::shared_ptr<ome::xml::model::enums::Correction>& correction);
245 ome::compat::shared_ptr<double>
253 const ome::compat::shared_ptr<double>
262 setLensNA (ome::compat::shared_ptr<double>& lensNA);
269 ome::compat::shared_ptr<double>
277 const ome::compat::shared_ptr<double>
293 ome::compat::shared_ptr<double>
301 const ome::compat::shared_ptr<double>
326 setID (
const std::string&
id);
333 ome::compat::weak_ptr<ome::xml::model::Instrument>
341 const ome::compat::weak_ptr<ome::xml::model::Instrument>
350 setInstrument (ome::compat::weak_ptr<ome::xml::model::Instrument>& instrument_BackReference);
374 #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:375
ome::compat::shared_ptr< double > getWorkingDistance()
Get the WorkingDistance property.
Definition: Objective.cpp:340
void setWorkingDistance(ome::compat::shared_ptr< double > &workingDistance)
Set the WorkingDistance property.
Definition: Objective.cpp:354
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Objective.cpp:618
Private implementation details of Objective model object.
Definition: Objective.cpp:73
void setNominalMagnification(ome::compat::shared_ptr< double > &nominalMagnification)
Set the NominalMagnification property.
Definition: Objective.cpp:438
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Objective.cpp:209
ome::compat::weak_ptr< ome::xml::model::Instrument > getInstrument()
Get the Instrument property.
Definition: Objective.cpp:480
void setLensNA(ome::compat::shared_ptr< double > &lensNA)
Set the LensNA property.
Definition: Objective.cpp:417
ome::compat::shared_ptr< double > getNominalMagnification()
Get the NominalMagnification property.
Definition: Objective.cpp:424
ome::compat::shared_ptr< double > getLensNA()
Get the LensNA property.
Definition: Objective.cpp:403
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:193
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:304
Open Microscopy Environment C++ implementation.
ome::compat::shared_ptr< ome::xml::model::enums::Correction > getCorrection()
Get the Correction property.
Definition: Objective.cpp:382
void setCalibratedMagnification(ome::compat::shared_ptr< double > &calibratedMagnification)
Set the CalibratedMagnification property.
Definition: Objective.cpp:459
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:218
void setCorrection(ome::compat::shared_ptr< ome::xml::model::enums::Correction > &correction)
Set the Correction property.
Definition: Objective.cpp:396
const std::string & getID() const
Get the ID property.
Definition: Objective.cpp:466
virtual ~Objective()
Destructor.
Definition: Objective.cpp:188
ManufacturerSpec model object.
Definition: ManufacturerSpec.h:77
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Objective.h:83
ome::compat::shared_ptr< ome::xml::model::enums::Immersion > getImmersion()
Get the Immersion property.
Definition: Objective.cpp:361
void setIris(ome::compat::shared_ptr< bool > &iris)
Set the Iris property.
Definition: Objective.cpp:333
Objective()
Default constructor.
Definition: Objective.cpp:169
void setInstrument(ome::compat::weak_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Set the Instrument property.
Definition: Objective.cpp:494
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:508
ome::compat::shared_ptr< double > getCalibratedMagnification()
Get the CalibratedMagnification property.
Definition: Objective.cpp:445
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:501
ome::compat::shared_ptr< bool > getIris()
Get the Iris property.
Definition: Objective.cpp:319
void setID(const std::string &id)
Set the ID property.
Definition: Objective.cpp:473
const std::string & elementName() const
Get the element name of this model object.
Definition: Objective.cpp:202