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>
61 #include <ome/xml/model/primitives/Quantity.h>
63 #include <ome/xml/model/detail/OMEModelObject.h>
78 class ExperimenterGroup;
89 class PlateAcquisition;
105 std::shared_ptr<Impl>
impl;
143 link (std::shared_ptr<Reference>& reference,
144 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
151 std::shared_ptr<std::string>
159 const std::shared_ptr<std::string>
168 setNamespace (std::shared_ptr<std::string>& namespace_);
184 setID (
const std::string&
id);
191 std::shared_ptr<std::string>
199 const std::shared_ptr<std::string>
215 std::shared_ptr<std::string>
223 const std::shared_ptr<std::string>
257 const std::weak_ptr<ome::xml::model::Annotation>&
270 const std::weak_ptr<ome::xml::model::Annotation>&
272 const std::shared_ptr<ome::xml::model::Annotation>& annotation);
285 linkAnnotation (
const std::shared_ptr<ome::xml::model::Annotation>& annotation);
303 unlinkAnnotation (
const std::shared_ptr<ome::xml::model::Annotation>& annotation);
328 const std::weak_ptr<ome::xml::model::Image>&
341 const std::weak_ptr<ome::xml::model::Image>&
343 const std::shared_ptr<ome::xml::model::Image>& image_BackReference);
356 linkImage (
const std::shared_ptr<ome::xml::model::Image>& image_BackReference);
374 unlinkImage (
const std::shared_ptr<ome::xml::model::Image>& image_BackReference);
399 const std::weak_ptr<ome::xml::model::Plane>&
412 const std::weak_ptr<ome::xml::model::Plane>&
414 const std::shared_ptr<ome::xml::model::Plane>& plane_BackReference);
427 linkPlane (
const std::shared_ptr<ome::xml::model::Plane>& plane_BackReference);
445 unlinkPlane (
const std::shared_ptr<ome::xml::model::Plane>& plane_BackReference);
470 const std::weak_ptr<ome::xml::model::Channel>&
483 const std::weak_ptr<ome::xml::model::Channel>&
485 const std::shared_ptr<ome::xml::model::Channel>& channel_BackReference);
498 linkChannel (
const std::shared_ptr<ome::xml::model::Channel>& channel_BackReference);
516 unlinkChannel (
const std::shared_ptr<ome::xml::model::Channel>& channel_BackReference);
541 const std::weak_ptr<ome::xml::model::Instrument>&
554 const std::weak_ptr<ome::xml::model::Instrument>&
556 const std::shared_ptr<ome::xml::model::Instrument>& instrument_BackReference);
569 linkInstrument (
const std::shared_ptr<ome::xml::model::Instrument>& instrument_BackReference);
587 unlinkInstrument (
const std::shared_ptr<ome::xml::model::Instrument>& instrument_BackReference);
612 const std::weak_ptr<ome::xml::model::LightSource>&
625 const std::weak_ptr<ome::xml::model::LightSource>&
627 const std::shared_ptr<ome::xml::model::LightSource>& lightSource_BackReference);
640 linkLightSource (
const std::shared_ptr<ome::xml::model::LightSource>& lightSource_BackReference);
658 unlinkLightSource (
const std::shared_ptr<ome::xml::model::LightSource>& lightSource_BackReference);
683 const std::weak_ptr<ome::xml::model::Project>&
696 const std::weak_ptr<ome::xml::model::Project>&
698 const std::shared_ptr<ome::xml::model::Project>& project_BackReference);
711 linkProject (
const std::shared_ptr<ome::xml::model::Project>& project_BackReference);
729 unlinkProject (
const std::shared_ptr<ome::xml::model::Project>& project_BackReference);
754 const std::weak_ptr<ome::xml::model::ExperimenterGroup>&
767 const std::weak_ptr<ome::xml::model::ExperimenterGroup>&
769 const std::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
782 linkExperimenterGroup (
const std::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
800 unlinkExperimenterGroup (
const std::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
825 const std::weak_ptr<ome::xml::model::Dataset>&
838 const std::weak_ptr<ome::xml::model::Dataset>&
840 const std::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
853 linkDataset (
const std::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
871 unlinkDataset (
const std::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
896 const std::weak_ptr<ome::xml::model::Experimenter>&
909 const std::weak_ptr<ome::xml::model::Experimenter>&
911 const std::shared_ptr<ome::xml::model::Experimenter>& experimenter_BackReference);
924 linkExperimenter (
const std::shared_ptr<ome::xml::model::Experimenter>& experimenter_BackReference);
942 unlinkExperimenter (
const std::shared_ptr<ome::xml::model::Experimenter>& experimenter_BackReference);
967 const std::weak_ptr<ome::xml::model::Folder>&
980 const std::weak_ptr<ome::xml::model::Folder>&
982 const std::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
995 linkFolder (
const std::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
1013 unlinkFolder (
const std::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
1038 const std::weak_ptr<ome::xml::model::Objective>&
1051 const std::weak_ptr<ome::xml::model::Objective>&
1053 const std::shared_ptr<ome::xml::model::Objective>& objective_BackReference);
1066 linkObjective (
const std::shared_ptr<ome::xml::model::Objective>& objective_BackReference);
1084 unlinkObjective (
const std::shared_ptr<ome::xml::model::Objective>& objective_BackReference);
1109 const std::weak_ptr<ome::xml::model::Detector>&
1122 const std::weak_ptr<ome::xml::model::Detector>&
1124 const std::shared_ptr<ome::xml::model::Detector>& detector_BackReference);
1137 linkDetector (
const std::shared_ptr<ome::xml::model::Detector>& detector_BackReference);
1155 unlinkDetector (
const std::shared_ptr<ome::xml::model::Detector>& detector_BackReference);
1180 const std::weak_ptr<ome::xml::model::Filter>&
1193 const std::weak_ptr<ome::xml::model::Filter>&
1195 const std::shared_ptr<ome::xml::model::Filter>& filter_BackReference);
1208 linkFilter (
const std::shared_ptr<ome::xml::model::Filter>& filter_BackReference);
1226 unlinkFilter (
const std::shared_ptr<ome::xml::model::Filter>& filter_BackReference);
1251 const std::weak_ptr<ome::xml::model::Dichroic>&
1264 const std::weak_ptr<ome::xml::model::Dichroic>&
1266 const std::shared_ptr<ome::xml::model::Dichroic>& dichroic_BackReference);
1279 linkDichroic (
const std::shared_ptr<ome::xml::model::Dichroic>& dichroic_BackReference);
1297 unlinkDichroic (
const std::shared_ptr<ome::xml::model::Dichroic>& dichroic_BackReference);
1322 const std::weak_ptr<ome::xml::model::LightPath>&
1335 const std::weak_ptr<ome::xml::model::LightPath>&
1337 const std::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
1350 linkLightPath (
const std::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
1368 unlinkLightPath (
const std::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
1393 const std::weak_ptr<ome::xml::model::ROI>&
1406 const std::weak_ptr<ome::xml::model::ROI>&
1408 const std::shared_ptr<ome::xml::model::ROI>& roi_BackReference);
1421 linkROI (
const std::shared_ptr<ome::xml::model::ROI>& roi_BackReference);
1439 unlinkROI (
const std::shared_ptr<ome::xml::model::ROI>& roi_BackReference);
1464 const std::weak_ptr<ome::xml::model::Shape>&
1477 const std::weak_ptr<ome::xml::model::Shape>&
1479 const std::shared_ptr<ome::xml::model::Shape>& shape_BackReference);
1492 linkShape (
const std::shared_ptr<ome::xml::model::Shape>& shape_BackReference);
1510 unlinkShape (
const std::shared_ptr<ome::xml::model::Shape>& shape_BackReference);
1535 const std::weak_ptr<ome::xml::model::Plate>&
1548 const std::weak_ptr<ome::xml::model::Plate>&
1550 const std::shared_ptr<ome::xml::model::Plate>& plate_BackReference);
1563 linkPlate (
const std::shared_ptr<ome::xml::model::Plate>& plate_BackReference);
1581 unlinkPlate (
const std::shared_ptr<ome::xml::model::Plate>& plate_BackReference);
1606 const std::weak_ptr<ome::xml::model::Reagent>&
1619 const std::weak_ptr<ome::xml::model::Reagent>&
1621 const std::shared_ptr<ome::xml::model::Reagent>& reagent_BackReference);
1634 linkReagent (
const std::shared_ptr<ome::xml::model::Reagent>& reagent_BackReference);
1652 unlinkReagent (
const std::shared_ptr<ome::xml::model::Reagent>& reagent_BackReference);
1677 const std::weak_ptr<ome::xml::model::Screen>&
1690 const std::weak_ptr<ome::xml::model::Screen>&
1692 const std::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
1705 linkScreen (
const std::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
1723 unlinkScreen (
const std::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
1748 const std::weak_ptr<ome::xml::model::PlateAcquisition>&
1761 const std::weak_ptr<ome::xml::model::PlateAcquisition>&
1763 const std::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition_BackReference);
1776 linkPlateAcquisition (
const std::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition_BackReference);
1794 unlinkPlateAcquisition (
const std::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition_BackReference);
1819 const std::weak_ptr<ome::xml::model::Well>&
1832 const std::weak_ptr<ome::xml::model::Well>&
1834 const std::shared_ptr<ome::xml::model::Well>& well_BackReference);
1847 linkWell (
const std::shared_ptr<ome::xml::model::Well>& well_BackReference);
1865 unlinkWell (
const std::shared_ptr<ome::xml::model::Well>& well_BackReference);
1883 #endif // OME_XML_MODEL_ANNOTATION_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:61
OMEModelObject::indexed_container< ome::xml::model::Well, std::weak_ptr >::type getLinkedWellList() const
Get the linked Well list.
Definition: Annotation.cpp:1804
std::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: Annotation.cpp:501
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: Annotation.cpp:1855
const std::weak_ptr< ome::xml::model::Plane > & getLinkedPlane(OMEModelObject::indexed_container< ome::xml::model::Plane, std::weak_ptr >::type::size_type index) const
Get linked Plane.
Definition: Annotation.cpp:650
OMEModelObject::indexed_container< ome::xml::model::ROI, std::weak_ptr >::type::size_type sizeOfLinkedROIList() const
Get size of linked ROI list.
Definition: Annotation.cpp:1450
const std::weak_ptr< ome::xml::model::Reagent > & getLinkedReagent(OMEModelObject::indexed_container< ome::xml::model::Reagent, std::weak_ptr >::type::size_type index) const
Get linked Reagent.
Definition: Annotation.cpp:1636
bool unlinkLightPath(const std::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Unlink LightPath.
Definition: Annotation.cpp:1433
bool linkPlane(const std::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
Link Plane.
Definition: Annotation.cpp:666
const std::weak_ptr< ome::xml::model::Dichroic > & setLinkedDichroic(OMEModelObject::indexed_container< ome::xml::model::Dichroic, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Dichroic > &dichroic_BackReference)
Set linked Dichroic.
Definition: Annotation.cpp:1352
const std::weak_ptr< ome::xml::model::Shape > & getLinkedShape(OMEModelObject::indexed_container< ome::xml::model::Shape, std::weak_ptr >::type::size_type index) const
Get linked Shape.
Definition: Annotation.cpp:1520
OMEModelObject::indexed_container< ome::xml::model::Image, std::weak_ptr >::type::size_type sizeOfLinkedImageList() const
Get size of linked Image list.
Definition: Annotation.cpp:580
const std::weak_ptr< ome::xml::model::PlateAcquisition > & getLinkedPlateAcquisition(OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, std::weak_ptr >::type::size_type index) const
Get linked PlateAcquisition.
Definition: Annotation.cpp:1752
const std::weak_ptr< ome::xml::model::Folder > & getLinkedFolder(OMEModelObject::indexed_container< ome::xml::model::Folder, std::weak_ptr >::type::size_type index) const
Get linked Folder.
Definition: Annotation.cpp:1114
const std::weak_ptr< ome::xml::model::Screen > & getLinkedScreen(OMEModelObject::indexed_container< ome::xml::model::Screen, std::weak_ptr >::type::size_type index) const
Get linked Screen.
Definition: Annotation.cpp:1694
OMEModelObject::indexed_container< ome::xml::model::Instrument, std::weak_ptr >::type getLinkedInstrumentList() const
Get the linked Instrument list.
Definition: Annotation.cpp:760
const std::weak_ptr< ome::xml::model::ROI > & getLinkedROI(OMEModelObject::indexed_container< ome::xml::model::ROI, std::weak_ptr >::type::size_type index) const
Get linked ROI.
Definition: Annotation.cpp:1462
bool unlinkPlate(const std::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
Unlink Plate.
Definition: Annotation.cpp:1607
OMEModelObject::indexed_container< ome::xml::model::LightPath, std::weak_ptr >::type::size_type sizeOfLinkedLightPathList() const
Get size of linked LightPath list.
Definition: Annotation.cpp:1392
const std::weak_ptr< ome::xml::model::Well > & getLinkedWell(OMEModelObject::indexed_container< ome::xml::model::Well, std::weak_ptr >::type::size_type index) const
Get linked Well.
Definition: Annotation.cpp:1810
OMEModelObject::indexed_container< ome::xml::model::Shape, std::weak_ptr >::type::size_type sizeOfLinkedShapeList() const
Get size of linked Shape list.
Definition: Annotation.cpp:1508
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Annotation.cpp:1931
OMEModelObject::indexed_container< ome::xml::model::Detector, std::weak_ptr >::type::size_type sizeOfLinkedDetectorList() const
Get size of linked Detector list.
Definition: Annotation.cpp:1218
bool linkChannel(const std::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
Link Channel.
Definition: Annotation.cpp:724
bool linkExperimenter(const std::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
Link Experimenter.
Definition: Annotation.cpp:1072
const std::weak_ptr< ome::xml::model::PlateAcquisition > & setLinkedPlateAcquisition(OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
Set linked PlateAcquisition.
Definition: Annotation.cpp:1758
bool unlinkFilter(const std::shared_ptr< ome::xml::model::Filter > &filter_BackReference)
Unlink Filter.
Definition: Annotation.cpp:1317
const std::weak_ptr< ome::xml::model::Image > & setLinkedImage(OMEModelObject::indexed_container< ome::xml::model::Image, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Image > &image_BackReference)
Set linked Image.
Definition: Annotation.cpp:598
void setNamespace(std::shared_ptr< std::string > &namespace_)
Set the Namespace property.
Definition: Annotation.cpp:459
const std::weak_ptr< ome::xml::model::Reagent > & setLinkedReagent(OMEModelObject::indexed_container< ome::xml::model::Reagent, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
Set linked Reagent.
Definition: Annotation.cpp:1642
bool unlinkScreen(const std::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
Unlink Screen.
Definition: Annotation.cpp:1723
virtual ~Annotation()
Destructor.
Definition: Annotation.cpp:333
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
OMEModelObject::indexed_container< ome::xml::model::Well, std::weak_ptr >::type::size_type sizeOfLinkedWellList() const
Get size of linked Well list.
Definition: Annotation.cpp:1798
bool linkDataset(const std::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Annotation.cpp:1014
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
bool unlinkFolder(const std::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Unlink Folder.
Definition: Annotation.cpp:1143
bool linkProject(const std::shared_ptr< ome::xml::model::Project > &project_BackReference)
Link Project.
Definition: Annotation.cpp:898
bool linkShape(const std::shared_ptr< ome::xml::model::Shape > &shape_BackReference)
Link Shape.
Definition: Annotation.cpp:1536
OMEModelObject::indexed_container< ome::xml::model::Reagent, std::weak_ptr >::type getLinkedReagentList() const
Get the linked Reagent list.
Definition: Annotation.cpp:1630
const std::string & getID() const
Get the ID property.
Definition: Annotation.cpp:466
bool linkObjective(const std::shared_ptr< ome::xml::model::Objective > &objective_BackReference)
Link Objective.
Definition: Annotation.cpp:1188
const std::weak_ptr< ome::xml::model::Plate > & setLinkedPlate(OMEModelObject::indexed_container< ome::xml::model::Plate, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
Set linked Plate.
Definition: Annotation.cpp:1584
bool linkReagent(const std::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
Link Reagent.
Definition: Annotation.cpp:1652
const std::weak_ptr< ome::xml::model::LightSource > & getLinkedLightSource(OMEModelObject::indexed_container< ome::xml::model::LightSource, std::weak_ptr >::type::size_type index) const
Get linked LightSource.
Definition: Annotation.cpp:824
bool unlinkDetector(const std::shared_ptr< ome::xml::model::Detector > &detector_BackReference)
Unlink Detector.
Definition: Annotation.cpp:1259
bool linkDichroic(const std::shared_ptr< ome::xml::model::Dichroic > &dichroic_BackReference)
Link Dichroic.
Definition: Annotation.cpp:1362
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, std::weak_ptr >::type::size_type sizeOfLinkedPlateAcquisitionList() const
Get size of linked PlateAcquisition list.
Definition: Annotation.cpp:1740
OMEModelObject::indexed_container< ome::xml::model::Reagent, std::weak_ptr >::type::size_type sizeOfLinkedReagentList() const
Get size of linked Reagent list.
Definition: Annotation.cpp:1624
bool unlinkDataset(const std::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Annotation.cpp:1027
bool linkWell(const std::shared_ptr< ome::xml::model::Well > &well_BackReference)
Link Well.
Definition: Annotation.cpp:1826
OMEModelObject::indexed_container< ome::xml::model::Plate, std::weak_ptr >::type getLinkedPlateList() const
Get the linked Plate list.
Definition: Annotation.cpp:1572
bool unlinkDichroic(const std::shared_ptr< ome::xml::model::Dichroic > &dichroic_BackReference)
Unlink Dichroic.
Definition: Annotation.cpp:1375
const std::weak_ptr< ome::xml::model::Objective > & getLinkedObjective(OMEModelObject::indexed_container< ome::xml::model::Objective, std::weak_ptr >::type::size_type index) const
Get linked Objective.
Definition: Annotation.cpp:1172
bool linkPlateAcquisition(const std::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
Link PlateAcquisition.
Definition: Annotation.cpp:1768
OMEModelObject::indexed_container< ome::xml::model::Shape, std::weak_ptr >::type getLinkedShapeList() const
Get the linked Shape list.
Definition: Annotation.cpp:1514
const std::weak_ptr< ome::xml::model::Experimenter > & getLinkedExperimenter(OMEModelObject::indexed_container< ome::xml::model::Experimenter, std::weak_ptr >::type::size_type index) const
Get linked Experimenter.
Definition: Annotation.cpp:1056
OMEModelObject::indexed_container< ome::xml::model::Dichroic, std::weak_ptr >::type getLinkedDichroicList() const
Get the linked Dichroic list.
Definition: Annotation.cpp:1340
bool linkInstrument(const std::shared_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Link Instrument.
Definition: Annotation.cpp:782
const std::weak_ptr< ome::xml::model::Dichroic > & getLinkedDichroic(OMEModelObject::indexed_container< ome::xml::model::Dichroic, std::weak_ptr >::type::size_type index) const
Get linked Dichroic.
Definition: Annotation.cpp:1346
OMEModelObject::indexed_container< ome::xml::model::Dichroic, std::weak_ptr >::type::size_type sizeOfLinkedDichroicList() const
Get size of linked Dichroic list.
Definition: Annotation.cpp:1334
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:84
const std::weak_ptr< ome::xml::model::LightPath > & getLinkedLightPath(OMEModelObject::indexed_container< ome::xml::model::LightPath, std::weak_ptr >::type::size_type index) const
Get linked LightPath.
Definition: Annotation.cpp:1404
std::shared_ptr< Impl > impl
Private implementation details.
Definition: Annotation.h:103
bool linkScreen(const std::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
Link Screen.
Definition: Annotation.cpp:1710
OMEModelObject::indexed_container< ome::xml::model::Image, std::weak_ptr >::type getLinkedImageList() const
Get the linked Image list.
Definition: Annotation.cpp:586
OMEModelObject::indexed_container< ome::xml::model::Plane, std::weak_ptr >::type::size_type sizeOfLinkedPlaneList() const
Get size of linked Plane list.
Definition: Annotation.cpp:638
bool unlinkObjective(const std::shared_ptr< ome::xml::model::Objective > &objective_BackReference)
Unlink Objective.
Definition: Annotation.cpp:1201
bool unlinkROI(const std::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
Unlink ROI.
Definition: Annotation.cpp:1491
bool linkPlate(const std::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
Link Plate.
Definition: Annotation.cpp:1594
OMEModelObject::indexed_container< ome::xml::model::LightSource, std::weak_ptr >::type getLinkedLightSourceList() const
Get the linked LightSource list.
Definition: Annotation.cpp:818
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, std::weak_ptr >::type getLinkedPlateAcquisitionList() const
Get the linked PlateAcquisition list.
Definition: Annotation.cpp:1746
const std::weak_ptr< ome::xml::model::Plate > & getLinkedPlate(OMEModelObject::indexed_container< ome::xml::model::Plate, std::weak_ptr >::type::size_type index) const
Get linked Plate.
Definition: Annotation.cpp:1578
OMEModelObject::indexed_container< ome::xml::model::Filter, std::weak_ptr >::type::size_type sizeOfLinkedFilterList() const
Get size of linked Filter list.
Definition: Annotation.cpp:1276
const std::weak_ptr< ome::xml::model::Channel > & setLinkedChannel(OMEModelObject::indexed_container< ome::xml::model::Channel, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
Set linked Channel.
Definition: Annotation.cpp:714
OMEModelObject::indexed_container< ome::xml::model::Objective, std::weak_ptr >::type getLinkedObjectiveList() const
Get the linked Objective list.
Definition: Annotation.cpp:1166
const std::weak_ptr< ome::xml::model::ExperimenterGroup > & setLinkedExperimenterGroup(OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Set linked ExperimenterGroup.
Definition: Annotation.cpp:946
Annotation model object.
Definition: Annotation.h:100
OMEModelObject::indexed_container< ome::xml::model::ROI, std::weak_ptr >::type getLinkedROIList() const
Get the linked ROI list.
Definition: Annotation.cpp:1456
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, std::weak_ptr >::type getLinkedExperimenterGroupList() const
Get the linked ExperimenterGroup list.
Definition: Annotation.cpp:934
bool unlinkReagent(const std::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
Unlink Reagent.
Definition: Annotation.cpp:1665
const std::weak_ptr< ome::xml::model::Dataset > & getLinkedDataset(OMEModelObject::indexed_container< ome::xml::model::Dataset, std::weak_ptr >::type::size_type index) const
Get linked Dataset.
Definition: Annotation.cpp:998
const std::weak_ptr< ome::xml::model::Objective > & setLinkedObjective(OMEModelObject::indexed_container< ome::xml::model::Objective, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Objective > &objective_BackReference)
Set linked Objective.
Definition: Annotation.cpp:1178
const std::weak_ptr< ome::xml::model::Detector > & setLinkedDetector(OMEModelObject::indexed_container< ome::xml::model::Detector, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Detector > &detector_BackReference)
Set linked Detector.
Definition: Annotation.cpp:1236
OMEModelObject::indexed_container< ome::xml::model::Plate, std::weak_ptr >::type::size_type sizeOfLinkedPlateList() const
Get size of linked Plate list.
Definition: Annotation.cpp:1566
OMEModelObject::indexed_container< ome::xml::model::Objective, std::weak_ptr >::type::size_type sizeOfLinkedObjectiveList() const
Get size of linked Objective list.
Definition: Annotation.cpp:1160
const std::weak_ptr< ome::xml::model::Project > & getLinkedProject(OMEModelObject::indexed_container< ome::xml::model::Project, std::weak_ptr >::type::size_type index) const
Get linked Project.
Definition: Annotation.cpp:882
void setDescription(std::shared_ptr< std::string > &description)
Set the Description property.
Definition: Annotation.cpp:515
const std::weak_ptr< ome::xml::model::Image > & getLinkedImage(OMEModelObject::indexed_container< ome::xml::model::Image, std::weak_ptr >::type::size_type index) const
Get linked Image.
Definition: Annotation.cpp:592
const std::weak_ptr< ome::xml::model::LightSource > & setLinkedLightSource(OMEModelObject::indexed_container< ome::xml::model::LightSource, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::LightSource > &lightSource_BackReference)
Set linked LightSource.
Definition: Annotation.cpp:830
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Annotation.cpp:528
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: Annotation.cpp:540
OMEModelObject::indexed_container< ome::xml::model::Detector, std::weak_ptr >::type getLinkedDetectorList() const
Get the linked Detector list.
Definition: Annotation.cpp:1224
const std::weak_ptr< ome::xml::model::LightPath > & setLinkedLightPath(OMEModelObject::indexed_container< ome::xml::model::LightPath, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Set linked LightPath.
Definition: Annotation.cpp:1410
const std::weak_ptr< ome::xml::model::Plane > & setLinkedPlane(OMEModelObject::indexed_container< ome::xml::model::Plane, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
Set linked Plane.
Definition: Annotation.cpp:656
const std::weak_ptr< ome::xml::model::Shape > & setLinkedShape(OMEModelObject::indexed_container< ome::xml::model::Shape, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Shape > &shape_BackReference)
Set linked Shape.
Definition: Annotation.cpp:1526
void setID(const std::string &id)
Set the ID property.
Definition: Annotation.cpp:473
bool unlinkImage(const std::shared_ptr< ome::xml::model::Image > &image_BackReference)
Unlink Image.
Definition: Annotation.cpp:621
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: Annotation.cpp:344
const std::weak_ptr< ome::xml::model::Instrument > & getLinkedInstrument(OMEModelObject::indexed_container< ome::xml::model::Instrument, std::weak_ptr >::type::size_type index) const
Get linked Instrument.
Definition: Annotation.cpp:766
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: Annotation.cpp:534
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: Annotation.cpp:415
bool unlinkExperimenterGroup(const std::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Unlink ExperimenterGroup.
Definition: Annotation.cpp:969
const std::weak_ptr< ome::xml::model::ROI > & setLinkedROI(OMEModelObject::indexed_container< ome::xml::model::ROI, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
Set linked ROI.
Definition: Annotation.cpp:1468
OMEModelObject::indexed_container< ome::xml::model::Dataset, std::weak_ptr >::type::size_type sizeOfLinkedDatasetList() const
Get size of linked Dataset list.
Definition: Annotation.cpp:986
const std::weak_ptr< ome::xml::model::Well > & setLinkedWell(OMEModelObject::indexed_container< ome::xml::model::Well, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Well > &well_BackReference)
Set linked Well.
Definition: Annotation.cpp:1816
OMEModelObject::indexed_container< ome::xml::model::Plane, std::weak_ptr >::type getLinkedPlaneList() const
Get the linked Plane list.
Definition: Annotation.cpp:644
const std::weak_ptr< ome::xml::model::Filter > & getLinkedFilter(OMEModelObject::indexed_container< ome::xml::model::Filter, std::weak_ptr >::type::size_type index) const
Get linked Filter.
Definition: Annotation.cpp:1288
Private implementation details of Annotation model object.
Definition: Annotation.cpp:93
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: Annotation.cpp:522
OMEModelObject::indexed_container< ome::xml::model::Project, std::weak_ptr >::type::size_type sizeOfLinkedProjectList() const
Get size of linked Project list.
Definition: Annotation.cpp:870
bool unlinkShape(const std::shared_ptr< ome::xml::model::Shape > &shape_BackReference)
Unlink Shape.
Definition: Annotation.cpp:1549
bool unlinkPlane(const std::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
Unlink Plane.
Definition: Annotation.cpp:679
bool unlinkChannel(const std::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
Unlink Channel.
Definition: Annotation.cpp:737
bool linkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Annotation.cpp:550
bool unlinkExperimenter(const std::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
Unlink Experimenter.
Definition: Annotation.cpp:1085
bool linkImage(const std::shared_ptr< ome::xml::model::Image > &image_BackReference)
Link Image.
Definition: Annotation.cpp:608
const std::weak_ptr< ome::xml::model::Folder > & setLinkedFolder(OMEModelObject::indexed_container< ome::xml::model::Folder, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Set linked Folder.
Definition: Annotation.cpp:1120
bool unlinkLightSource(const std::shared_ptr< ome::xml::model::LightSource > &lightSource_BackReference)
Unlink LightSource.
Definition: Annotation.cpp:853
OMEModelObject::indexed_container< ome::xml::model::Folder, std::weak_ptr >::type::size_type sizeOfLinkedFolderList() const
Get size of linked Folder list.
Definition: Annotation.cpp:1102
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Annotation.cpp:338
const std::weak_ptr< ome::xml::model::Screen > & setLinkedScreen(OMEModelObject::indexed_container< ome::xml::model::Screen, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
Set linked Screen.
Definition: Annotation.cpp:1700
OMEModelObject::indexed_container< ome::xml::model::Instrument, std::weak_ptr >::type::size_type sizeOfLinkedInstrumentList() const
Get size of linked Instrument list.
Definition: Annotation.cpp:754
const std::weak_ptr< ome::xml::model::ExperimenterGroup > & getLinkedExperimenterGroup(OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, std::weak_ptr >::type::size_type index) const
Get linked ExperimenterGroup.
Definition: Annotation.cpp:940
const std::weak_ptr< ome::xml::model::Project > & setLinkedProject(OMEModelObject::indexed_container< ome::xml::model::Project, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Project > &project_BackReference)
Set linked Project.
Definition: Annotation.cpp:888
OMEModelObject::indexed_container< ome::xml::model::Folder, std::weak_ptr >::type getLinkedFolderList() const
Get the linked Folder list.
Definition: Annotation.cpp:1108
const std::weak_ptr< ome::xml::model::Filter > & setLinkedFilter(OMEModelObject::indexed_container< ome::xml::model::Filter, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Filter > &filter_BackReference)
Set linked Filter.
Definition: Annotation.cpp:1294
const std::weak_ptr< ome::xml::model::Channel > & getLinkedChannel(OMEModelObject::indexed_container< ome::xml::model::Channel, std::weak_ptr >::type::size_type index) const
Get linked Channel.
Definition: Annotation.cpp:708
OMEModelObject::indexed_container< ome::xml::model::Screen, std::weak_ptr >::type::size_type sizeOfLinkedScreenList() const
Get size of linked Screen list.
Definition: Annotation.cpp:1682
bool linkFilter(const std::shared_ptr< ome::xml::model::Filter > &filter_BackReference)
Link Filter.
Definition: Annotation.cpp:1304
OMEModelObject::indexed_container< ome::xml::model::Screen, std::weak_ptr >::type getLinkedScreenList() const
Get the linked Screen list.
Definition: Annotation.cpp:1688
OMEModelObject::indexed_container< ome::xml::model::Channel, std::weak_ptr >::type getLinkedChannelList() const
Get the linked Channel list.
Definition: Annotation.cpp:702
OMEModelObject::indexed_container< ome::xml::model::Experimenter, std::weak_ptr >::type::size_type sizeOfLinkedExperimenterList() const
Get size of linked Experimenter list.
Definition: Annotation.cpp:1044
bool linkROI(const std::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
Link ROI.
Definition: Annotation.cpp:1478
OMEModelObject::indexed_container< ome::xml::model::Channel, std::weak_ptr >::type::size_type sizeOfLinkedChannelList() const
Get size of linked Channel list.
Definition: Annotation.cpp:696
Annotation()
Default constructor.
Definition: Annotation.cpp:318
OMEModelObject::indexed_container< ome::xml::model::Experimenter, std::weak_ptr >::type getLinkedExperimenterList() const
Get the linked Experimenter list.
Definition: Annotation.cpp:1050
const std::weak_ptr< ome::xml::model::Dataset > & setLinkedDataset(OMEModelObject::indexed_container< ome::xml::model::Dataset, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Set linked Dataset.
Definition: Annotation.cpp:1004
bool linkExperimenterGroup(const std::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Link ExperimenterGroup.
Definition: Annotation.cpp:956
std::shared_ptr< std::string > getAnnotator()
Get the Annotator property.
Definition: Annotation.cpp:480
std::shared_ptr< std::string > getNamespace()
Get the Namespace property.
Definition: Annotation.cpp:445
bool linkFolder(const std::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Link Folder.
Definition: Annotation.cpp:1130
bool unlinkWell(const std::shared_ptr< ome::xml::model::Well > &well_BackReference)
Unlink Well.
Definition: Annotation.cpp:1839
bool unlinkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Annotation.cpp:563
OMEModelObject::indexed_container< ome::xml::model::Dataset, std::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Annotation.cpp:992
OMEModelObject::indexed_container< ome::xml::model::Filter, std::weak_ptr >::type getLinkedFilterList() const
Get the linked Filter list.
Definition: Annotation.cpp:1282
bool linkLightPath(const std::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Link LightPath.
Definition: Annotation.cpp:1420
bool unlinkPlateAcquisition(const std::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
Unlink PlateAcquisition.
Definition: Annotation.cpp:1781
bool unlinkProject(const std::shared_ptr< ome::xml::model::Project > &project_BackReference)
Unlink Project.
Definition: Annotation.cpp:911
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, std::weak_ptr >::type::size_type sizeOfLinkedExperimenterGroupList() const
Get size of linked ExperimenterGroup list.
Definition: Annotation.cpp:928
const std::weak_ptr< ome::xml::model::Instrument > & setLinkedInstrument(OMEModelObject::indexed_container< ome::xml::model::Instrument, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Set linked Instrument.
Definition: Annotation.cpp:772
const std::weak_ptr< ome::xml::model::Experimenter > & setLinkedExperimenter(OMEModelObject::indexed_container< ome::xml::model::Experimenter, std::weak_ptr >::type::size_type index, const std::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
Set linked Experimenter.
Definition: Annotation.cpp:1062
OMEModelObject::indexed_container< ome::xml::model::LightSource, std::weak_ptr >::type::size_type sizeOfLinkedLightSourceList() const
Get size of linked LightSource list.
Definition: Annotation.cpp:812
OMEModelObject::indexed_container< ome::xml::model::LightPath, std::weak_ptr >::type getLinkedLightPathList() const
Get the linked LightPath list.
Definition: Annotation.cpp:1398
void setAnnotator(std::shared_ptr< std::string > &annotator)
Set the Annotator property.
Definition: Annotation.cpp:494
bool linkLightSource(const std::shared_ptr< ome::xml::model::LightSource > &lightSource_BackReference)
Link LightSource.
Definition: Annotation.cpp:840
bool unlinkInstrument(const std::shared_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Unlink Instrument.
Definition: Annotation.cpp:795
bool linkDetector(const std::shared_ptr< ome::xml::model::Detector > &detector_BackReference)
Link Detector.
Definition: Annotation.cpp:1246
const std::weak_ptr< ome::xml::model::Detector > & getLinkedDetector(OMEModelObject::indexed_container< ome::xml::model::Detector, std::weak_ptr >::type::size_type index) const
Get linked Detector.
Definition: Annotation.cpp:1230
OMEModelObject::indexed_container< ome::xml::model::Project, std::weak_ptr >::type getLinkedProjectList() const
Get the linked Project list.
Definition: Annotation.cpp:876