46 #ifndef OME_XML_MODEL_TRANSMITTANCERANGE_H 47 #define OME_XML_MODEL_TRANSMITTANCERANGE_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/detail/OMEModelObject.h> 64 #include <ome/xml/model/enums/UnitsLength.h> 65 #include <ome/xml/model/primitives/NonNegativeFloat.h> 66 #include <ome/xml/model/primitives/PercentFraction.h> 67 #include <ome/xml/model/primitives/PositiveFloat.h> 87 std::shared_ptr<Impl>
impl;
118 static std::shared_ptr<TransmittanceRange>
147 link (std::shared_ptr<Reference>& reference,
148 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
155 std::shared_ptr<ome::xml::model::primitives::PercentFraction>
163 const std::shared_ptr<ome::xml::model::primitives::PercentFraction>
172 setTransmittance (std::shared_ptr<ome::xml::model::primitives::PercentFraction>& transmittance);
179 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::NonNegativeFloat > >&
187 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::NonNegativeFloat > >&
203 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::NonNegativeFloat > >&
211 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::NonNegativeFloat > >&
227 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
235 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
251 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
259 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
286 #endif // OME_XML_MODEL_TRANSMITTANCERANGE_H OME model interface (abstract top-level container)
Definition: OMEModel.h:61
void setCutIn(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &cutIn)
Set the CutIn property.
Definition: TransmittanceRange.cpp:363
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & getCutIn()
Get the CutIn property.
Definition: TransmittanceRange.cpp:349
const std::string & elementName() const
Get the element name of this model object.
Definition: TransmittanceRange.cpp:175
void setTransmittance(std::shared_ptr< ome::xml::model::primitives::PercentFraction > &transmittance)
Set the Transmittance property.
Definition: TransmittanceRange.cpp:300
void setCutOut(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &cutOut)
Set the CutOut property.
Definition: TransmittanceRange.cpp:384
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::NonNegativeFloat > > & getCutOutTolerance()
Get the CutOutTolerance property.
Definition: TransmittanceRange.cpp:328
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: TransmittanceRange.cpp:271
Private implementation details of TransmittanceRange model object.
Definition: TransmittanceRange.cpp:71
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
void setCutInTolerance(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::NonNegativeFloat > > &cutInTolerance)
Set the CutInTolerance property.
Definition: TransmittanceRange.cpp:321
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: TransmittanceRange.cpp:182
static std::shared_ptr< TransmittanceRange > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a TransmittanceRange model object from DOM element.
Definition: TransmittanceRange.cpp:166
Open Microscopy Environment C++ implementation.
TransmittanceRange()
Default constructor.
Definition: TransmittanceRange.cpp:142
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & getCutOut()
Get the CutOut property.
Definition: TransmittanceRange.cpp:370
virtual ~TransmittanceRange()
Destructor.
Definition: TransmittanceRange.cpp:161
std::shared_ptr< Impl > impl
Private implementation details.
Definition: TransmittanceRange.h:85
void setCutOutTolerance(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::NonNegativeFloat > > &cutOutTolerance)
Set the CutOutTolerance property.
Definition: TransmittanceRange.cpp:342
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: TransmittanceRange.cpp:390
A quantity of a defined unit.
Definition: Quantity.h:57
std::shared_ptr< ome::xml::model::primitives::PercentFraction > getTransmittance()
Get the Transmittance property.
Definition: TransmittanceRange.cpp:286
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: TransmittanceRange.cpp:188
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::NonNegativeFloat > > & getCutInTolerance()
Get the CutInTolerance property.
Definition: TransmittanceRange.cpp:307
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: TransmittanceRange.cpp:457
TransmittanceRange model object.
Definition: TransmittanceRange.h:82