46 #ifndef OME_XML_MODEL_PLATE_H 47 #define OME_XML_MODEL_PLATE_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/detail/OMEModelObject.h> 63 #include <ome/xml/model/enums/NamingConvention.h> 64 #include <ome/xml/model/primitives/NonNegativeInteger.h> 65 #include <ome/xml/model/primitives/PositiveInteger.h> 77 class PlateAcquisition;
89 ome::compat::shared_ptr<Impl>
impl;
120 static ome::compat::shared_ptr< Plate>
145 link (ome::compat::shared_ptr<Reference>& reference,
146 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
153 ome::compat::shared_ptr<std::string>
161 const ome::compat::shared_ptr<std::string>
170 setStatus (ome::compat::shared_ptr<std::string>& status);
177 ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>
185 const ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>
194 setRows (ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>& rows);
201 ome::compat::shared_ptr<std::string>
209 const ome::compat::shared_ptr<std::string>
225 ome::compat::shared_ptr<ome::xml::model::enums::NamingConvention>
233 const ome::compat::shared_ptr<ome::xml::model::enums::NamingConvention>
242 setRowNamingConvention (ome::compat::shared_ptr<ome::xml::model::enums::NamingConvention>& rowNamingConvention);
249 ome::compat::shared_ptr<ome::xml::model::enums::NamingConvention>
257 const ome::compat::shared_ptr<ome::xml::model::enums::NamingConvention>
273 ome::compat::shared_ptr<ome::xml::model::primitives::NonNegativeInteger>
281 const ome::compat::shared_ptr<ome::xml::model::primitives::NonNegativeInteger>
290 setFieldIndex (ome::compat::shared_ptr<ome::xml::model::primitives::NonNegativeInteger>& fieldIndex);
297 ome::compat::shared_ptr<double>
305 const ome::compat::shared_ptr<double>
321 ome::compat::shared_ptr<double>
329 const ome::compat::shared_ptr<double>
354 setID (
const std::string&
id);
361 ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>
369 const ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>
378 setColumns (ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>& columns);
385 ome::compat::shared_ptr<std::string>
393 const ome::compat::shared_ptr<std::string>
402 setName (ome::compat::shared_ptr<std::string>& name);
409 ome::compat::shared_ptr<std::string>
417 const ome::compat::shared_ptr<std::string>
426 setDescription (ome::compat::shared_ptr<std::string>& description);
433 std::vector<ome::compat::shared_ptr<ome::xml::model::Well> >::size_type
442 std::vector<ome::compat::shared_ptr<ome::xml::model::Well> >&
451 const std::vector<ome::compat::shared_ptr<ome::xml::model::Well> >&
461 ome::compat::shared_ptr<ome::xml::model::Well>&
462 getWell (std::vector<ome::compat::shared_ptr<ome::xml::model::Well> >::size_type index);
471 const ome::compat::shared_ptr<ome::xml::model::Well>&
472 getWell (std::vector<ome::compat::shared_ptr<ome::xml::model::Well> >::size_type index)
const;
482 setWell (std::vector<ome::compat::shared_ptr<ome::xml::model::Well> >::size_type index,
483 ome::compat::shared_ptr<ome::xml::model::Well>& well);
494 addWell (ome::compat::shared_ptr<ome::xml::model::Well>& well);
506 removeWell (ome::compat::shared_ptr<ome::xml::model::Well>& well);
531 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
544 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
546 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
559 linkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
577 unlinkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
584 std::vector<ome::compat::shared_ptr<ome::xml::model::PlateAcquisition> >::size_type
593 std::vector<ome::compat::shared_ptr<ome::xml::model::PlateAcquisition> >&
602 const std::vector<ome::compat::shared_ptr<ome::xml::model::PlateAcquisition> >&
612 ome::compat::shared_ptr<ome::xml::model::PlateAcquisition>&
613 getPlateAcquisition (std::vector<ome::compat::shared_ptr<ome::xml::model::PlateAcquisition> >::size_type index);
622 const ome::compat::shared_ptr<ome::xml::model::PlateAcquisition>&
623 getPlateAcquisition (std::vector<ome::compat::shared_ptr<ome::xml::model::PlateAcquisition> >::size_type index)
const;
633 setPlateAcquisition (std::vector<ome::compat::shared_ptr<ome::xml::model::PlateAcquisition> >::size_type index,
634 ome::compat::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition);
645 addPlateAcquisition (ome::compat::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition);
682 const ome::compat::weak_ptr<ome::xml::model::Screen>&
695 const ome::compat::weak_ptr<ome::xml::model::Screen>&
697 const ome::compat::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
710 linkScreen (
const ome::compat::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
728 unlinkScreen (
const ome::compat::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
752 #endif // OME_XML_MODEL_PLATE_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
void setWell(std::vector< ome::compat::shared_ptr< ome::xml::model::Well > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Well > &well)
Set Well.
Definition: Plate.cpp:746
bool linkScreen(const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
Link Screen.
Definition: Plate.cpp:920
std::vector< ome::compat::shared_ptr< ome::xml::model::Well > >::size_type sizeOfWellList() const
Get size of linked Well list.
Definition: Plate.cpp:716
virtual ~Plate()
Destructor.
Definition: Plate.cpp:246
Plate model object.
Definition: Plate.h:84
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: Plate.cpp:957
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Plate.cpp:816
const std::string & getID() const
Get the ID property.
Definition: Plate.cpp:639
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: Plate.cpp:276
const std::string & elementName() const
Get the element name of this model object.
Definition: Plate.cpp:260
void removeWell(ome::compat::shared_ptr< ome::xml::model::Well > &well)
Remove Well.
Definition: Plate.cpp:763
void setID(const std::string &id)
Set the ID property.
Definition: Plate.cpp:646
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type getLinkedScreenList() const
Get the linked Screen list.
Definition: Plate.cpp:898
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Plate.cpp:950
const ome::compat::weak_ptr< ome::xml::model::Screen > & getLinkedScreen(OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type index) const
Get linked Screen.
Definition: Plate.cpp:904
std::vector< ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > >::size_type sizeOfPlateAcquisitionList() const
Get size of linked PlateAcquisition list.
Definition: Plate.cpp:834
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
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::Screen > & setLinkedScreen(OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
Set linked Screen.
Definition: Plate.cpp:910
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Plate.cpp:780
void addPlateAcquisition(ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition)
Add PlateAcquisition.
Definition: Plate.cpp:873
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Plate.cpp:802
ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > getColumns()
Get the Columns property.
Definition: Plate.cpp:653
void setRowNamingConvention(ome::compat::shared_ptr< ome::xml::model::enums::NamingConvention > &rowNamingConvention)
Set the RowNamingConvention property.
Definition: Plate.cpp:548
void setRows(ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > &rows)
Set the Rows property.
Definition: Plate.cpp:506
ome::compat::shared_ptr< ome::xml::model::enums::NamingConvention > getRowNamingConvention()
Get the RowNamingConvention property.
Definition: Plate.cpp:534
Plate()
Default constructor.
Definition: Plate.cpp:227
void setWellOriginY(ome::compat::shared_ptr< double > &wellOriginY)
Set the WellOriginY property.
Definition: Plate.cpp:611
ome::compat::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: Plate.cpp:695
void setDescription(ome::compat::shared_ptr< std::string > &description)
Set the Description property.
Definition: Plate.cpp:709
void setExternalIdentifier(ome::compat::shared_ptr< std::string > &externalIdentifier)
Set the ExternalIdentifier property.
Definition: Plate.cpp:527
void setStatus(ome::compat::shared_ptr< std::string > &status)
Set the Status property.
Definition: Plate.cpp:485
ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > & getPlateAcquisition(std::vector< ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > >::size_type index)
Get PlateAcquisition.
Definition: Plate.cpp:852
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type sizeOfLinkedScreenList() const
Get size of linked Screen list.
Definition: Plate.cpp:892
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
ome::compat::shared_ptr< double > getWellOriginY()
Get the WellOriginY property.
Definition: Plate.cpp:597
std::vector< ome::compat::shared_ptr< ome::xml::model::Well > > & getWellList()
Get the Well list.
Definition: Plate.cpp:722
Open Microscopy Environment C++ implementation.
ome::compat::shared_ptr< std::string > getName()
Get the Name property.
Definition: Plate.cpp:674
void addWell(ome::compat::shared_ptr< ome::xml::model::Well > &well)
Add Well.
Definition: Plate.cpp:755
ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > getRows()
Get the Rows property.
Definition: Plate.cpp:492
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: Plate.cpp:440
void setColumns(ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > &columns)
Set the Columns property.
Definition: Plate.cpp:667
void setColumnNamingConvention(ome::compat::shared_ptr< ome::xml::model::enums::NamingConvention > &columnNamingConvention)
Set the ColumnNamingConvention property.
Definition: Plate.cpp:569
void setFieldIndex(ome::compat::shared_ptr< ome::xml::model::primitives::NonNegativeInteger > &fieldIndex)
Set the FieldIndex property.
Definition: Plate.cpp:590
ome::compat::shared_ptr< std::string > getStatus()
Get the Status property.
Definition: Plate.cpp:471
ome::compat::shared_ptr< std::string > getExternalIdentifier()
Get the ExternalIdentifier property.
Definition: Plate.cpp:513
void removePlateAcquisition(ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition)
Remove PlateAcquisition.
Definition: Plate.cpp:881
ome::compat::shared_ptr< ome::xml::model::enums::NamingConvention > getColumnNamingConvention()
Get the ColumnNamingConvention property.
Definition: Plate.cpp:555
ome::compat::shared_ptr< ome::xml::model::primitives::NonNegativeInteger > getFieldIndex()
Get the FieldIndex property.
Definition: Plate.cpp:576
ome::compat::shared_ptr< double > getWellOriginX()
Get the WellOriginX property.
Definition: Plate.cpp:618
void setWellOriginX(ome::compat::shared_ptr< double > &wellOriginX)
Set the WellOriginX property.
Definition: Plate.cpp:632
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Plate.cpp:267
void setName(ome::compat::shared_ptr< std::string > &name)
Set the Name property.
Definition: Plate.cpp:688
bool unlinkScreen(const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
Unlink Screen.
Definition: Plate.cpp:933
void setPlateAcquisition(std::vector< ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > >::size_type index, ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition)
Set PlateAcquisition.
Definition: Plate.cpp:864
std::vector< ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > > & getPlateAcquisitionList()
Get the PlateAcquisition list.
Definition: Plate.cpp:840
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: Plate.cpp:792
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Plate.cpp:1172
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: Plate.cpp:786
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Plate.h:87
Private implementation details of Plate model object.
Definition: Plate.cpp:82
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: Plate.cpp:774
ome::compat::shared_ptr< ome::xml::model::Well > & getWell(std::vector< ome::compat::shared_ptr< ome::xml::model::Well > >::size_type index)
Get Well.
Definition: Plate.cpp:734
static ome::compat::shared_ptr< Plate > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Plate model object from DOM element.
Definition: Plate.cpp:251