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>
60 #include <ome/common/xml/dom/NodeList.h>
62 #include <ome/xml/model/Pixels.h>
63 #include <ome/xml/model/detail/OMEModelObject.h>
64 #include <ome/xml/model/primitives/NonNegativeInteger.h>
85 ome::compat::shared_ptr<Impl>
impl;
116 static ome::compat::shared_ptr< Plane>
141 link (ome::compat::shared_ptr<Reference>& reference,
142 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
149 ome::compat::shared_ptr<double>
157 const ome::compat::shared_ptr<double>
173 ome::compat::shared_ptr<double>
181 const ome::compat::shared_ptr<double>
190 setPositionZ (ome::compat::shared_ptr<double>& positionZ);
197 ome::compat::shared_ptr<double>
205 const ome::compat::shared_ptr<double>
214 setPositionX (ome::compat::shared_ptr<double>& positionX);
221 ome::compat::shared_ptr<double>
229 const ome::compat::shared_ptr<double>
238 setPositionY (ome::compat::shared_ptr<double>& positionY);
245 ome::compat::shared_ptr<double>
253 const ome::compat::shared_ptr<double>
262 setDeltaT (ome::compat::shared_ptr<double>& deltaT);
317 ome::compat::shared_ptr<std::string>
325 const ome::compat::shared_ptr<std::string>
334 setHashSHA1 (ome::compat::shared_ptr<std::string>& hashSHA1);
359 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
372 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
374 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
387 linkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
405 unlinkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
412 ome::compat::weak_ptr<ome::xml::model::Pixels>
420 const ome::compat::weak_ptr<ome::xml::model::Pixels>
429 setPixels (ome::compat::weak_ptr<ome::xml::model::Pixels>& pixels_BackReference);
453 #endif // OME_XML_MODEL_PLANE_H
void setPixels(ome::compat::weak_ptr< ome::xml::model::Pixels > &pixels_BackReference)
Set the Pixels property.
Definition: Plane.cpp:617
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::compat::shared_ptr< double > getPositionZ()
Get the PositionZ property.
Definition: Plane.cpp:396
const ome::compat::weak_ptr< ome::xml::model::Annotation > & getLinkedAnnotation(OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index) const
Get linked Annotation.
Definition: Plane.cpp:555
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Plane.h:83
ome::compat::shared_ptr< double > getPositionY()
Get the PositionY property.
Definition: Plane.cpp:438
ome::compat::shared_ptr< double > getDeltaT()
Get the DeltaT property.
Definition: Plane.cpp:459
void setDeltaT(ome::compat::shared_ptr< double > &deltaT)
Set the DeltaT property.
Definition: Plane.cpp:473
ome::compat::shared_ptr< double > getExposureTime()
Get the ExposureTime property.
Definition: Plane.cpp:375
DOM Document wrapper.
Definition: Document.h:83
DOM Element wrapper.
Definition: Element.h:66
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Plane.cpp:549
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: Plane.cpp:344
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 > >, ome::compat::owner_less< Ptr< T > > > > > type
Multi-index container type.
Definition: OMEModelObject.h:94
virtual ~Plane()
Destructor.
Definition: Plane.cpp:202
void setPositionX(ome::compat::shared_ptr< double > &positionX)
Set the PositionX property.
Definition: Plane.cpp:431
Plane()
Default constructor.
Definition: Plane.cpp:183
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: Plane.cpp:232
void setTheT(const ome::xml::model::primitives::NonNegativeInteger &theT)
Set the TheT property.
Definition: Plane.cpp:515
void setTheZ(const ome::xml::model::primitives::NonNegativeInteger &theZ)
Set the TheZ property.
Definition: Plane.cpp:501
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
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: Plane.cpp:631
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Plane.cpp:624
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Plane.cpp:772
void setPositionY(ome::compat::shared_ptr< double > &positionY)
Set the PositionY property.
Definition: Plane.cpp:452
ome::compat::shared_ptr< std::string > getHashSHA1()
Get the HashSHA1 property.
Definition: Plane.cpp:522
const ome::xml::model::primitives::NonNegativeInteger & getTheT() const
Get the TheT property.
Definition: Plane.cpp:508
Private implementation details of Plane model object.
Definition: Plane.cpp:73
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: Plane.cpp:543
const ome::xml::model::primitives::NonNegativeInteger & getTheC() const
Get the TheC property.
Definition: Plane.cpp:480
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Plane.cpp:223
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Plane.cpp:571
const std::string & elementName() const
Get the element name of this model object.
Definition: Plane.cpp:216
ome::compat::shared_ptr< double > getPositionX()
Get the PositionX property.
Definition: Plane.cpp:417
const ome::xml::model::primitives::NonNegativeInteger & getTheZ() const
Get the TheZ property.
Definition: Plane.cpp:494
Plane model object.
Definition: Plane.h:80
ome::compat::weak_ptr< ome::xml::model::Pixels > getPixels()
Get the Pixels property.
Definition: Plane.cpp:603
void setPositionZ(ome::compat::shared_ptr< double > &positionZ)
Set the PositionZ property.
Definition: Plane.cpp:410
const ome::compat::weak_ptr< ome::xml::model::Annotation > & setLinkedAnnotation(OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Set linked Annotation.
Definition: Plane.cpp:561
static ome::compat::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:207
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Plane.cpp:585
void setHashSHA1(ome::compat::shared_ptr< std::string > &hashSHA1)
Set the HashSHA1 property.
Definition: Plane.cpp:536
void setExposureTime(ome::compat::shared_ptr< double > &exposureTime)
Set the ExposureTime property.
Definition: Plane.cpp:389
void setTheC(const ome::xml::model::primitives::NonNegativeInteger &theC)
Set the TheC property.
Definition: Plane.cpp:487
A numeric type constrained to a subrange (or subranges) of its range limits.
Definition: ConstrainedNumeric.h:119
Xerces-C modern C++ wrapper.
Definition: Base.h:53