ome-xml  5.2.2
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/primitives/Quantity.h>
63 
64 #include <ome/xml/model/Experiment.h>
65 #include <ome/xml/model/Experimenter.h>
66 #include <ome/xml/model/ExperimenterGroup.h>
67 #include <ome/xml/model/ImagingEnvironment.h>
68 #include <ome/xml/model/Instrument.h>
69 #include <ome/xml/model/ObjectiveSettings.h>
70 #include <ome/xml/model/Pixels.h>
71 #include <ome/xml/model/StageLabel.h>
72 #include <ome/xml/model/detail/OMEModelObject.h>
73 #include <ome/xml/model/primitives/Timestamp.h>
74 
75 namespace ome
76 {
77  namespace xml
78  {
79  namespace model
80  {
81 
82  // Forward declarations.
83  class Annotation;
84  class Dataset;
85  class Folder;
86  class MicrobeamManipulation;
87  class OMEModel;
88  class ROI;
89  class WellSample;
90 
95  {
96  private:
97  class Impl;
99  ome::compat::shared_ptr<Impl> impl;
100 
101  public:
103  Image();
104 
110  Image (const Image& copy);
111 
113  virtual
114  ~Image ();
115 
130  static ome::compat::shared_ptr< Image>
131  create(const common::xml::dom::Element& element,
133 
134  // Documented in superclass.
135  const std::string&
136  elementName() const;
137 
138  // Documented in superclass.
139  bool
140  validElementName(const std::string& name) const;
141 
142  private:
144  Image&
145  operator= (const Image&);
146 
147  public:
148  // -- OMEModelObject API methods --
149 
151  virtual void
152  update(const common::xml::dom::Element& element,
154 
155  public:
156  // -- Image API methods --
157 
159  bool
160  link (ome::compat::shared_ptr<Reference>& reference,
161  ome::compat::shared_ptr< ome::xml::model::OMEModelObject>& object);
162 
168  const std::string&
169  getID () const;
170 
176  void
177  setID (const std::string& id);
178 
184  ome::compat::shared_ptr<std::string>
185  getName ();
186 
192  const ome::compat::shared_ptr<std::string>
193  getName () const;
194 
200  void
201  setName (ome::compat::shared_ptr<std::string>& name);
202 
208  ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>
210 
216  const ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>
217  getAcquisitionDate () const;
218 
224  void
225  setAcquisitionDate (ome::compat::shared_ptr<ome::xml::model::primitives::Timestamp>& acquisitionDate);
226 
233  ome::compat::weak_ptr<ome::xml::model::Experimenter>
235 
242  const ome::compat::weak_ptr<ome::xml::model::Experimenter>
243  getLinkedExperimenter () const;
244 
250  void
251  linkExperimenter (ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
252 
262  void
263  unlinkExperimenter (ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
264 
270  ome::compat::shared_ptr<std::string>
271  getDescription ();
272 
278  const ome::compat::shared_ptr<std::string>
279  getDescription () const;
280 
286  void
287  setDescription (ome::compat::shared_ptr<std::string>& description);
288 
295  ome::compat::weak_ptr<ome::xml::model::Experiment>
297 
304  const ome::compat::weak_ptr<ome::xml::model::Experiment>
305  getLinkedExperiment () const;
306 
312  void
313  linkExperiment (ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment);
314 
324  void
325  unlinkExperiment (ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment);
326 
333  ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>
335 
342  const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>
344 
350  void
351  linkExperimenterGroup (ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup);
352 
362  void
363  unlinkExperimenterGroup (ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup);
364 
371  ome::compat::weak_ptr<ome::xml::model::Instrument>
373 
380  const ome::compat::weak_ptr<ome::xml::model::Instrument>
381  getLinkedInstrument () const;
382 
388  void
389  linkInstrument (ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument);
390 
400  void
401  unlinkInstrument (ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument);
402 
408  ome::compat::shared_ptr<ome::xml::model::ObjectiveSettings>
410 
416  const ome::compat::shared_ptr<ome::xml::model::ObjectiveSettings>
417  getObjectiveSettings () const;
418 
424  void
425  setObjectiveSettings (ome::compat::shared_ptr<ome::xml::model::ObjectiveSettings>& objectiveSettings);
426 
432  ome::compat::shared_ptr<ome::xml::model::ImagingEnvironment>
434 
440  const ome::compat::shared_ptr<ome::xml::model::ImagingEnvironment>
441  getImagingEnvironment () const;
442 
448  void
449  setImagingEnvironment (ome::compat::shared_ptr<ome::xml::model::ImagingEnvironment>& imagingEnvironment);
450 
456  ome::compat::shared_ptr<ome::xml::model::StageLabel>
457  getStageLabel ();
458 
464  const ome::compat::shared_ptr<ome::xml::model::StageLabel>
465  getStageLabel () const;
466 
472  void
473  setStageLabel (ome::compat::shared_ptr<ome::xml::model::StageLabel>& stageLabel);
474 
480  ome::compat::shared_ptr<ome::xml::model::Pixels>
481  getPixels ();
482 
488  const ome::compat::shared_ptr<ome::xml::model::Pixels>
489  getPixels () const;
490 
496  void
497  setPixels (ome::compat::shared_ptr<ome::xml::model::Pixels>& pixels);
498 
505  sizeOfLinkedROIList () const;
506 
513  getLinkedROIList () const;
514 
522  const ome::compat::weak_ptr<ome::xml::model::ROI>&
524 
535  const ome::compat::weak_ptr<ome::xml::model::ROI>&
537  const ome::compat::shared_ptr<ome::xml::model::ROI>& roi);
538 
549  bool
550  linkROI (const ome::compat::shared_ptr<ome::xml::model::ROI>& roi);
551 
567  bool
568  unlinkROI (const ome::compat::shared_ptr<ome::xml::model::ROI>& roi);
569 
577 
585 
593  const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
595 
606  const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
608  const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation);
609 
620  bool
621  linkMicrobeamManipulation (const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation);
622 
638  bool
639  unlinkMicrobeamManipulation (const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation);
640 
648 
655  getLinkedAnnotationList () const;
656 
664  const ome::compat::weak_ptr<ome::xml::model::Annotation>&
666 
677  const ome::compat::weak_ptr<ome::xml::model::Annotation>&
679  const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
680 
691  bool
692  linkAnnotation (const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
693 
709  bool
710  unlinkAnnotation (const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
711 
718  sizeOfLinkedDatasetList () const;
719 
726  getLinkedDatasetList () const;
727 
735  const ome::compat::weak_ptr<ome::xml::model::Dataset>&
737 
748  const ome::compat::weak_ptr<ome::xml::model::Dataset>&
750  const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
751 
762  bool
763  linkDataset (const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
764 
780  bool
781  unlinkDataset (const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
782 
789  sizeOfLinkedFolderList () const;
790 
797  getLinkedFolderList () const;
798 
806  const ome::compat::weak_ptr<ome::xml::model::Folder>&
808 
819  const ome::compat::weak_ptr<ome::xml::model::Folder>&
821  const ome::compat::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
822 
833  bool
834  linkFolder (const ome::compat::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
835 
851  bool
852  unlinkFolder (const ome::compat::shared_ptr<ome::xml::model::Folder>& folder_BackReference);
853 
861 
868  getLinkedWellSampleList () const;
869 
877  const ome::compat::weak_ptr<ome::xml::model::WellSample>&
879 
890  const ome::compat::weak_ptr<ome::xml::model::WellSample>&
892  const ome::compat::shared_ptr<ome::xml::model::WellSample>& wellSample_BackReference);
893 
904  bool
905  linkWellSample (const ome::compat::shared_ptr<ome::xml::model::WellSample>& wellSample_BackReference);
906 
922  bool
923  unlinkWellSample (const ome::compat::shared_ptr<ome::xml::model::WellSample>& wellSample_BackReference);
924 
927  asXMLElement (common::xml::dom::Document& document) const;
928 
929 
930  protected:
931  // Documented in base class.
934  common::xml::dom::Element& element) const;
935 
936  public:
937  // Documented in superclass.
938  const std::string&
939  getXMLNamespace() const;
940  };
941 
942  }
943  }
944 }
945 
946 #endif // OME_XML_MODEL_IMAGE_H
947 
948 /*
949  * Local Variables:
950  * mode:C++
951  * End:
952  */
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:1244
OMEModelObject::indexed_container< ome::xml::model::Folder, ome::compat::weak_ptr >::type getLinkedFolderList() const
Get the linked Folder list.
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:996
void setStageLabel(ome::compat::shared_ptr< ome::xml::model::StageLabel > &stageLabel)
Set the StageLabel property.
Definition: Image.cpp:902
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:930
ome::compat::shared_ptr< ome::xml::model::Pixels > getPixels()
Get the Pixels property.
Definition: Image.cpp:909
Image & operator=(const Image &)
Assignment operator (deleted).
ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > getAcquisitionDate()
Get the AcquisitionDate property.
Definition: Image.cpp:688
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Image.cpp:1078
void unlinkExperiment(ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment)
Unlink Experiment.
Definition: Image.cpp:778
ome::compat::weak_ptr< ome::xml::model::Experimenter > getLinkedExperimenter()
Get linked Experimenter.
Definition: Image.cpp:709
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:1122
bool unlinkFolder(const ome::compat::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Unlink Folder.
Definition: Image.cpp:1209
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type getLinkedROIList() const
Get the linked ROI list.
Definition: Image.cpp:936
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:1290
void setImagingEnvironment(ome::compat::shared_ptr< ome::xml::model::ImagingEnvironment > &imagingEnvironment)
Set the ImagingEnvironment property.
Definition: Image.cpp:881
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:1238
void linkInstrument(ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument)
Link Instrument.
Definition: Image.cpp:830
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:1050
bool linkWellSample(const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
Link WellSample.
Definition: Image.cpp:1254
bool unlinkROI(const ome::compat::shared_ptr< ome::xml::model::ROI > &roi)
Unlink ROI.
Definition: Image.cpp:972
ome::compat::shared_ptr< std::string > getName()
Get the Name property.
Definition: Image.cpp:667
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Image.cpp:1056
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:1128
void linkExperiment(ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment)
Link Experiment.
Definition: Image.cpp:772
OMEModelObject::indexed_container< ome::xml::model::Folder, ome::compat::weak_ptr >::type::size_type sizeOfLinkedFolderList() const
Get size of linked Folder list.
Definition: Image.cpp:1168
void unlinkExperimenter(ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Unlink Experimenter.
Definition: Image.cpp:728
ome::compat::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: Image.cpp:738
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
Image model object.
Definition: Image.h:94
ome::compat::shared_ptr< ome::xml::model::StageLabel > getStageLabel()
Get the StageLabel property.
Definition: Image.cpp:888
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:942
void unlinkInstrument(ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument)
Unlink Instrument.
Definition: Image.cpp:836
bool linkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Image.cpp:1138
Private implementation details of Image model object.
Definition: Image.cpp:125
void setID(const std::string &id)
Set the ID property.
Definition: Image.cpp:660
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Image.cpp:1116
bool linkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > &microbeamManipulation)
Link MicrobeamManipulation.
Definition: Image.cpp:1018
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:331
Image()
Default constructor.
Definition: Image.cpp:283
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:681
Open Microscopy Environment C++ implementation.
void unlinkExperimenterGroup(ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup)
Unlink ExperimenterGroup.
Definition: Image.cpp:807
void setAcquisitionDate(ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > &acquisitionDate)
Set the AcquisitionDate property.
Definition: Image.cpp:702
ome::compat::weak_ptr< ome::xml::model::Instrument > getLinkedInstrument()
Get linked Instrument.
Definition: Image.cpp:817
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:1068
const std::string & getID() const
Get the ID property.
Definition: Image.cpp:653
bool linkROI(const ome::compat::shared_ptr< ome::xml::model::ROI > &roi)
Link ROI.
Definition: Image.cpp:958
bool unlinkWellSample(const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
Unlink WellSample.
Definition: Image.cpp:1267
ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > getLinkedExperimenterGroup()
Get linked ExperimenterGroup.
Definition: Image.cpp:788
bool unlinkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Image.cpp:1151
void setPixels(ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels)
Set the Pixels property.
Definition: Image.cpp:923
void linkExperimenterGroup(ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup)
Link ExperimenterGroup.
Definition: Image.cpp:801
ome::compat::shared_ptr< ome::xml::model::ObjectiveSettings > getObjectiveSettings()
Get the ObjectiveSettings property.
Definition: Image.cpp:846
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:948
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Image.cpp:323
virtual ~Image()
Destructor.
Definition: Image.cpp:302
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:1002
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:1110
bool unlinkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > &microbeamManipulation)
Unlink MicrobeamManipulation.
Definition: Image.cpp:1032
void linkExperimenter(ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Link Experimenter.
Definition: Image.cpp:722
bool linkFolder(const ome::compat::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Link Folder.
Definition: Image.cpp:1196
ome::compat::weak_ptr< ome::xml::model::Experiment > getLinkedExperiment()
Get linked Experiment.
Definition: Image.cpp:759
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Image.h:97
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:307
void setDescription(ome::compat::shared_ptr< std::string > &description)
Set the Description property.
Definition: Image.cpp:752
const ome::compat::weak_ptr< ome::xml::model::Folder > & getLinkedFolder(OMEModelObject::indexed_container< ome::xml::model::Folder, ome::compat::weak_ptr >::type::size_type index) const
Get linked Folder.
Definition: Image.cpp:1180
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:1062
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Image.cpp:1528
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:1283
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:1226
const std::string & elementName() const
Get the element name of this model object.
Definition: Image.cpp:316
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:1008
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:546
ome::compat::shared_ptr< ome::xml::model::ImagingEnvironment > getImagingEnvironment()
Get the ImagingEnvironment property.
Definition: Image.cpp:867
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Image.cpp:1092
void setObjectiveSettings(ome::compat::shared_ptr< ome::xml::model::ObjectiveSettings > &objectiveSettings)
Set the ObjectiveSettings property.
Definition: Image.cpp:860
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:990
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type getLinkedWellSampleList() const
Get the linked WellSample list.
Definition: Image.cpp:1232
const ome::compat::weak_ptr< ome::xml::model::Folder > & setLinkedFolder(OMEModelObject::indexed_container< ome::xml::model::Folder, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Folder > &folder_BackReference)
Set linked Folder.
Definition: Image.cpp:1186