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::Detector, std::weak_ptr >::type getLinkedDetectorList() const
Get the linked Detector list.
Definition: Annotation.cpp:1228
OMEModelObject::indexed_container< ome::xml::model::Objective, std::weak_ptr >::type::size_type sizeOfLinkedObjectiveList() const
Get size of linked Objective list.
Definition: Annotation.cpp:1164
std::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: Annotation.cpp:505
bool unlinkLightPath(const std::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Unlink LightPath.
Definition: Annotation.cpp:1437
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:654
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:1859
bool linkPlane(const std::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
Link Plane.
Definition: Annotation.cpp:670
OMEModelObject::indexed_container< ome::xml::model::Well, std::weak_ptr >::type::size_type sizeOfLinkedWellList() const
Get size of linked Well list.
Definition: Annotation.cpp:1802
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:1356
bool unlinkPlate(const std::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
Unlink Plate.
Definition: Annotation.cpp:1611
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:538
OMEModelObject::indexed_container< ome::xml::model::Dichroic, std::weak_ptr >::type getLinkedDichroicList() const
Get the linked Dichroic list.
Definition: Annotation.cpp:1344
OMEModelObject::indexed_container< ome::xml::model::Shape, std::weak_ptr >::type::size_type sizeOfLinkedShapeList() const
Get size of linked Shape list.
Definition: Annotation.cpp:1512
bool linkChannel(const std::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
Link Channel.
Definition: Annotation.cpp:728
bool linkExperimenter(const std::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
Link Experimenter.
Definition: Annotation.cpp:1076
OMEModelObject::indexed_container< ome::xml::model::Plane, std::weak_ptr >::type::size_type sizeOfLinkedPlaneList() const
Get size of linked Plane list.
Definition: Annotation.cpp:642
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:1762
bool unlinkFilter(const std::shared_ptr< ome::xml::model::Filter > &filter_BackReference)
Unlink Filter.
Definition: Annotation.cpp:1321
OMEModelObject::indexed_container< ome::xml::model::Dataset, std::weak_ptr >::type::size_type sizeOfLinkedDatasetList() const
Get size of linked Dataset list.
Definition: Annotation.cpp:990
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:602
void setNamespace(std::shared_ptr< std::string > &namespace_)
Set the Namespace property.
Definition: Annotation.cpp:463
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:1814
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:1646
bool unlinkScreen(const std::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
Unlink Screen.
Definition: Annotation.cpp:1727
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:1002
OMEModelObject::indexed_container< ome::xml::model::Filter, std::weak_ptr >::type getLinkedFilterList() const
Get the linked Filter list.
Definition: Annotation.cpp:1286
virtual ~Annotation()
Destructor.
Definition: Annotation.cpp:337
boost::multi_index_container< Ptr< T >, boost::multi_index::indexed_by< boost::multi_index::random_access<>, boost::multi_index::ordered_unique< boost::multi_index::identity< Ptr< T > >, std::owner_less< Ptr< T > > > > > type
Multi-index container type.
Definition: OMEModelObject.h:93
const std::weak_ptr< ome::xml::model::Folder > & getLinkedFolder(OMEModelObject::indexed_container< ome::xml::model::Folder, std::weak_ptr >::type::size_type index) const
Get linked Folder.
Definition: Annotation.cpp:1118
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Annotation.cpp:532
OMEModelObject::indexed_container< ome::xml::model::Plate, std::weak_ptr >::type getLinkedPlateList() const
Get the linked Plate list.
Definition: Annotation.cpp:1576
OMEModelObject::indexed_container< ome::xml::model::Detector, std::weak_ptr >::type::size_type sizeOfLinkedDetectorList() const
Get size of linked Detector list.
Definition: Annotation.cpp:1222
bool linkDataset(const std::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Annotation.cpp:1018
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
OMEModelObject::indexed_container< ome::xml::model::Folder, std::weak_ptr >::type getLinkedFolderList() const
Get the linked Folder list.
Definition: Annotation.cpp:1112
bool unlinkFolder(const std::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Unlink Folder.
Definition: Annotation.cpp:1147
bool linkProject(const std::shared_ptr< ome::xml::model::Project > &project_BackReference)
Link Project.
Definition: Annotation.cpp:902
OMEModelObject::indexed_container< ome::xml::model::Screen, std::weak_ptr >::type getLinkedScreenList() const
Get the linked Screen list.
Definition: Annotation.cpp:1692
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:886
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:828
bool linkShape(const std::shared_ptr< ome::xml::model::Shape > &shape_BackReference)
Link Shape.
Definition: Annotation.cpp:1540
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:1582
OMEModelObject::indexed_container< ome::xml::model::Experimenter, std::weak_ptr >::type::size_type sizeOfLinkedExperimenterList() const
Get size of linked Experimenter list.
Definition: Annotation.cpp:1048
bool linkObjective(const std::shared_ptr< ome::xml::model::Objective > &objective_BackReference)
Link Objective.
Definition: Annotation.cpp:1192
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:1588
bool linkReagent(const std::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
Link Reagent.
Definition: Annotation.cpp:1656
OMEModelObject::indexed_container< ome::xml::model::Project, std::weak_ptr >::type::size_type sizeOfLinkedProjectList() const
Get size of linked Project list.
Definition: Annotation.cpp:874
OMEModelObject::indexed_container< ome::xml::model::Plane, std::weak_ptr >::type getLinkedPlaneList() const
Get the linked Plane list.
Definition: Annotation.cpp:648
bool unlinkDetector(const std::shared_ptr< ome::xml::model::Detector > &detector_BackReference)
Unlink Detector.
Definition: Annotation.cpp:1263
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:1756
bool linkDichroic(const std::shared_ptr< ome::xml::model::Dichroic > &dichroic_BackReference)
Link Dichroic.
Definition: Annotation.cpp:1366
bool unlinkDataset(const std::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Annotation.cpp:1031
bool linkWell(const std::shared_ptr< ome::xml::model::Well > &well_BackReference)
Link Well.
Definition: Annotation.cpp:1830
bool unlinkDichroic(const std::shared_ptr< ome::xml::model::Dichroic > &dichroic_BackReference)
Unlink Dichroic.
Definition: Annotation.cpp:1379
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, std::weak_ptr >::type getLinkedPlateAcquisitionList() const
Get the linked PlateAcquisition list.
Definition: Annotation.cpp:1750
bool linkPlateAcquisition(const std::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
Link PlateAcquisition.
Definition: Annotation.cpp:1772
OMEModelObject::indexed_container< ome::xml::model::Well, std::weak_ptr >::type getLinkedWellList() const
Get the linked Well list.
Definition: Annotation.cpp:1808
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:596
bool linkInstrument(const std::shared_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Link Instrument.
Definition: Annotation.cpp:786
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:84
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:1714
OMEModelObject::indexed_container< ome::xml::model::Instrument, std::weak_ptr >::type::size_type sizeOfLinkedInstrumentList() const
Get size of linked Instrument list.
Definition: Annotation.cpp:758
bool unlinkObjective(const std::shared_ptr< ome::xml::model::Objective > &objective_BackReference)
Unlink Objective.
Definition: Annotation.cpp:1205
bool unlinkROI(const std::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
Unlink ROI.
Definition: Annotation.cpp:1495
bool linkPlate(const std::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
Link Plate.
Definition: Annotation.cpp:1598
Open Microscopy Environment C++ implementation.
OMEModelObject::indexed_container< ome::xml::model::Reagent, std::weak_ptr >::type getLinkedReagentList() const
Get the linked Reagent list.
Definition: Annotation.cpp:1634
OMEModelObject::indexed_container< ome::xml::model::Channel, std::weak_ptr >::type getLinkedChannelList() const
Get the linked Channel list.
Definition: Annotation.cpp:706
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Annotation.cpp:342
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:718
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:950
Annotation model object.
Definition: Annotation.h:100
const std::string & getID() const
Get the ID property.
Definition: Annotation.cpp:470
OMEModelObject::indexed_container< ome::xml::model::Plate, std::weak_ptr >::type::size_type sizeOfLinkedPlateList() const
Get size of linked Plate list.
Definition: Annotation.cpp:1570
bool unlinkReagent(const std::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
Unlink Reagent.
Definition: Annotation.cpp:1669
OMEModelObject::indexed_container< ome::xml::model::Shape, std::weak_ptr >::type getLinkedShapeList() const
Get the linked Shape list.
Definition: Annotation.cpp:1518
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:1182
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:1240
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:1466
OMEModelObject::indexed_container< ome::xml::model::ROI, std::weak_ptr >::type getLinkedROIList() const
Get the linked ROI list.
Definition: Annotation.cpp:1460
OMEModelObject::indexed_container< ome::xml::model::Experimenter, std::weak_ptr >::type getLinkedExperimenterList() const
Get the linked Experimenter list.
Definition: Annotation.cpp:1054
OMEModelObject::indexed_container< ome::xml::model::Filter, std::weak_ptr >::type::size_type sizeOfLinkedFilterList() const
Get size of linked Filter list.
Definition: Annotation.cpp:1280
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:712
void setDescription(std::shared_ptr< std::string > &description)
Set the Description property.
Definition: Annotation.cpp:519
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:834
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:544
OMEModelObject::indexed_container< ome::xml::model::Project, std::weak_ptr >::type getLinkedProjectList() const
Get the linked Project list.
Definition: Annotation.cpp:880
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:1414
OMEModelObject::indexed_container< ome::xml::model::Reagent, std::weak_ptr >::type::size_type sizeOfLinkedReagentList() const
Get size of linked Reagent list.
Definition: Annotation.cpp:1628
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:660
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:1530
OMEModelObject::indexed_container< ome::xml::model::LightSource, std::weak_ptr >::type getLinkedLightSourceList() const
Get the linked LightSource list.
Definition: Annotation.cpp:822
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, std::weak_ptr >::type::size_type sizeOfLinkedExperimenterGroupList() const
Get size of linked ExperimenterGroup list.
Definition: Annotation.cpp:932
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:1350
void setID(const std::string &id)
Set the ID property.
Definition: Annotation.cpp:477
OMEModelObject::indexed_container< ome::xml::model::Channel, std::weak_ptr >::type::size_type sizeOfLinkedChannelList() const
Get size of linked Channel list.
Definition: Annotation.cpp:700
bool unlinkImage(const std::shared_ptr< ome::xml::model::Image > &image_BackReference)
Unlink Image.
Definition: Annotation.cpp:625
OMEModelObject::indexed_container< ome::xml::model::Image, std::weak_ptr >::type getLinkedImageList() const
Get the linked Image list.
Definition: Annotation.cpp:590
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:348
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:1524
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:1408
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:419
bool unlinkExperimenterGroup(const std::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Unlink ExperimenterGroup.
Definition: Annotation.cpp:973
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:1472
OMEModelObject::indexed_container< ome::xml::model::LightPath, std::weak_ptr >::type::size_type sizeOfLinkedLightPathList() const
Get size of linked LightPath list.
Definition: Annotation.cpp:1396
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:1820
OMEModelObject::indexed_container< ome::xml::model::Image, std::weak_ptr >::type::size_type sizeOfLinkedImageList() const
Get size of linked Image list.
Definition: Annotation.cpp:584
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:1060
Private implementation details of Annotation model object.
Definition: Annotation.cpp:93
bool unlinkShape(const std::shared_ptr< ome::xml::model::Shape > &shape_BackReference)
Unlink Shape.
Definition: Annotation.cpp:1553
bool unlinkPlane(const std::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
Unlink Plane.
Definition: Annotation.cpp:683
bool unlinkChannel(const std::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
Unlink Channel.
Definition: Annotation.cpp:741
bool linkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Annotation.cpp:554
bool unlinkExperimenter(const std::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
Unlink Experimenter.
Definition: Annotation.cpp:1089
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:770
bool linkImage(const std::shared_ptr< ome::xml::model::Image > &image_BackReference)
Link Image.
Definition: Annotation.cpp:612
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:1124
bool unlinkLightSource(const std::shared_ptr< ome::xml::model::LightSource > &lightSource_BackReference)
Unlink LightSource.
Definition: Annotation.cpp:857
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:1176
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, std::weak_ptr >::type getLinkedExperimenterGroupList() const
Get the linked ExperimenterGroup list.
Definition: Annotation.cpp:938
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:1704
OMEModelObject::indexed_container< ome::xml::model::Dataset, std::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Annotation.cpp:996
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, std::weak_ptr >::type::size_type sizeOfLinkedPlateAcquisitionList() const
Get size of linked PlateAcquisition list.
Definition: Annotation.cpp:1744
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Annotation.cpp:1935
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:892
OMEModelObject::indexed_container< ome::xml::model::ROI, std::weak_ptr >::type::size_type sizeOfLinkedROIList() const
Get size of linked ROI list.
Definition: Annotation.cpp:1454
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:1298
OMEModelObject::indexed_container< ome::xml::model::Instrument, std::weak_ptr >::type getLinkedInstrumentList() const
Get the linked Instrument list.
Definition: Annotation.cpp:764
OMEModelObject::indexed_container< ome::xml::model::LightSource, std::weak_ptr >::type::size_type sizeOfLinkedLightSourceList() const
Get size of linked LightSource list.
Definition: Annotation.cpp:816
bool linkFilter(const std::shared_ptr< ome::xml::model::Filter > &filter_BackReference)
Link Filter.
Definition: Annotation.cpp:1308
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:944
bool linkROI(const std::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
Link ROI.
Definition: Annotation.cpp:1482
Annotation()
Default constructor.
Definition: Annotation.cpp:318
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:1234
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:1008
bool linkExperimenterGroup(const std::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Link ExperimenterGroup.
Definition: Annotation.cpp:960
std::shared_ptr< std::string > getAnnotator()
Get the Annotator property.
Definition: Annotation.cpp:484
std::shared_ptr< std::string > getNamespace()
Get the Namespace property.
Definition: Annotation.cpp:449
bool linkFolder(const std::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Link Folder.
Definition: Annotation.cpp:1134
bool unlinkWell(const std::shared_ptr< ome::xml::model::Well > &well_BackReference)
Unlink Well.
Definition: Annotation.cpp:1843
bool unlinkAnnotation(const std::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Annotation.cpp:567
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:1640
bool linkLightPath(const std::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Link LightPath.
Definition: Annotation.cpp:1424
OMEModelObject::indexed_container< ome::xml::model::Dichroic, std::weak_ptr >::type::size_type sizeOfLinkedDichroicList() const
Get size of linked Dichroic list.
Definition: Annotation.cpp:1338
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:1698
bool unlinkPlateAcquisition(const std::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
Unlink PlateAcquisition.
Definition: Annotation.cpp:1785
bool unlinkProject(const std::shared_ptr< ome::xml::model::Project > &project_BackReference)
Unlink Project.
Definition: Annotation.cpp:915
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:1292
OMEModelObject::indexed_container< ome::xml::model::Annotation, std::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: Annotation.cpp:526
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:776
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:1066
OMEModelObject::indexed_container< ome::xml::model::Folder, std::weak_ptr >::type::size_type sizeOfLinkedFolderList() const
Get size of linked Folder list.
Definition: Annotation.cpp:1106
OMEModelObject::indexed_container< ome::xml::model::LightPath, std::weak_ptr >::type getLinkedLightPathList() const
Get the linked LightPath list.
Definition: Annotation.cpp:1402
void setAnnotator(std::shared_ptr< std::string > &annotator)
Set the Annotator property.
Definition: Annotation.cpp:498
bool linkLightSource(const std::shared_ptr< ome::xml::model::LightSource > &lightSource_BackReference)
Link LightSource.
Definition: Annotation.cpp:844
OMEModelObject::indexed_container< ome::xml::model::Objective, std::weak_ptr >::type getLinkedObjectiveList() const
Get the linked Objective list.
Definition: Annotation.cpp:1170
bool unlinkInstrument(const std::shared_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Unlink Instrument.
Definition: Annotation.cpp:799
bool linkDetector(const std::shared_ptr< ome::xml::model::Detector > &detector_BackReference)
Link Detector.
Definition: Annotation.cpp:1250
OMEModelObject::indexed_container< ome::xml::model::Screen, std::weak_ptr >::type::size_type sizeOfLinkedScreenList() const
Get size of linked Screen list.
Definition: Annotation.cpp:1686