ome-xml  5.6.0
Annotation.h
1 /*
2  * #%L
3  * OME-XML C++ library for working with OME-XML metadata structures.
4  * %%
5  * Copyright © 2006 - 2016 Open Microscopy Environment:
6  * - Massachusetts Institute of Technology
7  * - National Institutes of Health
8  * - University of Dundee
9  * - Board of Regents of the University of Wisconsin-Madison
10  * - Glencoe Software, Inc.
11  * %%
12  * Redistribution and use in source and binary forms, with or without
13  * modification, are permitted provided that the following conditions are met:
14  *
15  * 1. Redistributions of source code must retain the above copyright notice,
16  * this list of conditions and the following disclaimer.
17  * 2. Redistributions in binary form must reproduce the above copyright notice,
18  * this list of conditions and the following disclaimer in the documentation
19  * and/or other materials provided with the distribution.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31  * POSSIBILITY OF SUCH DAMAGE.
32  *
33  * The views and conclusions contained in the software and documentation are
34  * those of the authors and should not be interpreted as representing official
35  * policies, either expressed or implied, of any organization.
36  * #L%
37  */
38 
39 /*─────────────────────────────────────────────────────────────────────────────
40  *
41  * THIS IS AUTOMATICALLY GENERATED CODE. DO NOT MODIFY.
42  *
43  *─────────────────────────────────────────────────────────────────────────────
44  */
45 
46 #ifndef OME_XML_MODEL_ANNOTATION_H
47 #define OME_XML_MODEL_ANNOTATION_H
48 
49 #include <algorithm>
50 #include <list>
51 #include <stdexcept>
52 #include <string>
53 #include <vector>
54 
55 #include <ome/common/log.h>
56 
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 
61 #include <ome/xml/model/primitives/Quantity.h>
62 
63 #include <ome/xml/model/detail/OMEModelObject.h>
64 
65 namespace ome
66 {
67  namespace xml
68  {
69  namespace model
70  {
71 
72  // Forward declarations.
73  class Channel;
74  class Dataset;
75  class Detector;
76  class Dichroic;
77  class Experimenter;
78  class ExperimenterGroup;
79  class Filter;
80  class Folder;
81  class Image;
82  class Instrument;
83  class LightPath;
84  class LightSource;
85  class OMEModel;
86  class Objective;
87  class Plane;
88  class Plate;
89  class PlateAcquisition;
90  class Project;
91  class ROI;
92  class Reagent;
93  class Screen;
94  class Shape;
95  class Well;
96 
101  {
102  private:
103  class Impl;
105  std::shared_ptr<Impl> impl;
106 
107  public:
109  Annotation();
110 
116  Annotation (const Annotation& copy);
117 
119  virtual
120  ~Annotation ();
121 
122  // Documented in superclass.
123  bool
124  validElementName(const std::string& name) const;
125 
127  Annotation&
128  operator= (const Annotation&) = delete;
130 
131  // -- OMEModelObject API methods --
132 
134  virtual void
135  update(const common::xml::dom::Element& element,
137 
138  public:
139  // -- Annotation API methods --
140 
142  bool
143  link (std::shared_ptr<Reference>& reference,
144  std::shared_ptr<ome::xml::model::OMEModelObject>& object);
145 
151  std::shared_ptr<std::string>
152  getNamespace ();
153 
159  const std::shared_ptr<std::string>
160  getNamespace () const;
161 
167  void
168  setNamespace (std::shared_ptr<std::string>& namespace_);
169 
175  const std::string&
176  getID () const;
177 
183  void
184  setID (const std::string& id);
185 
191  std::shared_ptr<std::string>
192  getAnnotator ();
193 
199  const std::shared_ptr<std::string>
200  getAnnotator () const;
201 
207  void
208  setAnnotator (std::shared_ptr<std::string>& annotator);
209 
215  std::shared_ptr<std::string>
216  getDescription ();
217 
223  const std::shared_ptr<std::string>
224  getDescription () const;
225 
231  void
232  setDescription (std::shared_ptr<std::string>& description);
233 
241 
248  getLinkedAnnotationList () const;
249 
257  const std::weak_ptr<ome::xml::model::Annotation>&
259 
270  const std::weak_ptr<ome::xml::model::Annotation>&
272  const std::shared_ptr<ome::xml::model::Annotation>& annotation);
273 
284  bool
285  linkAnnotation (const std::shared_ptr<ome::xml::model::Annotation>& annotation);
286 
302  bool
303  unlinkAnnotation (const std::shared_ptr<ome::xml::model::Annotation>& annotation);
304 
311  sizeOfLinkedImageList () const;
312 
319  getLinkedImageList () const;
320 
328  const std::weak_ptr<ome::xml::model::Image>&
330 
341  const std::weak_ptr<ome::xml::model::Image>&
343  const std::shared_ptr<ome::xml::model::Image>& image_BackReference);
344 
355  bool
356  linkImage (const std::shared_ptr<ome::xml::model::Image>& image_BackReference);
357 
373  bool
374  unlinkImage (const std::shared_ptr<ome::xml::model::Image>& image_BackReference);
375 
382  sizeOfLinkedPlaneList () const;
383 
390  getLinkedPlaneList () const;
391 
399  const std::weak_ptr<ome::xml::model::Plane>&
401 
412  const std::weak_ptr<ome::xml::model::Plane>&
414  const std::shared_ptr<ome::xml::model::Plane>& plane_BackReference);
415 
426  bool
427  linkPlane (const std::shared_ptr<ome::xml::model::Plane>& plane_BackReference);
428 
444  bool
445  unlinkPlane (const std::shared_ptr<ome::xml::model::Plane>& plane_BackReference);
446 
453  sizeOfLinkedChannelList () const;
454 
461  getLinkedChannelList () const;
462 
470  const std::weak_ptr<ome::xml::model::Channel>&
472 
483  const std::weak_ptr<ome::xml::model::Channel>&
485  const std::shared_ptr<ome::xml::model::Channel>& channel_BackReference);
486 
497  bool
498  linkChannel (const std::shared_ptr<ome::xml::model::Channel>& channel_BackReference);
499 
515  bool
516  unlinkChannel (const std::shared_ptr<ome::xml::model::Channel>& channel_BackReference);
517 
525 
532  getLinkedInstrumentList () const;
533 
541  const std::weak_ptr<ome::xml::model::Instrument>&
543 
554  const std::weak_ptr<ome::xml::model::Instrument>&
556  const std::shared_ptr<ome::xml::model::Instrument>& instrument_BackReference);
557 
568  bool
569  linkInstrument (const std::shared_ptr<ome::xml::model::Instrument>& instrument_BackReference);
570 
586  bool
587  unlinkInstrument (const std::shared_ptr<ome::xml::model::Instrument>& instrument_BackReference);
588 
596 
603  getLinkedLightSourceList () const;
604 
612  const std::weak_ptr<ome::xml::model::LightSource>&
614 
625  const std::weak_ptr<ome::xml::model::LightSource>&
627  const std::shared_ptr<ome::xml::model::LightSource>& lightSource_BackReference);
628 
639  bool
640  linkLightSource (const std::shared_ptr<ome::xml::model::LightSource>& lightSource_BackReference);
641 
657  bool
658  unlinkLightSource (const std::shared_ptr<ome::xml::model::LightSource>& lightSource_BackReference);
659 
666  sizeOfLinkedProjectList () const;
667 
674  getLinkedProjectList () const;
675 
683  const std::weak_ptr<ome::xml::model::Project>&
685 
696  const std::weak_ptr<ome::xml::model::Project>&
698  const std::shared_ptr<ome::xml::model::Project>& project_BackReference);
699 
710  bool
711  linkProject (const std::shared_ptr<ome::xml::model::Project>& project_BackReference);
712 
728  bool
729  unlinkProject (const std::shared_ptr<ome::xml::model::Project>& project_BackReference);
730 
738 
746 
754  const std::weak_ptr<ome::xml::model::ExperimenterGroup>&
756 
767  const std::weak_ptr<ome::xml::model::ExperimenterGroup>&
769  const std::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
770 
781  bool
782  linkExperimenterGroup (const std::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
783 
799  bool
800  unlinkExperimenterGroup (const std::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
801 
808  sizeOfLinkedDatasetList () const;
809 
816  getLinkedDatasetList () const;
817 
825  const std::weak_ptr<ome::xml::model::Dataset>&
827 
838  const std::weak_ptr<ome::xml::model::Dataset>&
840  const std::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
841 
852  bool
853  linkDataset (const std::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
854 
870  bool
871  unlinkDataset (const std::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
872 
880 
887  getLinkedExperimenterList () const;
888 
896  const std::weak_ptr<ome::xml::model::Experimenter>&
898 
909  const std::weak_ptr<ome::xml::model::Experimenter>&
911  const std::shared_ptr<ome::xml::model::Experimenter>& experimenter_BackReference);
912 
923  bool
924  linkExperimenter (const std::shared_ptr<ome::xml::model::Experimenter>& experimenter_BackReference);
925 
941  bool
942  unlinkExperimenter (const std::shared_ptr<ome::xml::model::Experimenter>& experimenter_BackReference);
943 
950  sizeOfLinkedFolderList () const;
951 
958  getLinkedFolderList () const;
959 
967  const std::weak_ptr<ome::xml::model::Folder>&
969 
980  const std::weak_ptr<ome::xml::model::Folder>&
982  const std::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
983 
994  bool
995  linkFolder (const std::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
996 
1012  bool
1013  unlinkFolder (const std::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
1014 
1021  sizeOfLinkedObjectiveList () const;
1022 
1029  getLinkedObjectiveList () const;
1030 
1038  const std::weak_ptr<ome::xml::model::Objective>&
1040 
1051  const std::weak_ptr<ome::xml::model::Objective>&
1053  const std::shared_ptr<ome::xml::model::Objective>& objective_BackReference);
1054 
1065  bool
1066  linkObjective (const std::shared_ptr<ome::xml::model::Objective>& objective_BackReference);
1067 
1083  bool
1084  unlinkObjective (const std::shared_ptr<ome::xml::model::Objective>& objective_BackReference);
1085 
1092  sizeOfLinkedDetectorList () const;
1093 
1100  getLinkedDetectorList () const;
1101 
1109  const std::weak_ptr<ome::xml::model::Detector>&
1111 
1122  const std::weak_ptr<ome::xml::model::Detector>&
1124  const std::shared_ptr<ome::xml::model::Detector>& detector_BackReference);
1125 
1136  bool
1137  linkDetector (const std::shared_ptr<ome::xml::model::Detector>& detector_BackReference);
1138 
1154  bool
1155  unlinkDetector (const std::shared_ptr<ome::xml::model::Detector>& detector_BackReference);
1156 
1163  sizeOfLinkedFilterList () const;
1164 
1171  getLinkedFilterList () const;
1172 
1180  const std::weak_ptr<ome::xml::model::Filter>&
1182 
1193  const std::weak_ptr<ome::xml::model::Filter>&
1195  const std::shared_ptr<ome::xml::model::Filter>& filter_BackReference);
1196 
1207  bool
1208  linkFilter (const std::shared_ptr<ome::xml::model::Filter>& filter_BackReference);
1209 
1225  bool
1226  unlinkFilter (const std::shared_ptr<ome::xml::model::Filter>& filter_BackReference);
1227 
1234  sizeOfLinkedDichroicList () const;
1235 
1242  getLinkedDichroicList () const;
1243 
1251  const std::weak_ptr<ome::xml::model::Dichroic>&
1253 
1264  const std::weak_ptr<ome::xml::model::Dichroic>&
1266  const std::shared_ptr<ome::xml::model::Dichroic>& dichroic_BackReference);
1267 
1278  bool
1279  linkDichroic (const std::shared_ptr<ome::xml::model::Dichroic>& dichroic_BackReference);
1280 
1296  bool
1297  unlinkDichroic (const std::shared_ptr<ome::xml::model::Dichroic>& dichroic_BackReference);
1298 
1305  sizeOfLinkedLightPathList () const;
1306 
1313  getLinkedLightPathList () const;
1314 
1322  const std::weak_ptr<ome::xml::model::LightPath>&
1324 
1335  const std::weak_ptr<ome::xml::model::LightPath>&
1337  const std::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
1338 
1349  bool
1350  linkLightPath (const std::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
1351 
1367  bool
1368  unlinkLightPath (const std::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
1369 
1376  sizeOfLinkedROIList () const;
1377 
1384  getLinkedROIList () const;
1385 
1393  const std::weak_ptr<ome::xml::model::ROI>&
1395 
1406  const std::weak_ptr<ome::xml::model::ROI>&
1408  const std::shared_ptr<ome::xml::model::ROI>& roi_BackReference);
1409 
1420  bool
1421  linkROI (const std::shared_ptr<ome::xml::model::ROI>& roi_BackReference);
1422 
1438  bool
1439  unlinkROI (const std::shared_ptr<ome::xml::model::ROI>& roi_BackReference);
1440 
1447  sizeOfLinkedShapeList () const;
1448 
1455  getLinkedShapeList () const;
1456 
1464  const std::weak_ptr<ome::xml::model::Shape>&
1466 
1477  const std::weak_ptr<ome::xml::model::Shape>&
1479  const std::shared_ptr<ome::xml::model::Shape>& shape_BackReference);
1480 
1491  bool
1492  linkShape (const std::shared_ptr<ome::xml::model::Shape>& shape_BackReference);
1493 
1509  bool
1510  unlinkShape (const std::shared_ptr<ome::xml::model::Shape>& shape_BackReference);
1511 
1518  sizeOfLinkedPlateList () const;
1519 
1526  getLinkedPlateList () const;
1527 
1535  const std::weak_ptr<ome::xml::model::Plate>&
1537 
1548  const std::weak_ptr<ome::xml::model::Plate>&
1550  const std::shared_ptr<ome::xml::model::Plate>& plate_BackReference);
1551 
1562  bool
1563  linkPlate (const std::shared_ptr<ome::xml::model::Plate>& plate_BackReference);
1564 
1580  bool
1581  unlinkPlate (const std::shared_ptr<ome::xml::model::Plate>& plate_BackReference);
1582 
1589  sizeOfLinkedReagentList () const;
1590 
1597  getLinkedReagentList () const;
1598 
1606  const std::weak_ptr<ome::xml::model::Reagent>&
1608 
1619  const std::weak_ptr<ome::xml::model::Reagent>&
1621  const std::shared_ptr<ome::xml::model::Reagent>& reagent_BackReference);
1622 
1633  bool
1634  linkReagent (const std::shared_ptr<ome::xml::model::Reagent>& reagent_BackReference);
1635 
1651  bool
1652  unlinkReagent (const std::shared_ptr<ome::xml::model::Reagent>& reagent_BackReference);
1653 
1660  sizeOfLinkedScreenList () const;
1661 
1668  getLinkedScreenList () const;
1669 
1677  const std::weak_ptr<ome::xml::model::Screen>&
1679 
1690  const std::weak_ptr<ome::xml::model::Screen>&
1692  const std::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
1693 
1704  bool
1705  linkScreen (const std::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
1706 
1722  bool
1723  unlinkScreen (const std::shared_ptr<ome::xml::model::Screen>& screen_BackReference);
1724 
1732 
1740 
1748  const std::weak_ptr<ome::xml::model::PlateAcquisition>&
1750 
1761  const std::weak_ptr<ome::xml::model::PlateAcquisition>&
1763  const std::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition_BackReference);
1764 
1775  bool
1776  linkPlateAcquisition (const std::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition_BackReference);
1777 
1793  bool
1794  unlinkPlateAcquisition (const std::shared_ptr<ome::xml::model::PlateAcquisition>& plateAcquisition_BackReference);
1795 
1802  sizeOfLinkedWellList () const;
1803 
1810  getLinkedWellList () const;
1811 
1819  const std::weak_ptr<ome::xml::model::Well>&
1821 
1832  const std::weak_ptr<ome::xml::model::Well>&
1834  const std::shared_ptr<ome::xml::model::Well>& well_BackReference);
1835 
1846  bool
1847  linkWell (const std::shared_ptr<ome::xml::model::Well>& well_BackReference);
1848 
1864  bool
1865  unlinkWell (const std::shared_ptr<ome::xml::model::Well>& well_BackReference);
1866 
1867  protected:
1868  // Documented in base class.
1869  virtual void
1871  common::xml::dom::Element& element) const;
1872 
1873  public:
1874  // Documented in superclass.
1875  const std::string&
1876  getXMLNamespace() const;
1877  };
1878 
1879  }
1880  }
1881 }
1882 
1883 #endif // OME_XML_MODEL_ANNOTATION_H
1884 
1885 /*
1886  * Local Variables:
1887  * mode:C++
1888  * End:
1889  */
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