46 #ifndef OME_XML_MODEL_ANNOTATION_H 47 #define OME_XML_MODEL_ANNOTATION_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/detail/OMEModelObject.h> 79 class ExperimenterGroup;
90 class PlateAcquisition;
106 ome::compat::shared_ptr<Impl>
impl;
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 setNamespace (ome::compat::shared_ptr<std::string>& namespace_);
186 setID (
const std::string&
id);
193 ome::compat::shared_ptr<std::string>
201 const ome::compat::shared_ptr<std::string>
210 setAnnotator (ome::compat::shared_ptr<std::string>& annotator);
217 ome::compat::shared_ptr<std::string>
225 const ome::compat::shared_ptr<std::string>
234 setDescription (ome::compat::shared_ptr<std::string>& description);
259 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
272 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
274 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
287 linkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
305 unlinkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
330 const ome::compat::weak_ptr<ome::xml::model::Image>&
343 const ome::compat::weak_ptr<ome::xml::model::Image>&
345 const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
358 linkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
376 unlinkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
401 const ome::compat::weak_ptr<ome::xml::model::Plane>&
414 const ome::compat::weak_ptr<ome::xml::model::Plane>&
416 const ome::compat::shared_ptr<ome::xml::model::Plane>& plane_BackReference);
429 linkPlane (
const ome::compat::shared_ptr<ome::xml::model::Plane>& plane_BackReference);
447 unlinkPlane (
const ome::compat::shared_ptr<ome::xml::model::Plane>& plane_BackReference);
472 const ome::compat::weak_ptr<ome::xml::model::Channel>&
485 const ome::compat::weak_ptr<ome::xml::model::Channel>&
487 const ome::compat::shared_ptr<ome::xml::model::Channel>& channel_BackReference);
500 linkChannel (
const ome::compat::shared_ptr<ome::xml::model::Channel>& channel_BackReference);
518 unlinkChannel (
const ome::compat::shared_ptr<ome::xml::model::Channel>& channel_BackReference);
543 const ome::compat::weak_ptr<ome::xml::model::Instrument>&
556 const ome::compat::weak_ptr<ome::xml::model::Instrument>&
558 const ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument_BackReference);
571 linkInstrument (
const ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument_BackReference);
589 unlinkInstrument (
const ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument_BackReference);
614 const ome::compat::weak_ptr<ome::xml::model::LightSource>&
627 const ome::compat::weak_ptr<ome::xml::model::LightSource>&
629 const ome::compat::shared_ptr<ome::xml::model::LightSource>& lightSource_BackReference);
642 linkLightSource (
const ome::compat::shared_ptr<ome::xml::model::LightSource>& lightSource_BackReference);
660 unlinkLightSource (
const ome::compat::shared_ptr<ome::xml::model::LightSource>& lightSource_BackReference);
685 const ome::compat::weak_ptr<ome::xml::model::Project>&
698 const ome::compat::weak_ptr<ome::xml::model::Project>&
700 const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
713 linkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
731 unlinkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
756 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
769 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
771 const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
784 linkExperimenterGroup (
const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
802 unlinkExperimenterGroup (
const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
827 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
840 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
842 const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
855 linkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
873 unlinkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
898 const ome::compat::weak_ptr<ome::xml::model::Experimenter>&
911 const ome::compat::weak_ptr<ome::xml::model::Experimenter>&
913 const ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter_BackReference);
926 linkExperimenter (
const ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter_BackReference);
944 unlinkExperimenter (
const ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter_BackReference);
969 const ome::compat::weak_ptr<ome::xml::model::Folder>&
982 const ome::compat::weak_ptr<ome::xml::model::Folder>&
984 const ome::compat::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
997 linkFolder (
const ome::compat::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
1015 unlinkFolder (
const ome::compat::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
1040 const ome::compat::weak_ptr<ome::xml::model::Objective>&
1053 const ome::compat::weak_ptr<ome::xml::model::Objective>&
1055 const ome::compat::shared_ptr<ome::xml::model::Objective>& objective_BackReference);
1068 linkObjective (
const ome::compat::shared_ptr<ome::xml::model::Objective>& objective_BackReference);
1086 unlinkObjective (
const ome::compat::shared_ptr<ome::xml::model::Objective>& objective_BackReference);
1111 const ome::compat::weak_ptr<ome::xml::model::Detector>&
1124 const ome::compat::weak_ptr<ome::xml::model::Detector>&
1126 const ome::compat::shared_ptr<ome::xml::model::Detector>& detector_BackReference);
1139 linkDetector (
const ome::compat::shared_ptr<ome::xml::model::Detector>& detector_BackReference);
1157 unlinkDetector (
const ome::compat::shared_ptr<ome::xml::model::Detector>& detector_BackReference);
1182 const ome::compat::weak_ptr<ome::xml::model::Filter>&
1195 const ome::compat::weak_ptr<ome::xml::model::Filter>&
1197 const ome::compat::shared_ptr<ome::xml::model::Filter>& filter_BackReference);
1210 linkFilter (
const ome::compat::shared_ptr<ome::xml::model::Filter>& filter_BackReference);
1228 unlinkFilter (
const ome::compat::shared_ptr<ome::xml::model::Filter>& filter_BackReference);
1253 const ome::compat::weak_ptr<ome::xml::model::Dichroic>&
1266 const ome::compat::weak_ptr<ome::xml::model::Dichroic>&
1268 const ome::compat::shared_ptr<ome::xml::model::Dichroic>& dichroic_BackReference);
1281 linkDichroic (
const ome::compat::shared_ptr<ome::xml::model::Dichroic>& dichroic_BackReference);
1299 unlinkDichroic (
const ome::compat::shared_ptr<ome::xml::model::Dichroic>& dichroic_BackReference);
1324 const ome::compat::weak_ptr<ome::xml::model::LightPath>&
1337 const ome::compat::weak_ptr<ome::xml::model::LightPath>&
1339 const ome::compat::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
1352 linkLightPath (
const ome::compat::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
1370 unlinkLightPath (
const ome::compat::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
1395 const ome::compat::weak_ptr<ome::xml::model::ROI>&
1408 const ome::compat::weak_ptr<ome::xml::model::ROI>&
1410 const ome::compat::shared_ptr<ome::xml::model::ROI>& roi_BackReference);
1423 linkROI (
const ome::compat::shared_ptr<ome::xml::model::ROI>& roi_BackReference);
1441 unlinkROI (
const ome::compat::shared_ptr<ome::xml::model::ROI>& roi_BackReference);
1466 const ome::compat::weak_ptr<ome::xml::model::Shape>&
1479 const ome::compat::weak_ptr<ome::xml::model::Shape>&
1481 const ome::compat::shared_ptr<ome::xml::model::Shape>& shape_BackReference);
1494 linkShape (
const ome::compat::shared_ptr<ome::xml::model::Shape>& shape_BackReference);
1512 unlinkShape (
const ome::compat::shared_ptr<ome::xml::model::Shape>& shape_BackReference);
1537 const ome::compat::weak_ptr<ome::xml::model::Plate>&
1550 const ome::compat::weak_ptr<ome::xml::model::Plate>&
1552 const ome::compat::shared_ptr<ome::xml::model::Plate>& plate_BackReference);
1565 linkPlate (
const ome::compat::shared_ptr<ome::xml::model::Plate>& plate_BackReference);
1583 unlinkPlate (
const ome::compat::shared_ptr<ome::xml::model::Plate>& plate_BackReference);
1608 const ome::compat::weak_ptr<ome::xml::model::Reagent>&
1621 const ome::compat::weak_ptr<ome::xml::model::Reagent>&
1623 const ome::compat::shared_ptr<ome::xml::model::Reagent>& reagent_BackReference);
1636 linkReagent (
const ome::compat::shared_ptr<ome::xml::model::Reagent>& reagent_BackReference);
1654 unlinkReagent (
const ome::compat::shared_ptr<ome::xml::model::Reagent>& reagent_BackReference);
1679 const ome::compat::weak_ptr<ome::xml::model::Screen>&
1692 const ome::compat::weak_ptr<ome::xml::model::Screen>&
1694 const ome::compat::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
1707 linkScreen (
const ome::compat::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
1725 unlinkScreen (
const ome::compat::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
1750 const ome::compat::weak_ptr<ome::xml::model::PlateAcquisition>&
1763 const ome::compat::weak_ptr<ome::xml::model::PlateAcquisition>&
1765 const ome::compat::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition_BackReference);
1778 linkPlateAcquisition (
const ome::compat::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition_BackReference);
1796 unlinkPlateAcquisition (
const ome::compat::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition_BackReference);
1821 const ome::compat::weak_ptr<ome::xml::model::Well>&
1834 const ome::compat::weak_ptr<ome::xml::model::Well>&
1836 const ome::compat::shared_ptr<ome::xml::model::Well>& well_BackReference);
1849 linkWell (
const ome::compat::shared_ptr<ome::xml::model::Well>& well_BackReference);
1867 unlinkWell (
const ome::compat::shared_ptr<ome::xml::model::Well>& well_BackReference);
1890 #endif // OME_XML_MODEL_ANNOTATION_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
bool linkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Annotation.cpp:1014
bool linkPlateAcquisition(const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
Link PlateAcquisition.
Definition: Annotation.cpp:1768
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type getLinkedPlateList() const
Get the linked Plate list.
Definition: Annotation.cpp:1572
bool unlinkROI(const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
Unlink ROI.
Definition: Annotation.cpp:1491
OMEModelObject::indexed_container< ome::xml::model::Filter, ome::compat::weak_ptr >::type::size_type sizeOfLinkedFilterList() const
Get size of linked Filter list.
Definition: Annotation.cpp:1276
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type sizeOfLinkedProjectList() const
Get size of linked Project list.
Definition: Annotation.cpp:870
OMEModelObject::indexed_container< ome::xml::model::Folder, ome::compat::weak_ptr >::type getLinkedFolderList() const
Get the linked Folder list.
Definition: Annotation.cpp:1108
const ome::compat::weak_ptr< ome::xml::model::Instrument > & getLinkedInstrument(OMEModelObject::indexed_container< ome::xml::model::Instrument, ome::compat::weak_ptr >::type::size_type index) const
Get linked Instrument.
Definition: Annotation.cpp:766
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Annotation.cpp:1855
bool linkWell(const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference)
Link Well.
Definition: Annotation.cpp:1826
ome::compat::shared_ptr< std::string > getNamespace()
Get the Namespace property.
Definition: Annotation.cpp:445
bool unlinkFilter(const ome::compat::shared_ptr< ome::xml::model::Filter > &filter_BackReference)
Unlink Filter.
Definition: Annotation.cpp:1317
bool linkFolder(const ome::compat::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Link Folder.
Definition: Annotation.cpp:1130
OMEModelObject::indexed_container< ome::xml::model::Detector, ome::compat::weak_ptr >::type::size_type sizeOfLinkedDetectorList() const
Get size of linked Detector list.
Definition: Annotation.cpp:1218
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type sizeOfLinkedScreenList() const
Get size of linked Screen list.
Definition: Annotation.cpp:1682
Annotation & operator=(const Annotation &)
Assignment operator (deleted).
const ome::compat::weak_ptr< ome::xml::model::Channel > & setLinkedChannel(OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
Set linked Channel.
Definition: Annotation.cpp:714
OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type::size_type sizeOfLinkedLightPathList() const
Get size of linked LightPath list.
Definition: Annotation.cpp:1392
const ome::compat::weak_ptr< ome::xml::model::Filter > & setLinkedFilter(OMEModelObject::indexed_container< ome::xml::model::Filter, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Filter > &filter_BackReference)
Set linked Filter.
Definition: Annotation.cpp:1294
const ome::compat::weak_ptr< ome::xml::model::ROI > & getLinkedROI(OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index) const
Get linked ROI.
Definition: Annotation.cpp:1462
bool unlinkPlane(const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
Unlink Plane.
Definition: Annotation.cpp:679
bool unlinkScreen(const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
Unlink Screen.
Definition: Annotation.cpp:1723
bool unlinkPlate(const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
Unlink Plate.
Definition: Annotation.cpp:1607
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type getLinkedPlaneList() const
Get the linked Plane list.
Definition: Annotation.cpp:644
const ome::compat::weak_ptr< ome::xml::model::Folder > & setLinkedFolder(OMEModelObject::indexed_container< ome::xml::model::Folder, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Set linked Folder.
Definition: Annotation.cpp:1120
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & setLinkedExperimenter(OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
Set linked Experimenter.
Definition: Annotation.cpp:1062
OMEModelObject::indexed_container< ome::xml::model::Objective, ome::compat::weak_ptr >::type::size_type sizeOfLinkedObjectiveList() const
Get size of linked Objective list.
Definition: Annotation.cpp:1160
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type sizeOfLinkedReagentList() const
Get size of linked Reagent list.
Definition: Annotation.cpp:1624
const ome::compat::weak_ptr< ome::xml::model::LightSource > & setLinkedLightSource(OMEModelObject::indexed_container< ome::xml::model::LightSource, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::LightSource > &lightSource_BackReference)
Set linked LightSource.
Definition: Annotation.cpp:830
bool unlinkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Annotation.cpp:1027
OMEModelObject::indexed_container< ome::xml::model::Shape, ome::compat::weak_ptr >::type::size_type sizeOfLinkedShapeList() const
Get size of linked Shape list.
Definition: Annotation.cpp:1508
bool unlinkFolder(const ome::compat::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Unlink Folder.
Definition: Annotation.cpp:1143
bool unlinkInstrument(const ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Unlink Instrument.
Definition: Annotation.cpp:795
virtual ~Annotation()
Destructor.
Definition: Annotation.cpp:329
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & getLinkedExperimenterGroup(OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type index) const
Get linked ExperimenterGroup.
Definition: Annotation.cpp:940
bool unlinkLightPath(const ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Unlink LightPath.
Definition: Annotation.cpp:1433
bool linkInstrument(const ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Link Instrument.
Definition: Annotation.cpp:782
const ome::compat::weak_ptr< ome::xml::model::Project > & setLinkedProject(OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Set linked Project.
Definition: Annotation.cpp:888
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type sizeOfLinkedExperimenterGroupList() const
Get size of linked ExperimenterGroup list.
Definition: Annotation.cpp:928
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
bool linkReagent(const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
Link Reagent.
Definition: Annotation.cpp:1652
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: Annotation.cpp:1694
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: Annotation.cpp:1862
const ome::compat::weak_ptr< ome::xml::model::Objective > & setLinkedObjective(OMEModelObject::indexed_container< ome::xml::model::Objective, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Objective > &objective_BackReference)
Set linked Objective.
Definition: Annotation.cpp:1178
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & setLinkedExperimenterGroup(OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Set linked ExperimenterGroup.
Definition: Annotation.cpp:946
OMEModelObject::indexed_container< ome::xml::model::LightSource, ome::compat::weak_ptr >::type getLinkedLightSourceList() const
Get the linked LightSource list.
Definition: Annotation.cpp:818
bool linkDichroic(const ome::compat::shared_ptr< ome::xml::model::Dichroic > &dichroic_BackReference)
Link Dichroic.
Definition: Annotation.cpp:1362
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type sizeOfLinkedImageList() const
Get size of linked Image list.
Definition: Annotation.cpp:580
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type getLinkedImageList() const
Get the linked Image list.
Definition: Annotation.cpp:586
bool unlinkDichroic(const ome::compat::shared_ptr< ome::xml::model::Dichroic > &dichroic_BackReference)
Unlink Dichroic.
Definition: Annotation.cpp:1375
OMEModelObject::indexed_container< ome::xml::model::Filter, ome::compat::weak_ptr >::type getLinkedFilterList() const
Get the linked Filter list.
Definition: Annotation.cpp:1282
bool unlinkChannel(const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
Unlink Channel.
Definition: Annotation.cpp:737
bool linkExperimenter(const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
Link Experimenter.
Definition: Annotation.cpp:1072
const ome::compat::weak_ptr< ome::xml::model::Project > & getLinkedProject(OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type index) const
Get linked Project.
Definition: Annotation.cpp:882
bool unlinkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Unlink Image.
Definition: Annotation.cpp:621
const ome::compat::weak_ptr< ome::xml::model::Well > & getLinkedWell(OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type index) const
Get linked Well.
Definition: Annotation.cpp:1810
const ome::compat::weak_ptr< ome::xml::model::LightPath > & setLinkedLightPath(OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Set linked LightPath.
Definition: Annotation.cpp:1410
const ome::compat::weak_ptr< ome::xml::model::Plane > & getLinkedPlane(OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type index) const
Get linked Plane.
Definition: Annotation.cpp:650
const ome::compat::weak_ptr< ome::xml::model::Plane > & setLinkedPlane(OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
Set linked Plane.
Definition: Annotation.cpp:656
const ome::compat::weak_ptr< ome::xml::model::Plate > & getLinkedPlate(OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type index) const
Get linked Plate.
Definition: Annotation.cpp:1578
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type sizeOfLinkedPlateList() const
Get size of linked Plate list.
Definition: Annotation.cpp:1566
OMEModelObject::indexed_container< ome::xml::model::Dichroic, ome::compat::weak_ptr >::type::size_type sizeOfLinkedDichroicList() const
Get size of linked Dichroic list.
Definition: Annotation.cpp:1334
OMEModelObject::indexed_container< ome::xml::model::Dichroic, ome::compat::weak_ptr >::type getLinkedDichroicList() const
Get the linked Dichroic list.
Definition: Annotation.cpp:1340
bool linkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Link ExperimenterGroup.
Definition: Annotation.cpp:956
bool unlinkWell(const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference)
Unlink Well.
Definition: Annotation.cpp:1839
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type sizeOfLinkedChannelList() const
Get size of linked Channel list.
Definition: Annotation.cpp:696
const ome::compat::weak_ptr< ome::xml::model::Image > & getLinkedImage(OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type index) const
Get linked Image.
Definition: Annotation.cpp:592
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Annotation.cpp:550
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type getLinkedPlateAcquisitionList() const
Get the linked PlateAcquisition list.
Definition: Annotation.cpp:1746
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type getLinkedROIList() const
Get the linked ROI list.
Definition: Annotation.cpp:1456
bool linkScreen(const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
Link Screen.
Definition: Annotation.cpp:1710
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type sizeOfLinkedROIList() const
Get size of linked ROI list.
Definition: Annotation.cpp:1450
bool unlinkLightSource(const ome::compat::shared_ptr< ome::xml::model::LightSource > &lightSource_BackReference)
Unlink LightSource.
Definition: Annotation.cpp:853
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type getLinkedExperimenterList() const
Get the linked Experimenter list.
Definition: Annotation.cpp:1050
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type sizeOfLinkedWellList() const
Get size of linked Well list.
Definition: Annotation.cpp:1798
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: Annotation.cpp:522
const ome::compat::weak_ptr< ome::xml::model::Shape > & getLinkedShape(OMEModelObject::indexed_container< ome::xml::model::Shape, ome::compat::weak_ptr >::type::size_type index) const
Get linked Shape.
Definition: Annotation.cpp:1520
bool unlinkExperimenter(const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
Unlink Experimenter.
Definition: Annotation.cpp:1085
const ome::compat::weak_ptr< ome::xml::model::Instrument > & setLinkedInstrument(OMEModelObject::indexed_container< ome::xml::model::Instrument, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Set linked Instrument.
Definition: Annotation.cpp:772
Open Microscopy Environment C++ implementation.
bool unlinkReagent(const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
Unlink Reagent.
Definition: Annotation.cpp:1665
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type sizeOfLinkedPlateAcquisitionList() const
Get size of linked PlateAcquisition list.
Definition: Annotation.cpp:1740
const ome::compat::weak_ptr< ome::xml::model::Objective > & getLinkedObjective(OMEModelObject::indexed_container< ome::xml::model::Objective, ome::compat::weak_ptr >::type::size_type index) const
Get linked Objective.
Definition: Annotation.cpp:1172
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Annotation.cpp:563
bool linkChannel(const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
Link Channel.
Definition: Annotation.cpp:724
bool linkLightPath(const ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Link LightPath.
Definition: Annotation.cpp:1420
bool linkShape(const ome::compat::shared_ptr< ome::xml::model::Shape > &shape_BackReference)
Link Shape.
Definition: Annotation.cpp:1536
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Annotation.cpp:334
OMEModelObject::indexed_container< ome::xml::model::Folder, ome::compat::weak_ptr >::type::size_type sizeOfLinkedFolderList() const
Get size of linked Folder list.
Definition: Annotation.cpp:1102
const ome::compat::weak_ptr< ome::xml::model::Folder > & getLinkedFolder(OMEModelObject::indexed_container< ome::xml::model::Folder, ome::compat::weak_ptr >::type::size_type index) const
Get linked Folder.
Definition: Annotation.cpp:1114
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type getLinkedWellList() const
Get the linked Well list.
Definition: Annotation.cpp:1804
const ome::compat::weak_ptr< ome::xml::model::Filter > & getLinkedFilter(OMEModelObject::indexed_container< ome::xml::model::Filter, ome::compat::weak_ptr >::type::size_type index) const
Get linked Filter.
Definition: Annotation.cpp:1288
Annotation model object.
Definition: Annotation.h:101
const std::string & getID() const
Get the ID property.
Definition: Annotation.cpp:466
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & getLinkedExperimenter(OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index) const
Get linked Experimenter.
Definition: Annotation.cpp:1056
bool linkPlane(const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
Link Plane.
Definition: Annotation.cpp:666
OMEModelObject::indexed_container< ome::xml::model::Objective, ome::compat::weak_ptr >::type getLinkedObjectiveList() const
Get the linked Objective list.
Definition: Annotation.cpp:1166
const ome::compat::weak_ptr< ome::xml::model::Dataset > & getLinkedDataset(OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type index) const
Get linked Dataset.
Definition: Annotation.cpp:998
bool linkPlate(const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
Link Plate.
Definition: Annotation.cpp:1594
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type sizeOfLinkedPlaneList() const
Get size of linked Plane list.
Definition: Annotation.cpp:638
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type getLinkedReagentList() const
Get the linked Reagent list.
Definition: Annotation.cpp:1630
void setNamespace(ome::compat::shared_ptr< std::string > &namespace_)
Set the Namespace property.
Definition: Annotation.cpp:459
const ome::compat::weak_ptr< ome::xml::model::Dataset > & setLinkedDataset(OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Set linked Dataset.
Definition: Annotation.cpp:1004
bool unlinkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Unlink Project.
Definition: Annotation.cpp:911
OMEModelObject::indexed_container< ome::xml::model::Instrument, ome::compat::weak_ptr >::type::size_type sizeOfLinkedInstrumentList() const
Get size of linked Instrument list.
Definition: Annotation.cpp:754
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & getLinkedPlateAcquisition(OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type index) const
Get linked PlateAcquisition.
Definition: Annotation.cpp:1752
bool linkLightSource(const ome::compat::shared_ptr< ome::xml::model::LightSource > &lightSource_BackReference)
Link LightSource.
Definition: Annotation.cpp:840
void setID(const std::string &id)
Set the ID property.
Definition: Annotation.cpp:473
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: Annotation.cpp:534
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: Annotation.cpp:342
bool unlinkPlateAcquisition(const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
Unlink PlateAcquisition.
Definition: Annotation.cpp:1781
bool unlinkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Unlink ExperimenterGroup.
Definition: Annotation.cpp:969
const ome::compat::weak_ptr< ome::xml::model::Shape > & setLinkedShape(OMEModelObject::indexed_container< ome::xml::model::Shape, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Shape > &shape_BackReference)
Set linked Shape.
Definition: Annotation.cpp:1526
bool linkDetector(const ome::compat::shared_ptr< ome::xml::model::Detector > &detector_BackReference)
Link Detector.
Definition: Annotation.cpp:1246
OMEModelObject::indexed_container< ome::xml::model::LightSource, ome::compat::weak_ptr >::type::size_type sizeOfLinkedLightSourceList() const
Get size of linked LightSource list.
Definition: Annotation.cpp:812
const ome::compat::weak_ptr< ome::xml::model::Image > & setLinkedImage(OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Set linked Image.
Definition: Annotation.cpp:598
Private implementation details of Annotation model object.
Definition: Annotation.cpp:93
OMEModelObject::indexed_container< ome::xml::model::Shape, ome::compat::weak_ptr >::type getLinkedShapeList() const
Get the linked Shape list.
Definition: Annotation.cpp:1514
bool linkObjective(const ome::compat::shared_ptr< ome::xml::model::Objective > &objective_BackReference)
Link Objective.
Definition: Annotation.cpp:1188
const ome::compat::weak_ptr< ome::xml::model::Dichroic > & setLinkedDichroic(OMEModelObject::indexed_container< ome::xml::model::Dichroic, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Dichroic > &dichroic_BackReference)
Set linked Dichroic.
Definition: Annotation.cpp:1352
ome::compat::shared_ptr< std::string > getAnnotator()
Get the Annotator property.
Definition: Annotation.cpp:480
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type sizeOfLinkedExperimenterList() const
Get size of linked Experimenter list.
Definition: Annotation.cpp:1044
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type getLinkedScreenList() const
Get the linked Screen list.
Definition: Annotation.cpp:1688
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Annotation.cpp:528
const ome::compat::weak_ptr< ome::xml::model::Reagent > & getLinkedReagent(OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type index) const
Get linked Reagent.
Definition: Annotation.cpp:1636
const ome::compat::weak_ptr< ome::xml::model::Channel > & getLinkedChannel(OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type index) const
Get linked Channel.
Definition: Annotation.cpp:708
const ome::compat::weak_ptr< ome::xml::model::Well > & setLinkedWell(OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference)
Set linked Well.
Definition: Annotation.cpp:1816
const ome::compat::weak_ptr< ome::xml::model::Detector > & setLinkedDetector(OMEModelObject::indexed_container< ome::xml::model::Detector, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Detector > &detector_BackReference)
Set linked Detector.
Definition: Annotation.cpp:1236
void setAnnotator(ome::compat::shared_ptr< std::string > &annotator)
Set the Annotator property.
Definition: Annotation.cpp:494
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: Annotation.cpp:1700
bool linkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Link Image.
Definition: Annotation.cpp:608
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Annotation.cpp:1949
bool unlinkShape(const ome::compat::shared_ptr< ome::xml::model::Shape > &shape_BackReference)
Unlink Shape.
Definition: Annotation.cpp:1549
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: Annotation.cpp:540
void setDescription(ome::compat::shared_ptr< std::string > &description)
Set the Description property.
Definition: Annotation.cpp:515
bool unlinkDetector(const ome::compat::shared_ptr< ome::xml::model::Detector > &detector_BackReference)
Unlink Detector.
Definition: Annotation.cpp:1259
const ome::compat::weak_ptr< ome::xml::model::LightPath > & getLinkedLightPath(OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type::size_type index) const
Get linked LightPath.
Definition: Annotation.cpp:1404
const ome::compat::weak_ptr< ome::xml::model::Reagent > & setLinkedReagent(OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
Set linked Reagent.
Definition: Annotation.cpp:1642
const ome::compat::weak_ptr< ome::xml::model::Dichroic > & getLinkedDichroic(OMEModelObject::indexed_container< ome::xml::model::Dichroic, ome::compat::weak_ptr >::type::size_type index) const
Get linked Dichroic.
Definition: Annotation.cpp:1346
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & setLinkedPlateAcquisition(OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
Set linked PlateAcquisition.
Definition: Annotation.cpp:1758
ome::compat::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: Annotation.cpp:501
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type sizeOfLinkedDatasetList() const
Get size of linked Dataset list.
Definition: Annotation.cpp:986
Annotation()
Default constructor.
Definition: Annotation.cpp:314
OMEModelObject::indexed_container< ome::xml::model::Instrument, ome::compat::weak_ptr >::type getLinkedInstrumentList() const
Get the linked Instrument list.
Definition: Annotation.cpp:760
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type getLinkedExperimenterGroupList() const
Get the linked ExperimenterGroup list.
Definition: Annotation.cpp:934
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: Annotation.cpp:415
OMEModelObject::indexed_container< ome::xml::model::Detector, ome::compat::weak_ptr >::type getLinkedDetectorList() const
Get the linked Detector list.
Definition: Annotation.cpp:1224
const ome::compat::weak_ptr< ome::xml::model::Plate > & setLinkedPlate(OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
Set linked Plate.
Definition: Annotation.cpp:1584
const ome::compat::weak_ptr< ome::xml::model::Detector > & getLinkedDetector(OMEModelObject::indexed_container< ome::xml::model::Detector, ome::compat::weak_ptr >::type::size_type index) const
Get linked Detector.
Definition: Annotation.cpp:1230
bool linkFilter(const ome::compat::shared_ptr< ome::xml::model::Filter > &filter_BackReference)
Link Filter.
Definition: Annotation.cpp:1304
const ome::compat::weak_ptr< ome::xml::model::LightSource > & getLinkedLightSource(OMEModelObject::indexed_container< ome::xml::model::LightSource, ome::compat::weak_ptr >::type::size_type index) const
Get linked LightSource.
Definition: Annotation.cpp:824
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Annotation.h:104
bool linkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Link Project.
Definition: Annotation.cpp:898
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type getLinkedProjectList() const
Get the linked Project list.
Definition: Annotation.cpp:876
bool unlinkObjective(const ome::compat::shared_ptr< ome::xml::model::Objective > &objective_BackReference)
Unlink Objective.
Definition: Annotation.cpp:1201
bool linkROI(const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
Link ROI.
Definition: Annotation.cpp:1478
OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type getLinkedLightPathList() const
Get the linked LightPath list.
Definition: Annotation.cpp:1398
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type getLinkedChannelList() const
Get the linked Channel list.
Definition: Annotation.cpp:702
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Annotation.cpp:992
const ome::compat::weak_ptr< ome::xml::model::ROI > & setLinkedROI(OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
Set linked ROI.
Definition: Annotation.cpp:1468