ome-xml 5.2.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

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
91 class Image : public detail::OMEModelObject
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,
129 ome::xml::model::OMEModel& model);
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,
145 ome::xml::model::OMEModel& model);
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>
201 getAcquisitionDate ();
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>
226 getLinkedExperimenter ();
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>
288 getLinkedExperiment ();
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>
326 getLinkedExperimenterGroup ();
327
334 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>
335 getLinkedExperimenterGroup () const;
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>
364 getLinkedInstrument ();
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>
401 getObjectiveSettings ();
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>
425 getImagingEnvironment ();
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
496 OMEModelObject::indexed_container<ome::xml::model::ROI, ome::compat::weak_ptr>::type::size_type
497 sizeOfLinkedROIList () const;
498
504 OMEModelObject::indexed_container<ome::xml::model::ROI, ome::compat::weak_ptr>::type
505 getLinkedROIList () const;
506
514 const ome::compat::weak_ptr<ome::xml::model::ROI>&
515 getLinkedROI (OMEModelObject::indexed_container<ome::xml::model::ROI, ome::compat::weak_ptr>::type::size_type index) const;
516
527 const ome::compat::weak_ptr<ome::xml::model::ROI>&
528 setLinkedROI (OMEModelObject::indexed_container<ome::xml::model::ROI, ome::compat::weak_ptr>::type::size_type index,
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
567 OMEModelObject::indexed_container<ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr>::type::size_type
568 sizeOfLinkedMicrobeamManipulationList () const;
569
575 OMEModelObject::indexed_container<ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr>::type
576 getLinkedMicrobeamManipulationList () const;
577
585 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
586 getLinkedMicrobeamManipulation (OMEModelObject::indexed_container<ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr>::type::size_type index) const;
587
598 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
599 setLinkedMicrobeamManipulation (OMEModelObject::indexed_container<ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr>::type::size_type index,
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
638 OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type::size_type
639 sizeOfLinkedAnnotationList () const;
640
646 OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type
647 getLinkedAnnotationList () const;
648
656 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
657 getLinkedAnnotation (OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type::size_type index) const;
658
669 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
670 setLinkedAnnotation (OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type::size_type index,
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
709 OMEModelObject::indexed_container<ome::xml::model::Dataset, ome::compat::weak_ptr>::type::size_type
710 sizeOfLinkedDatasetList () const;
711
717 OMEModelObject::indexed_container<ome::xml::model::Dataset, ome::compat::weak_ptr>::type
718 getLinkedDatasetList () const;
719
727 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
728 getLinkedDataset (OMEModelObject::indexed_container<ome::xml::model::Dataset, ome::compat::weak_ptr>::type::size_type index) const;
729
740 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
741 setLinkedDataset (OMEModelObject::indexed_container<ome::xml::model::Dataset, ome::compat::weak_ptr>::type::size_type index,
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
780 OMEModelObject::indexed_container<ome::xml::model::WellSample, ome::compat::weak_ptr>::type::size_type
781 sizeOfLinkedWellSampleList () const;
782
788 OMEModelObject::indexed_container<ome::xml::model::WellSample, ome::compat::weak_ptr>::type
789 getLinkedWellSampleList () const;
790
798 const ome::compat::weak_ptr<ome::xml::model::WellSample>&
799 getLinkedWellSample (OMEModelObject::indexed_container<ome::xml::model::WellSample, ome::compat::weak_ptr>::type::size_type index) const;
800
811 const ome::compat::weak_ptr<ome::xml::model::WellSample>&
812 setLinkedWellSample (OMEModelObject::indexed_container<ome::xml::model::WellSample, ome::compat::weak_ptr>::type::size_type index,
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
848 virtual common::xml::dom::Element
849 asXMLElement (common::xml::dom::Document& document) const;
850
851
852 protected:
853 // Documented in base class.
854 virtual common::xml::dom::Element
855 asXMLElementInternal (common::xml::dom::Document& document,
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::xml::model::OMEModel
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::xml::model::Image::setLinkedWellSample
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
ome::xml::model::Image::getLinkedMicrobeamManipulationList
OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type getLinkedMicrobeamManipulationList() const
Get the linked MicrobeamManipulation list.
Definition: Image.cpp:984
ome::xml::model::Image::setStageLabel
void setStageLabel(ome::compat::shared_ptr< ome::xml::model::StageLabel > &stageLabel)
Set the StageLabel property.
Definition: Image.cpp:890
ome::xml::model::Image::sizeOfLinkedROIList
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::xml::model::Image::getPixels
ome::compat::shared_ptr< ome::xml::model::Pixels > getPixels()
Get the Pixels property.
Definition: Image.cpp:897
ome::xml::model::Image::getAcquisitionDate
ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > getAcquisitionDate()
Get the AcquisitionDate property.
Definition: Image.cpp:676
ome::xml::model::Image::linkAnnotation
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Image.cpp:1066
ome::xml::model::Image::unlinkExperiment
void unlinkExperiment(ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment)
Unlink Experiment.
Definition: Image.cpp:766
ome::xml::model::Image::getLinkedExperimenter
ome::compat::weak_ptr< ome::xml::model::Experimenter > getLinkedExperimenter()
Get linked Experimenter.
Definition: Image.cpp:697
ome::xml::model::Image::getLinkedDataset
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
ome::xml::model::Image::getLinkedROIList
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type getLinkedROIList() const
Get the linked ROI list.
Definition: Image.cpp:924
ome::xml::model::Image::asXMLElementInternal
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
ome::xml::model::Image::setImagingEnvironment
void setImagingEnvironment(ome::compat::shared_ptr< ome::xml::model::ImagingEnvironment > &imagingEnvironment)
Set the ImagingEnvironment property.
Definition: Image.cpp:869
ome::xml::model::Image::getLinkedWellSample
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
ome::xml::model::Image::linkInstrument
void linkInstrument(ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument)
Link Instrument.
Definition: Image.cpp:818
ome::xml::model::Image::sizeOfLinkedAnnotationList
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
ome::xml::model::Image::linkWellSample
bool linkWellSample(const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
Link WellSample.
Definition: Image.cpp:1184
ome::xml::model::Image::unlinkROI
bool unlinkROI(const ome::compat::shared_ptr< ome::xml::model::ROI > &roi)
Unlink ROI.
Definition: Image.cpp:960
ome::xml::model::Image::getName
ome::compat::shared_ptr< std::string > getName()
Get the Name property.
Definition: Image.cpp:655
ome::xml::model::Image::getLinkedAnnotationList
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Image.cpp:1044
ome::xml::model::Image::setLinkedDataset
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
ome::xml::model::Image::linkExperiment
void linkExperiment(ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment)
Link Experiment.
Definition: Image.cpp:760
ome::common::xml::dom::Document
ome::xml::model::Image::unlinkExperimenter
void unlinkExperimenter(ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Unlink Experimenter.
Definition: Image.cpp:716
ome::xml::model::Image::getDescription
ome::compat::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: Image.cpp:726
ome::common::xml::dom::Element
ome::xml::model::detail::OMEModelObject
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
ome::xml::model::Image
Image model object.
Definition: Image.h:91
ome::xml::model::Image::getStageLabel
ome::compat::shared_ptr< ome::xml::model::StageLabel > getStageLabel()
Get the StageLabel property.
Definition: Image.cpp:876
ome::xml::model::OMEModelObject::indexed_container::type
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
ome::xml::model::Image::getLinkedROI
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
ome::xml::model::Image::unlinkInstrument
void unlinkInstrument(ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument)
Unlink Instrument.
Definition: Image.cpp:824
ome::xml::model::Image::linkDataset
bool linkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Image.cpp:1126
ome::xml::model::Image::Impl
Private implementation details of Image model object.
Definition: Image.cpp:119
ome::xml::model::Image::setID
void setID(const std::string &id)
Set the ID property.
Definition: Image.cpp:648
ome::xml::model::Image::getLinkedDatasetList
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Image.cpp:1104
ome::xml::model::Image::linkMicrobeamManipulation
bool linkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > &microbeamManipulation)
Link MicrobeamManipulation.
Definition: Image.cpp:1006
ome::xml::model::Image::update
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
ome::xml::model::Image::Image
Image()
Default constructor.
Definition: Image.cpp:271
ome::xml::model::OMEModelObject::indexed_container
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
ome::xml::model::Image::setName
void setName(ome::compat::shared_ptr< std::string > &name)
Set the Name property.
Definition: Image.cpp:669
ome
Open Microscopy Environment C++ implementation.
ome::xml::model::Image::unlinkExperimenterGroup
void unlinkExperimenterGroup(ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup)
Unlink ExperimenterGroup.
Definition: Image.cpp:795
ome::xml::model::Image::setAcquisitionDate
void setAcquisitionDate(ome::compat::shared_ptr< ome::xml::model::primitives::Timestamp > &acquisitionDate)
Set the AcquisitionDate property.
Definition: Image.cpp:690
ome::xml::model::Image::getLinkedInstrument
ome::compat::weak_ptr< ome::xml::model::Instrument > getLinkedInstrument()
Get linked Instrument.
Definition: Image.cpp:805
ome::xml::model::Image::setLinkedAnnotation
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
ome::xml::model::Image::getID
const std::string & getID() const
Get the ID property.
Definition: Image.cpp:641
ome::xml::model::Image::linkROI
bool linkROI(const ome::compat::shared_ptr< ome::xml::model::ROI > &roi)
Link ROI.
Definition: Image.cpp:946
ome::xml::model::Image::unlinkWellSample
bool unlinkWellSample(const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
Unlink WellSample.
Definition: Image.cpp:1197
ome::xml::model::Image::getLinkedExperimenterGroup
ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > getLinkedExperimenterGroup()
Get linked ExperimenterGroup.
Definition: Image.cpp:776
ome::xml::model::Image::unlinkDataset
bool unlinkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Image.cpp:1139
ome::xml::model::Image::setPixels
void setPixels(ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels)
Set the Pixels property.
Definition: Image.cpp:911
ome::xml::model::Image::linkExperimenterGroup
void linkExperimenterGroup(ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup)
Link ExperimenterGroup.
Definition: Image.cpp:789
ome::xml::model::Image::getObjectiveSettings
ome::compat::shared_ptr< ome::xml::model::ObjectiveSettings > getObjectiveSettings()
Get the ObjectiveSettings property.
Definition: Image.cpp:834
ome::xml::model::Image::setLinkedROI
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
ome::xml::model::Image::validElementName
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
ome::xml::model::Image::~Image
virtual ~Image()
Destructor.
Definition: Image.cpp:290
ome::xml::model::Image::getLinkedMicrobeamManipulation
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
ome::xml::model::Image::sizeOfLinkedDatasetList
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
ome::xml::model::Image::unlinkMicrobeamManipulation
bool unlinkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > &microbeamManipulation)
Unlink MicrobeamManipulation.
Definition: Image.cpp:1020
ome::xml::model::Image::linkExperimenter
void linkExperimenter(ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Link Experimenter.
Definition: Image.cpp:710
ome::xml::model::Image::getLinkedExperiment
ome::compat::weak_ptr< ome::xml::model::Experiment > getLinkedExperiment()
Get linked Experiment.
Definition: Image.cpp:747
ome::xml::model::Image::impl
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Image.h:94
ome::xml::model::Image::create
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
ome::xml::model::Image::setDescription
void setDescription(ome::compat::shared_ptr< std::string > &description)
Set the Description property.
Definition: Image.cpp:740
ome::xml::model::Image::getLinkedAnnotation
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
ome::xml::model::Image::getXMLNamespace
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Image.cpp:1457
ome::xml::model::Image::asXMLElement
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
ome::xml::model::Image::sizeOfLinkedWellSampleList
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
log.h
ome::xml::model::Image::elementName
const std::string & elementName() const
Get the element name of this model object.
Definition: Image.cpp:304
ome::xml::model::Image::setLinkedMicrobeamManipulation
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
ome::xml::model::Image::link
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::xml::model::Image::getImagingEnvironment
ome::compat::shared_ptr< ome::xml::model::ImagingEnvironment > getImagingEnvironment()
Get the ImagingEnvironment property.
Definition: Image.cpp:855
ome::xml::model::Image::unlinkAnnotation
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Image.cpp:1080
ome::xml::model::Image::setObjectiveSettings
void setObjectiveSettings(ome::compat::shared_ptr< ome::xml::model::ObjectiveSettings > &objectiveSettings)
Set the ObjectiveSettings property.
Definition: Image.cpp:848
ome::xml::model::Image::sizeOfLinkedMicrobeamManipulationList
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
ome::xml::model::Image::getLinkedWellSampleList
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type getLinkedWellSampleList() const
Get the linked WellSample list.
Definition: Image.cpp:1162