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>
149 link (std::shared_ptr<Reference>& reference,
150 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
157 std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
165 const std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
174 setMaximumFieldCount (std::shared_ptr<ome::xml::model::primitives::PositiveInteger>& maximumFieldCount);
181 std::shared_ptr<ome::xml::model::primitives::Timestamp>
189 const std::shared_ptr<ome::xml::model::primitives::Timestamp>
198 setEndTime (std::shared_ptr<ome::xml::model::primitives::Timestamp>& endTime);
214 setID (
const std::string&
id);
221 std::shared_ptr<ome::xml::model::primitives::Timestamp>
229 const std::shared_ptr<ome::xml::model::primitives::Timestamp>
238 setStartTime (std::shared_ptr<ome::xml::model::primitives::Timestamp>& startTime);
245 std::shared_ptr<std::string>
253 const std::shared_ptr<std::string>
262 setName (std::shared_ptr<std::string>& name);
269 std::shared_ptr<std::string>
277 const std::shared_ptr<std::string>
311 const std::weak_ptr<ome::xml::model::WellSample>&
324 const std::weak_ptr<ome::xml::model::WellSample>&
326 const std::shared_ptr<ome::xml::model::WellSample>& wellSample);
339 linkWellSample (
const std::shared_ptr<ome::xml::model::WellSample>& wellSample);
357 unlinkWellSample (
const std::shared_ptr<ome::xml::model::WellSample>& wellSample);
382 const std::weak_ptr<ome::xml::model::Annotation>&
395 const std::weak_ptr<ome::xml::model::Annotation>&
397 const std::shared_ptr<ome::xml::model::Annotation>& annotation);
410 linkAnnotation (
const std::shared_ptr<ome::xml::model::Annotation>& annotation);
428 unlinkAnnotation (
const std::shared_ptr<ome::xml::model::Annotation>& annotation);
435 std::weak_ptr<ome::xml::model::Plate>
443 const std::weak_ptr<ome::xml::model::Plate>
452 setPlate (std::weak_ptr<ome::xml::model::Plate>& plate_BackReference);
470 #endif // OME_XML_MODEL_PLATEACQUISITION_H bool linkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: PlateAcquisition.cpp:565
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:597
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:495
std::shared_ptr< ome::xml::model::primitives::Timestamp > getEndTime()
Get the EndTime property.
Definition: PlateAcquisition.cpp:379
void setPlate(std::weak_ptr< ome::xml::model::Plate > &plate_BackReference)
Set the Plate property.
Definition: PlateAcquisition.cpp:611
void setMaximumFieldCount(std::shared_ptr< ome::xml::model::primitives::PositiveInteger > &maximumFieldCount)
Set the MaximumFieldCount property.
Definition: PlateAcquisition.cpp:372
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:489
void setDescription(std::shared_ptr< std::string > &description)
Set the Description property.
Definition: PlateAcquisition.cpp:470
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:477
std::shared_ptr< ome::xml::model::primitives::Timestamp > getStartTime()
Get the StartTime property.
Definition: PlateAcquisition.cpp:414
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: PlateAcquisition.cpp:537
std::shared_ptr< ome::xml::model::primitives::PositiveInteger > getMaximumFieldCount()
Get the MaximumFieldCount property.
Definition: PlateAcquisition.cpp:358
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:311
void setName(std::shared_ptr< std::string > &name)
Set the Name property.
Definition: PlateAcquisition.cpp:449
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:83
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:84
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:212
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:732
bool unlinkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: PlateAcquisition.cpp:579
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:549
std::shared_ptr< std::string > getName()
Get the Name property.
Definition: PlateAcquisition.cpp:435
void setID(const std::string &id)
Set the ID property.
Definition: PlateAcquisition.cpp:407
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:190
const std::string & getID() const
Get the ID property.
Definition: PlateAcquisition.cpp:400
const std::string & elementName() const
Get the element name of this model object.
Definition: PlateAcquisition.cpp:199
std::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: PlateAcquisition.cpp:456
bool unlinkWellSample(const std::shared_ptr< ome::xml::model::WellSample > &wellSample)
Unlink WellSample.
Definition: PlateAcquisition.cpp:519
PlateAcquisition & operator=(const PlateAcquisition &)
Assignment operator (deleted).
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:617
bool linkWellSample(const std::shared_ptr< ome::xml::model::WellSample > &wellSample)
Link WellSample.
Definition: PlateAcquisition.cpp:505
void setStartTime(std::shared_ptr< ome::xml::model::primitives::Timestamp > &startTime)
Set the StartTime property.
Definition: PlateAcquisition.cpp:428
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: PlateAcquisition.cpp:543
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:555
OMEModelObject::indexed_container< ome::xml::model::WellSample, std::weak_ptr >::type getLinkedWellSampleList() const
Get the linked WellSample list.
Definition: PlateAcquisition.cpp:483
virtual ~PlateAcquisition()
Destructor.
Definition: PlateAcquisition.cpp:185
PlateAcquisition()
Default constructor.
Definition: PlateAcquisition.cpp:170
void setEndTime(std::shared_ptr< ome::xml::model::primitives::Timestamp > &endTime)
Set the EndTime property.
Definition: PlateAcquisition.cpp:393