ome-xml  5.2.0
Image.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_IMAGE_H
47 #define OME_XML_MODEL_IMAGE_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 #include <ome/common/xml/dom/NodeList.h>
61 
62 #include <ome/xml/model/Experiment.h>
63 #include <ome/xml/model/Experimenter.h>
64 #include <ome/xml/model/ExperimenterGroup.h>
65 #include <ome/xml/model/ImagingEnvironment.h>
66 #include <ome/xml/model/Instrument.h>
67 #include <ome/xml/model/ObjectiveSettings.h>
68 #include <ome/xml/model/Pixels.h>
69 #include <ome/xml/model/StageLabel.h>
70 #include <ome/xml/model/detail/OMEModelObject.h>
71 #include <ome/xml/model/primitives/Timestamp.h>
72 
73 namespace ome
74 {
75  namespace xml
76  {
77  namespace model
78  {
79 
80  // Forward declarations.
81  class Annotation;
82  class Dataset;
83  class MicrobeamManipulation;
84  class OMEModel;
85  class ROI;
86  class WellSample;
87 
92  {
93  private:
94  class Impl;
96  ome::compat::shared_ptr<Impl> impl;
97 
98  public:
100  Image();
101 
107  Image (const Image& copy);
108 
110  virtual
111  ~Image ();
112 
127  static ome::compat::shared_ptr< Image>
128  create(const common::xml::dom::Element& element,
130 
131  // Documented in superclass.
132  const std::string&
133  elementName() const;
134 
135  // Documented in superclass.
136  bool
137  validElementName(const std::string& name) const;
138 
139 
140  // -- OMEModelObject API methods --
141 
143  virtual void
144  update(const common::xml::dom::Element& element,
146 
147  public:
148  // -- Image API methods --
149 
151  bool
152  link (ome::compat::shared_ptr<Reference>& reference,
153  ome::compat::shared_ptr< ome::xml::model::OMEModelObject>& object);
154 
160  const std::string&
161  getID () const;
162 
168  void
169  setID (const std::string& id);
170 
176  ome::compat::shared_ptr<std::string>
177  getName ();
178 
184  const ome::compat::shared_ptr<std::string>
185  getName () const;
186 
192  void
193  setName (ome::compat::shared_ptr<std::string>& name);
194 
200  ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>
202 
208  const ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>
209  getAcquisitionDate () const;
210 
216  void
217  setAcquisitionDate (ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>& acquisitionDate);
218 
225  ome::compat::weak_ptr<ome::xml::model::Experimenter>
227 
234  const ome::compat::weak_ptr<ome::xml::model::Experimenter>
235  getLinkedExperimenter () const;
236 
242  void
243  linkExperimenter (ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
244 
254  void
255  unlinkExperimenter (ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
256 
262  ome::compat::shared_ptr<std::string>
263  getDescription ();
264 
270  const ome::compat::shared_ptr<std::string>
271  getDescription () const;
272 
278  void
279  setDescription (ome::compat::shared_ptr<std::string>& description);
280 
287  ome::compat::weak_ptr<ome::xml::model::Experiment>
289 
296  const ome::compat::weak_ptr<ome::xml::model::Experiment>
297  getLinkedExperiment () const;
298 
304  void
305  linkExperiment (ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment);
306 
316  void
317  unlinkExperiment (ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment);
318 
325  ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>
327 
334  const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>
336 
342  void
343  linkExperimenterGroup (ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup);
344 
354  void
355  unlinkExperimenterGroup (ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup);
356 
363  ome::compat::weak_ptr<ome::xml::model::Instrument>
365 
372  const ome::compat::weak_ptr<ome::xml::model::Instrument>
373  getLinkedInstrument () const;
374 
380  void
381  linkInstrument (ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument);
382 
392  void
393  unlinkInstrument (ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument);
394 
400  ome::compat::shared_ptr<ome::xml::model::ObjectiveSettings>
402 
408  const ome::compat::shared_ptr<ome::xml::model::ObjectiveSettings>
409  getObjectiveSettings () const;
410 
416  void
417  setObjectiveSettings (ome::compat::shared_ptr<ome::xml::model::ObjectiveSettings>& objectiveSettings);
418 
424  ome::compat::shared_ptr<ome::xml::model::ImagingEnvironment>
426 
432  const ome::compat::shared_ptr<ome::xml::model::ImagingEnvironment>
433  getImagingEnvironment () const;
434 
440  void
441  setImagingEnvironment (ome::compat::shared_ptr<ome::xml::model::ImagingEnvironment>& imagingEnvironment);
442 
448  ome::compat::shared_ptr<ome::xml::model::StageLabel>
449  getStageLabel ();
450 
456  const ome::compat::shared_ptr<ome::xml::model::StageLabel>
457  getStageLabel () const;
458 
464  void
465  setStageLabel (ome::compat::shared_ptr<ome::xml::model::StageLabel>& stageLabel);
466 
472  ome::compat::shared_ptr<ome::xml::model::Pixels>
473  getPixels ();
474 
480  const ome::compat::shared_ptr<ome::xml::model::Pixels>
481  getPixels () const;
482 
488  void
489  setPixels (ome::compat::shared_ptr<ome::xml::model::Pixels>& pixels);
490 
497  sizeOfLinkedROIList () const;
498 
505  getLinkedROIList () const;
506 
514  const ome::compat::weak_ptr<ome::xml::model::ROI>&
516 
527  const ome::compat::weak_ptr<ome::xml::model::ROI>&
529  const ome::compat::shared_ptr<ome::xml::model::ROI>& roi);
530 
541  bool
542  linkROI (const ome::compat::shared_ptr<ome::xml::model::ROI>& roi);
543 
559  bool
560  unlinkROI (const ome::compat::shared_ptr<ome::xml::model::ROI>& roi);
561 
569 
577 
585  const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
587 
598  const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
600  const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation);
601 
612  bool
613  linkMicrobeamManipulation (const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation);
614 
630  bool
631  unlinkMicrobeamManipulation (const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation);
632 
640 
647  getLinkedAnnotationList () const;
648 
656  const ome::compat::weak_ptr<ome::xml::model::Annotation>&
658 
669  const ome::compat::weak_ptr<ome::xml::model::Annotation>&
671  const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
672 
683  bool
684  linkAnnotation (const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
685 
701  bool
702  unlinkAnnotation (const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
703 
710  sizeOfLinkedDatasetList () const;
711 
718  getLinkedDatasetList () const;
719 
727  const ome::compat::weak_ptr<ome::xml::model::Dataset>&
729 
740  const ome::compat::weak_ptr<ome::xml::model::Dataset>&
742  const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
743 
754  bool
755  linkDataset (const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
756 
772  bool
773  unlinkDataset (const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
774 
782 
789  getLinkedWellSampleList () const;
790 
798  const ome::compat::weak_ptr<ome::xml::model::WellSample>&
800 
811  const ome::compat::weak_ptr<ome::xml::model::WellSample>&
813  const ome::compat::shared_ptr<ome::xml::model::WellSample>& wellSample_BackReference);
814 
825  bool
826  linkWellSample (const ome::compat::shared_ptr<ome::xml::model::WellSample>& wellSample_BackReference);
827 
843  bool
844  unlinkWellSample (const ome::compat::shared_ptr<ome::xml::model::WellSample>& wellSample_BackReference);
845 
846 
849  asXMLElement (common::xml::dom::Document& document) const;
850 
851 
852  protected:
853  // Documented in base class.
856  common::xml::dom::Element& element) const;
857 
858  public:
859  // Documented in superclass.
860  const std::string&
861  getXMLNamespace() const;
862  };
863 
864  }
865  }
866 }
867 
868 #endif // OME_XML_MODEL_IMAGE_H
869 
870 /*
871  * Local Variables:
872  * mode:C++
873  * End:
874  */
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
const ome::compat::weak_ptr< ome::xml::model::WellSample > & setLinkedWellSample(OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
Set linked WellSample.
Definition: Image.cpp:1174
OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type getLinkedMicrobeamManipulationList() const
Get the linked MicrobeamManipulation list.
Definition: Image.cpp:984
void setStageLabel(ome::compat::shared_ptr< ome::xml::model::StageLabel > &stageLabel)
Set the StageLabel property.
Definition: Image.cpp:890
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type sizeOfLinkedROIList() const
Get size of linked ROI list.
Definition: Image.cpp:918
ome::compat::shared_ptr< ome::xml::model::Pixels > getPixels()
Get the Pixels property.
Definition: Image.cpp:897
ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > getAcquisitionDate()
Get the AcquisitionDate property.
Definition: Image.cpp:676
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Image.cpp:1066
void unlinkExperiment(ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment)
Unlink Experiment.
Definition: Image.cpp:766
ome::compat::weak_ptr< ome::xml::model::Experimenter > getLinkedExperimenter()
Get linked Experimenter.
Definition: Image.cpp:697
const ome::compat::weak_ptr< ome::xml::model::Dataset > & getLinkedDataset(OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type index) const
Get linked Dataset.
Definition: Image.cpp:1110
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type getLinkedROIList() const
Get the linked ROI list.
Definition: Image.cpp:924
virtual common::xml::dom::Element asXMLElementInternal(common::xml::dom::Document &document, common::xml::dom::Element &element) const
Transform the object hierarchy rooted at this element to XML.
Definition: Image.cpp:1221
void setImagingEnvironment(ome::compat::shared_ptr< ome::xml::model::ImagingEnvironment > &imagingEnvironment)
Set the ImagingEnvironment property.
Definition: Image.cpp:869
const ome::compat::weak_ptr< ome::xml::model::WellSample > & getLinkedWellSample(OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index) const
Get linked WellSample.
Definition: Image.cpp:1168
void linkInstrument(ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument)
Link Instrument.
Definition: Image.cpp:818
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: Image.cpp:1038
bool linkWellSample(const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
Link WellSample.
Definition: Image.cpp:1184
bool unlinkROI(const ome::compat::shared_ptr< ome::xml::model::ROI > &roi)
Unlink ROI.
Definition: Image.cpp:960
ome::compat::shared_ptr< std::string > getName()
Get the Name property.
Definition: Image.cpp:655
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Image.cpp:1044
const ome::compat::weak_ptr< ome::xml::model::Dataset > & setLinkedDataset(OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Set linked Dataset.
Definition: Image.cpp:1116
void linkExperiment(ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment)
Link Experiment.
Definition: Image.cpp:760
void unlinkExperimenter(ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Unlink Experimenter.
Definition: Image.cpp:716
ome::compat::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: Image.cpp:726
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
Image model object.
Definition: Image.h:91
ome::compat::shared_ptr< ome::xml::model::StageLabel > getStageLabel()
Get the StageLabel property.
Definition: Image.cpp:876
boost::multi_index_container< Ptr< T >, boost::multi_index::indexed_by< boost::multi_index::random_access<>, boost::multi_index::ordered_unique< boost::multi_index::identity< Ptr< T > >, ome::compat::owner_less< Ptr< T > > > > > type
Multi-index container type.
Definition: OMEModelObject.h:94
const ome::compat::weak_ptr< ome::xml::model::ROI > & getLinkedROI(OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index) const
Get linked ROI.
Definition: Image.cpp:930
void unlinkInstrument(ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument)
Unlink Instrument.
Definition: Image.cpp:824
bool linkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Image.cpp:1126
Private implementation details of Image model object.
Definition: Image.cpp:119
void setID(const std::string &id)
Set the ID property.
Definition: Image.cpp:648
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Image.cpp:1104
bool linkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > &microbeamManipulation)
Link MicrobeamManipulation.
Definition: Image.cpp:1006
virtual void update(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Update the object hierarchy recursively from an XML DOM tree.
Definition: Image.cpp:320
Image()
Default constructor.
Definition: Image.cpp:271
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
void setName(ome::compat::shared_ptr< std::string > &name)
Set the Name property.
Definition: Image.cpp:669
Open Microscopy Environment C++ implementation.
void unlinkExperimenterGroup(ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup)
Unlink ExperimenterGroup.
Definition: Image.cpp:795
void setAcquisitionDate(ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > &acquisitionDate)
Set the AcquisitionDate property.
Definition: Image.cpp:690
ome::compat::weak_ptr< ome::xml::model::Instrument > getLinkedInstrument()
Get linked Instrument.
Definition: Image.cpp:805
const ome::compat::weak_ptr< ome::xml::model::Annotation > & setLinkedAnnotation(OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Set linked Annotation.
Definition: Image.cpp:1056
const std::string & getID() const
Get the ID property.
Definition: Image.cpp:641
bool linkROI(const ome::compat::shared_ptr< ome::xml::model::ROI > &roi)
Link ROI.
Definition: Image.cpp:946
bool unlinkWellSample(const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
Unlink WellSample.
Definition: Image.cpp:1197
ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > getLinkedExperimenterGroup()
Get linked ExperimenterGroup.
Definition: Image.cpp:776
bool unlinkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Image.cpp:1139
void setPixels(ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels)
Set the Pixels property.
Definition: Image.cpp:911
void linkExperimenterGroup(ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup)
Link ExperimenterGroup.
Definition: Image.cpp:789
ome::compat::shared_ptr< ome::xml::model::ObjectiveSettings > getObjectiveSettings()
Get the ObjectiveSettings property.
Definition: Image.cpp:834
const ome::compat::weak_ptr< ome::xml::model::ROI > & setLinkedROI(OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::ROI > &roi)
Set linked ROI.
Definition: Image.cpp:936
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Image.cpp:311
virtual ~Image()
Destructor.
Definition: Image.cpp:290
const ome::compat::weak_ptr< ome::xml::model::MicrobeamManipulation > & getLinkedMicrobeamManipulation(OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type::size_type index) const
Get linked MicrobeamManipulation.
Definition: Image.cpp:990
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type sizeOfLinkedDatasetList() const
Get size of linked Dataset list.
Definition: Image.cpp:1098
bool unlinkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > &microbeamManipulation)
Unlink MicrobeamManipulation.
Definition: Image.cpp:1020
void linkExperimenter(ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Link Experimenter.
Definition: Image.cpp:710
ome::compat::weak_ptr< ome::xml::model::Experiment > getLinkedExperiment()
Get linked Experiment.
Definition: Image.cpp:747
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Image.h:94
static ome::compat::shared_ptr< Image > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Image model object from DOM element.
Definition: Image.cpp:295
void setDescription(ome::compat::shared_ptr< std::string > &description)
Set the Description property.
Definition: Image.cpp:740
const ome::compat::weak_ptr< ome::xml::model::Annotation > & getLinkedAnnotation(OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index) const
Get linked Annotation.
Definition: Image.cpp:1050
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Image.cpp:1457
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Image.cpp:1214
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type sizeOfLinkedWellSampleList() const
Get size of linked WellSample list.
Definition: Image.cpp:1156
const std::string & elementName() const
Get the element name of this model object.
Definition: Image.cpp:304
const ome::compat::weak_ptr< ome::xml::model::MicrobeamManipulation > & setLinkedMicrobeamManipulation(OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > &microbeamManipulation)
Set linked MicrobeamManipulation.
Definition: Image.cpp:996
bool link(ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ome::xml::model::OMEModelObject > &object)
Link a given OME model object to this model object.
Definition: Image.cpp:534
ome::compat::shared_ptr< ome::xml::model::ImagingEnvironment > getImagingEnvironment()
Get the ImagingEnvironment property.
Definition: Image.cpp:855
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Image.cpp:1080
void setObjectiveSettings(ome::compat::shared_ptr< ome::xml::model::ObjectiveSettings > &objectiveSettings)
Set the ObjectiveSettings property.
Definition: Image.cpp:848
OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedMicrobeamManipulationList() const
Get size of linked MicrobeamManipulation list.
Definition: Image.cpp:978
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type getLinkedWellSampleList() const
Get the linked WellSample list.
Definition: Image.cpp:1162