46 #ifndef OME_XML_MODEL_PLANE_H 47 #define OME_XML_MODEL_PLANE_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/Pixels.h> 64 #include <ome/xml/model/detail/OMEModelObject.h> 65 #include <ome/xml/model/enums/UnitsLength.h> 66 #include <ome/xml/model/enums/UnitsTime.h> 67 #include <ome/xml/model/primitives/NonNegativeInteger.h> 88 std::shared_ptr<Impl>
impl;
119 static std::shared_ptr<Plane>
133 operator= (
const Plane&) =
delete;
148 link (std::shared_ptr<Reference>& reference,
149 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
156 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsTime > >&
164 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsTime > >&
180 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength > >&
188 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength > >&
204 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength > >&
212 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength > >&
228 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength > >&
236 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength > >&
252 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsTime > >&
260 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsTime > >&
324 std::shared_ptr<std::string>
332 const std::shared_ptr<std::string>
341 setHashSHA1 (std::shared_ptr<std::string>& hashSHA1);
366 const std::weak_ptr<ome::xml::model::Annotation>&
379 const std::weak_ptr<ome::xml::model::Annotation>&
381 const std::shared_ptr<ome::xml::model::Annotation>& annotation);
394 linkAnnotation (
const std::shared_ptr<ome::xml::model::Annotation>& annotation);
412 unlinkAnnotation (
const std::shared_ptr<ome::xml::model::Annotation>& annotation);
419 std::weak_ptr<ome::xml::model::Pixels>
427 const std::weak_ptr<ome::xml::model::Pixels>
436 setPixels (std::weak_ptr<ome::xml::model::Pixels>& pixels_BackReference);
454 #endif // OME_XML_MODEL_PLANE_H OME model interface (abstract top-level container)
Definition: OMEModel.h:61
static std::shared_ptr< Plane > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Plane model object from DOM element.
Definition: Plane.cpp:212
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & getDeltaT()
Get the DeltaT property.
Definition: Plane.cpp:490
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: Plane.cpp:654
void setExposureTime(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > &exposureTime)
Set the ExposureTime property.
Definition: Plane.cpp:420
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Plane.cpp:580
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength > > & getPositionX()
Get the PositionX property.
Definition: Plane.cpp:448
const std::weak_ptr< ome::xml::model::Annotation > & getLinkedAnnotation(OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type::size_type index) const
Get linked Annotation.
Definition: Plane.cpp:586
boost::multi_index_container< Ptr< T >, boost::multi_index::indexed_by< boost::multi_index::random_access<>, boost::multi_index::ordered_unique< boost::multi_index::identity< Ptr< T > >, std::owner_less< Ptr< T > > > > > type
Multi-index container type.
Definition: OMEModelObject.h:93
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
const ome::xml::model::primitives::NonNegativeInteger & getTheC() const
Get the TheC property.
Definition: Plane.cpp:511
virtual ~Plane()
Destructor.
Definition: Plane.cpp:207
Plane()
Default constructor.
Definition: Plane.cpp:188
const std::weak_ptr< ome::xml::model::Annotation > & setLinkedAnnotation(OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Set linked Annotation.
Definition: Plane.cpp:592
const ome::xml::model::primitives::NonNegativeInteger & getTheT() const
Get the TheT property.
Definition: Plane.cpp:539
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: Plane.cpp:234
void setTheT(const ome::xml::model::primitives::NonNegativeInteger &theT)
Set the TheT property.
Definition: Plane.cpp:546
void setDeltaT(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > &deltaT)
Set the DeltaT property.
Definition: Plane.cpp:504
void setPositionX(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength > > &positionX)
Set the PositionX property.
Definition: Plane.cpp:462
void setTheZ(const ome::xml::model::primitives::NonNegativeInteger &theZ)
Set the TheZ property.
Definition: Plane.cpp:532
const ome::xml::model::primitives::NonNegativeInteger & getTheZ() const
Get the TheZ property.
Definition: Plane.cpp:525
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: Plane.cpp:574
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:84
const std::string & elementName() const
Get the element name of this model object.
Definition: Plane.cpp:221
Open Microscopy Environment C++ implementation.
void setPositionZ(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength > > &positionZ)
Set the PositionZ property.
Definition: Plane.cpp:441
void setPositionY(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength > > &positionY)
Set the PositionY property.
Definition: Plane.cpp:483
Private implementation details of Plane model object.
Definition: Plane.cpp:75
bool linkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Plane.cpp:602
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Plane.cpp:228
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength > > & getPositionY()
Get the PositionY property.
Definition: Plane.cpp:469
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: Plane.cpp:375
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & getExposureTime()
Get the ExposureTime property.
Definition: Plane.cpp:406
A quantity of a defined unit.
Definition: Quantity.h:57
Plane model object.
Definition: Plane.h:83
void setPixels(std::weak_ptr< ome::xml::model::Pixels > &pixels_BackReference)
Set the Pixels property.
Definition: Plane.cpp:648
void setHashSHA1(std::shared_ptr< std::string > &hashSHA1)
Set the HashSHA1 property.
Definition: Plane.cpp:567
std::shared_ptr< Impl > impl
Private implementation details.
Definition: Plane.h:86
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength > > & getPositionZ()
Get the PositionZ property.
Definition: Plane.cpp:427
std::weak_ptr< ome::xml::model::Pixels > getPixels()
Get the Pixels property.
Definition: Plane.cpp:634
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Plane.cpp:774
bool unlinkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Plane.cpp:616
std::shared_ptr< std::string > getHashSHA1()
Get the HashSHA1 property.
Definition: Plane.cpp:553
void setTheC(const ome::xml::model::primitives::NonNegativeInteger &theC)
Set the TheC property.
Definition: Plane.cpp:518
A numeric type constrained to a subrange (or subranges) of its range limits.
Definition: ConstrainedNumeric.h:118