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>
92 ome::compat::shared_ptr<double>
deltaT;
104 ome::compat::weak_ptr<ome::xml::model::Pixels>
pixels;
137 static ome::compat::shared_ptr< Plane>
162 link (ome::compat::shared_ptr<Reference>& reference,
163 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
170 ome::compat::shared_ptr<double>
178 const ome::compat::shared_ptr<double>
194 ome::compat::shared_ptr<double>
202 const ome::compat::shared_ptr<double>
211 setPositionZ (ome::compat::shared_ptr<double>& positionZ);
218 ome::compat::shared_ptr<double>
226 const ome::compat::shared_ptr<double>
235 setPositionX (ome::compat::shared_ptr<double>& positionX);
242 ome::compat::shared_ptr<double>
250 const ome::compat::shared_ptr<double>
259 setPositionY (ome::compat::shared_ptr<double>& positionY);
266 ome::compat::shared_ptr<double>
274 const ome::compat::shared_ptr<double>
283 setDeltaT (ome::compat::shared_ptr<double>& deltaT);
338 ome::compat::shared_ptr<std::string>
346 const ome::compat::shared_ptr<std::string>
355 setHashSHA1 (ome::compat::shared_ptr<std::string>& hashSHA1);
380 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
393 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
395 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
408 linkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
426 unlinkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
433 ome::compat::weak_ptr<ome::xml::model::Pixels>
441 const ome::compat::weak_ptr<ome::xml::model::Pixels>
450 setPixels (ome::compat::weak_ptr<ome::xml::model::Pixels>& pixels_BackReference);
474 #endif // OME_XML_MODEL_PLANE_H
ome::compat::shared_ptr< double > positionY
PositionY property.
Definition: Plane.h:90
void setPixels(ome::compat::weak_ptr< ome::xml::model::Pixels > &pixels_BackReference)
Set the Pixels property.
Definition: Plane.cpp:582
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::compat::shared_ptr< double > getPositionZ()
Get the PositionZ property.
Definition: Plane.cpp:361
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:520
ome::compat::shared_ptr< std::string > hashSHA1
HashSHA1 property.
Definition: Plane.h:100
ome::compat::shared_ptr< double > getPositionY()
Get the PositionY property.
Definition: Plane.cpp:403
ome::compat::shared_ptr< double > positionX
PositionX property.
Definition: Plane.h:88
ome::compat::shared_ptr< double > getDeltaT()
Get the DeltaT property.
Definition: Plane.cpp:424
void setDeltaT(ome::compat::shared_ptr< double > &deltaT)
Set the DeltaT property.
Definition: Plane.cpp:438
ome::compat::shared_ptr< double > getExposureTime()
Get the ExposureTime property.
Definition: Plane.cpp:340
ome::compat::shared_ptr< double > exposureTime
ExposureTime property.
Definition: Plane.h:84
DOM Document wrapper.
Definition: Document.h:82
ome::compat::shared_ptr< double > deltaT
DeltaT property.
Definition: Plane.h:92
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:514
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:309
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:167
void setPositionX(ome::compat::shared_ptr< double > &positionX)
Set the PositionX property.
Definition: Plane.cpp:396
Plane()
Default constructor.
Definition: Plane.cpp:128
ome::compat::shared_ptr< double > positionZ
PositionZ property.
Definition: Plane.h:86
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:197
void setTheT(const ome::xml::model::primitives::NonNegativeInteger &theT)
Set the TheT property.
Definition: Plane.cpp:480
void setTheZ(const ome::xml::model::primitives::NonNegativeInteger &theZ)
Set the TheZ property.
Definition: Plane.cpp:466
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:596
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:589
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Plane.cpp:737
void setPositionY(ome::compat::shared_ptr< double > &positionY)
Set the PositionY property.
Definition: Plane.cpp:417
ome::compat::shared_ptr< std::string > getHashSHA1()
Get the HashSHA1 property.
Definition: Plane.cpp:487
const ome::xml::model::primitives::NonNegativeInteger & getTheT() const
Get the TheT property.
Definition: Plane.cpp:473
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:508
const ome::xml::model::primitives::NonNegativeInteger & getTheC() const
Get the TheC property.
Definition: Plane.cpp:445
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Plane.cpp:188
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type annotationLinks
AnnotationRef reference (occurs more than once)
Definition: Plane.h:102
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Plane.cpp:536
const std::string & elementName() const
Get the element name of this model object.
Definition: Plane.cpp:181
ome::compat::shared_ptr< double > getPositionX()
Get the PositionX property.
Definition: Plane.cpp:382
const ome::xml::model::primitives::NonNegativeInteger & getTheZ() const
Get the TheZ property.
Definition: Plane.cpp:459
ome::xml::model::primitives::NonNegativeInteger theC
TheC property.
Definition: Plane.h:94
ome::compat::weak_ptr< ome::xml::model::Pixels > pixels
Pixels_BackReference back reference.
Definition: Plane.h:104
ome::xml::model::primitives::NonNegativeInteger theT
TheT property.
Definition: Plane.h:98
Plane model object.
Definition: Plane.h:80
ome::compat::weak_ptr< ome::xml::model::Pixels > getPixels()
Get the Pixels property.
Definition: Plane.cpp:568
void setPositionZ(ome::compat::shared_ptr< double > &positionZ)
Set the PositionZ property.
Definition: Plane.cpp:375
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:526
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:172
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Plane.cpp:550
void setHashSHA1(ome::compat::shared_ptr< std::string > &hashSHA1)
Set the HashSHA1 property.
Definition: Plane.cpp:501
ome::xml::model::primitives::NonNegativeInteger theZ
TheZ property.
Definition: Plane.h:96
void setExposureTime(ome::compat::shared_ptr< double > &exposureTime)
Set the ExposureTime property.
Definition: Plane.cpp:354
void setTheC(const ome::xml::model::primitives::NonNegativeInteger &theC)
Set the TheC property.
Definition: Plane.cpp:452
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