46 #ifndef OME_XML_MODEL_PLATEACQUISITION_H 47 #define OME_XML_MODEL_PLATEACQUISITION_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/primitives/Quantity.h> 64 #include <ome/xml/model/Plate.h> 65 #include <ome/xml/model/detail/OMEModelObject.h> 66 #include <ome/xml/model/primitives/PositiveInteger.h> 67 #include <ome/xml/model/primitives/Timestamp.h> 89 ome::compat::shared_ptr<Impl>
impl;
120 static ome::compat::shared_ptr< PlateAcquisition>
150 link (ome::compat::shared_ptr<Reference>& reference,
151 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
158 ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>
166 const ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>
175 setMaximumFieldCount (ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>& maximumFieldCount);
182 ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>
190 const ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>
199 setEndTime (ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>& endTime);
215 setID (
const std::string&
id);
222 ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>
230 const ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>
239 setStartTime (ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>& startTime);
246 ome::compat::shared_ptr<std::string>
254 const ome::compat::shared_ptr<std::string>
263 setName (ome::compat::shared_ptr<std::string>& name);
270 ome::compat::shared_ptr<std::string>
278 const ome::compat::shared_ptr<std::string>
287 setDescription (ome::compat::shared_ptr<std::string>& description);
312 const ome::compat::weak_ptr<ome::xml::model::WellSample>&
325 const ome::compat::weak_ptr<ome::xml::model::WellSample>&
327 const ome::compat::shared_ptr<ome::xml::model::WellSample>& wellSample);
340 linkWellSample (
const ome::compat::shared_ptr<ome::xml::model::WellSample>& wellSample);
358 unlinkWellSample (
const ome::compat::shared_ptr<ome::xml::model::WellSample>& wellSample);
383 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
396 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
398 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
411 linkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
429 unlinkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
436 ome::compat::weak_ptr<ome::xml::model::Plate>
444 const ome::compat::weak_ptr<ome::xml::model::Plate>
453 setPlate (ome::compat::weak_ptr<ome::xml::model::Plate>& plate_BackReference);
476 #endif // OME_XML_MODEL_PLATEACQUISITION_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
void setDescription(ome::compat::shared_ptr< std::string > &description)
Set the Description property.
Definition: PlateAcquisition.cpp:476
ome::compat::shared_ptr< std::string > getName()
Get the Name property.
Definition: PlateAcquisition.cpp:441
void setName(ome::compat::shared_ptr< std::string > &name)
Set the Name property.
Definition: PlateAcquisition.cpp:455
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: PlateAcquisition.cpp:543
static ome::compat::shared_ptr< PlateAcquisition > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a PlateAcquisition model object from DOM element.
Definition: PlateAcquisition.cpp:190
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: PlateAcquisition.cpp:317
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: PlateAcquisition.cpp:571
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: PlateAcquisition.cpp:549
ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > getMaximumFieldCount()
Get the MaximumFieldCount property.
Definition: PlateAcquisition.cpp:364
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
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: PlateAcquisition.cpp:561
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: PlateAcquisition.cpp:555
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: PlateAcquisition.h:87
Private implementation details of PlateAcquisition model object.
Definition: PlateAcquisition.cpp:75
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: PlateAcquisition.cpp:206
PlateAcquisition model object.
Definition: PlateAcquisition.h:84
const ome::compat::weak_ptr< ome::xml::model::WellSample > & getLinkedWellSample(OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index) const
Get linked WellSample.
Definition: PlateAcquisition.cpp:495
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type sizeOfLinkedWellSampleList() const
Get size of linked WellSample list.
Definition: PlateAcquisition.cpp:483
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
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: PlateAcquisition.cpp:214
void setStartTime(ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > &startTime)
Set the StartTime property.
Definition: PlateAcquisition.cpp:434
Open Microscopy Environment C++ implementation.
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: PlateAcquisition.cpp:623
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: PlateAcquisition.cpp:763
bool linkWellSample(const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample)
Link WellSample.
Definition: PlateAcquisition.cpp:511
ome::compat::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: PlateAcquisition.cpp:462
void setID(const std::string &id)
Set the ID property.
Definition: PlateAcquisition.cpp:413
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: PlateAcquisition.cpp:585
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: PlateAcquisition.cpp:630
ome::compat::weak_ptr< ome::xml::model::Plate > getPlate()
Get the Plate property.
Definition: PlateAcquisition.cpp:603
const std::string & getID() const
Get the ID property.
Definition: PlateAcquisition.cpp:406
const std::string & elementName() const
Get the element name of this model object.
Definition: PlateAcquisition.cpp:199
void setMaximumFieldCount(ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > &maximumFieldCount)
Set the MaximumFieldCount property.
Definition: PlateAcquisition.cpp:378
bool unlinkWellSample(const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample)
Unlink WellSample.
Definition: PlateAcquisition.cpp:525
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type getLinkedWellSampleList() const
Get the linked WellSample list.
Definition: PlateAcquisition.cpp:489
PlateAcquisition & operator=(const PlateAcquisition &)
Assignment operator (deleted).
void setPlate(ome::compat::weak_ptr< ome::xml::model::Plate > &plate_BackReference)
Set the Plate property.
Definition: PlateAcquisition.cpp:617
const ome::compat::weak_ptr< ome::xml::model::WellSample > & setLinkedWellSample(OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample)
Set linked WellSample.
Definition: PlateAcquisition.cpp:501
void setEndTime(ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > &endTime)
Set the EndTime property.
Definition: PlateAcquisition.cpp:399
ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > getStartTime()
Get the StartTime property.
Definition: PlateAcquisition.cpp:420
ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > getEndTime()
Get the EndTime property.
Definition: PlateAcquisition.cpp:385
virtual ~PlateAcquisition()
Destructor.
Definition: PlateAcquisition.cpp:185
PlateAcquisition()
Default constructor.
Definition: PlateAcquisition.cpp:170