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> 61 #include <ome/xml/model/primitives/Quantity.h> 63 #include <ome/xml/model/Plate.h> 64 #include <ome/xml/model/detail/OMEModelObject.h> 65 #include <ome/xml/model/primitives/PositiveInteger.h> 66 #include <ome/xml/model/primitives/Timestamp.h> 88 std::shared_ptr<Impl>
impl;
119 static std::shared_ptr<PlateAcquisition>
148 link (std::shared_ptr<Reference>& reference,
149 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
156 std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
164 const std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
173 setMaximumFieldCount (std::shared_ptr<ome::xml::model::primitives::PositiveInteger>& maximumFieldCount);
180 std::shared_ptr<ome::xml::model::primitives::Timestamp>
188 const std::shared_ptr<ome::xml::model::primitives::Timestamp>
197 setEndTime (std::shared_ptr<ome::xml::model::primitives::Timestamp>& endTime);
213 setID (
const std::string&
id);
220 std::shared_ptr<ome::xml::model::primitives::Timestamp>
228 const std::shared_ptr<ome::xml::model::primitives::Timestamp>
237 setStartTime (std::shared_ptr<ome::xml::model::primitives::Timestamp>& startTime);
244 std::shared_ptr<std::string>
252 const std::shared_ptr<std::string>
261 setName (std::shared_ptr<std::string>& name);
268 std::shared_ptr<std::string>
276 const std::shared_ptr<std::string>
310 const std::weak_ptr<ome::xml::model::WellSample>&
323 const std::weak_ptr<ome::xml::model::WellSample>&
325 const std::shared_ptr<ome::xml::model::WellSample>& wellSample);
338 linkWellSample (
const std::shared_ptr<ome::xml::model::WellSample>& wellSample);
356 unlinkWellSample (
const std::shared_ptr<ome::xml::model::WellSample>& wellSample);
381 const std::weak_ptr<ome::xml::model::Annotation>&
394 const std::weak_ptr<ome::xml::model::Annotation>&
396 const std::shared_ptr<ome::xml::model::Annotation>& annotation);
409 linkAnnotation (
const std::shared_ptr<ome::xml::model::Annotation>& annotation);
427 unlinkAnnotation (
const std::shared_ptr<ome::xml::model::Annotation>& annotation);
434 std::weak_ptr<ome::xml::model::Plate>
442 const std::weak_ptr<ome::xml::model::Plate>
451 setPlate (std::weak_ptr<ome::xml::model::Plate>& plate_BackReference);
469 #endif // OME_XML_MODEL_PLATEACQUISITION_H bool linkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: PlateAcquisition.cpp:573
OME model interface (abstract top-level container)
Definition: OMEModel.h:61
std::weak_ptr< ome::xml::model::Plate > getPlate()
Get the Plate property.
Definition: PlateAcquisition.cpp:605
const std::weak_ptr< ome::xml::model::WellSample > & setLinkedWellSample(OMEModelObject::indexed_container< ome::xml::model::WellSample, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::WellSample > &wellSample)
Set linked WellSample.
Definition: PlateAcquisition.cpp:503
std::shared_ptr< ome::xml::model::primitives::Timestamp > getEndTime()
Get the EndTime property.
Definition: PlateAcquisition.cpp:387
void setPlate(std::weak_ptr< ome::xml::model::Plate > &plate_BackReference)
Set the Plate property.
Definition: PlateAcquisition.cpp:619
void setMaximumFieldCount(std::shared_ptr< ome::xml::model::primitives::PositiveInteger > &maximumFieldCount)
Set the MaximumFieldCount property.
Definition: PlateAcquisition.cpp:380
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
const std::weak_ptr< ome::xml::model::WellSample > & getLinkedWellSample(OMEModelObject::indexed_container< ome::xml::model::WellSample, std::weak_ptr >::type::size_type index) const
Get linked WellSample.
Definition: PlateAcquisition.cpp:497
void setDescription(std::shared_ptr< std::string > &description)
Set the Description property.
Definition: PlateAcquisition.cpp:478
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
OMEModelObject::indexed_container< ome::xml::model::WellSample, std::weak_ptr >::type::size_type sizeOfLinkedWellSampleList() const
Get size of linked WellSample list.
Definition: PlateAcquisition.cpp:485
std::shared_ptr< ome::xml::model::primitives::Timestamp > getStartTime()
Get the StartTime property.
Definition: PlateAcquisition.cpp:422
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: PlateAcquisition.cpp:545
std::shared_ptr< ome::xml::model::primitives::PositiveInteger > getMaximumFieldCount()
Get the MaximumFieldCount property.
Definition: PlateAcquisition.cpp:366
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: PlateAcquisition.cpp:319
void setName(std::shared_ptr< std::string > &name)
Set the Name property.
Definition: PlateAcquisition.cpp:457
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:214
PlateAcquisition model object.
Definition: PlateAcquisition.h:83
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:84
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: PlateAcquisition.cpp:220
Open Microscopy Environment C++ implementation.
std::shared_ptr< Impl > impl
Private implementation details.
Definition: PlateAcquisition.h:86
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: PlateAcquisition.cpp:740
bool unlinkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: PlateAcquisition.cpp:587
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: PlateAcquisition.cpp:557
std::shared_ptr< std::string > getName()
Get the Name property.
Definition: PlateAcquisition.cpp:443
void setID(const std::string &id)
Set the ID property.
Definition: PlateAcquisition.cpp:415
static std::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:198
const std::string & getID() const
Get the ID property.
Definition: PlateAcquisition.cpp:408
const std::string & elementName() const
Get the element name of this model object.
Definition: PlateAcquisition.cpp:207
std::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: PlateAcquisition.cpp:464
bool unlinkWellSample(const std::shared_ptr< ome::xml::model::WellSample > &wellSample)
Unlink WellSample.
Definition: PlateAcquisition.cpp:527
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: PlateAcquisition.cpp:625
bool linkWellSample(const std::shared_ptr< ome::xml::model::WellSample > &wellSample)
Link WellSample.
Definition: PlateAcquisition.cpp:513
void setStartTime(std::shared_ptr< ome::xml::model::primitives::Timestamp > &startTime)
Set the StartTime property.
Definition: PlateAcquisition.cpp:436
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: PlateAcquisition.cpp:551
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: PlateAcquisition.cpp:563
OMEModelObject::indexed_container< ome::xml::model::WellSample, std::weak_ptr >::type getLinkedWellSampleList() const
Get the linked WellSample list.
Definition: PlateAcquisition.cpp:491
virtual ~PlateAcquisition()
Destructor.
Definition: PlateAcquisition.cpp:193
PlateAcquisition()
Default constructor.
Definition: PlateAcquisition.cpp:174
void setEndTime(std::shared_ptr< ome::xml::model::primitives::Timestamp > &endTime)
Set the EndTime property.
Definition: PlateAcquisition.cpp:401