bioformats  5.1.3
Instrument.h
1 /*
2  * #%L
3  * OME-XML C++ library for working with OME-XML metadata structures.
4  * %%
5  * Copyright © 2006 - 2015 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_INSTRUMENT_H
47 #define OME_XML_MODEL_INSTRUMENT_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/Microscope.h>
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 Detector;
74  class Dichroic;
75  class Filter;
76  class FilterSet;
77  class Image;
78  class LightSource;
79  class OMEModel;
80  class Objective;
81 
86  {
87  private:
89  std::string id;
91  ome::compat::shared_ptr<ome::xml::model::Microscope> microscope;
93  std::vector<ome::compat::shared_ptr<ome::xml::model::LightSource> > lightSources;
95  std::vector<ome::compat::shared_ptr<ome::xml::model::Detector> > detectors;
97  std::vector<ome::compat::shared_ptr<ome::xml::model::Objective> > objectives;
99  std::vector<ome::compat::shared_ptr<ome::xml::model::FilterSet> > filterSets;
101  std::vector<ome::compat::shared_ptr<ome::xml::model::Filter> > filters;
103  std::vector<ome::compat::shared_ptr<ome::xml::model::Dichroic> > dichroics;
106 
107  public:
109  Instrument ();
110 
116  Instrument (const Instrument& copy);
117 
119  virtual
120  ~Instrument ();
121 
122 
123 
138  static ome::compat::shared_ptr< Instrument>
139  create(const common::xml::dom::Element& element,
141 
142  // Documented in superclass.
143  const std::string&
144  elementName() const;
145 
146  // Documented in superclass.
147  bool
148  validElementName(const std::string& name) const;
149 
150 
151  // -- OMEModelObject API methods --
152 
154  virtual void
155  update(const common::xml::dom::Element& element,
157 
158  public:
159  // -- Instrument API methods --
160 
162  bool
163  link (ome::compat::shared_ptr<Reference>& reference,
164  ome::compat::shared_ptr< ome::xml::model::OMEModelObject>& object);
165 
171  const std::string&
172  getID () const;
173 
179  void
180  setID (const std::string& id);
181 
187  ome::compat::shared_ptr<ome::xml::model::Microscope>
188  getMicroscope ();
189 
195  const ome::compat::shared_ptr<ome::xml::model::Microscope>
196  getMicroscope () const;
197 
203  void
204  setMicroscope (ome::compat::shared_ptr<ome::xml::model::Microscope>& microscope);
205 
211  std::vector<ome::compat::shared_ptr<ome::xml::model::LightSource> >::size_type
212  sizeOfLightSourceList () const;
213 
220  std::vector<ome::compat::shared_ptr<ome::xml::model::LightSource> >&
222 
229  const std::vector<ome::compat::shared_ptr<ome::xml::model::LightSource> >&
230  getLightSourceList () const;
231 
239  ome::compat::shared_ptr<ome::xml::model::LightSource>&
240  getLightSource (std::vector<ome::compat::shared_ptr<ome::xml::model::LightSource> >::size_type index);
241 
249  const ome::compat::shared_ptr<ome::xml::model::LightSource>&
250  getLightSource (std::vector<ome::compat::shared_ptr<ome::xml::model::LightSource> >::size_type index) const;
251 
259  void
260  setLightSource (std::vector<ome::compat::shared_ptr<ome::xml::model::LightSource> >::size_type index,
261  ome::compat::shared_ptr<ome::xml::model::LightSource>& lightSource);
262 
271  void
272  addLightSource (ome::compat::shared_ptr<ome::xml::model::LightSource>& lightSource);
273 
283  void
284  removeLightSource (ome::compat::shared_ptr<ome::xml::model::LightSource>& lightSource);
285 
291  std::vector<ome::compat::shared_ptr<ome::xml::model::Detector> >::size_type
292  sizeOfDetectorList () const;
293 
300  std::vector<ome::compat::shared_ptr<ome::xml::model::Detector> >&
301  getDetectorList ();
302 
309  const std::vector<ome::compat::shared_ptr<ome::xml::model::Detector> >&
310  getDetectorList () const;
311 
319  ome::compat::shared_ptr<ome::xml::model::Detector>&
320  getDetector (std::vector<ome::compat::shared_ptr<ome::xml::model::Detector> >::size_type index);
321 
329  const ome::compat::shared_ptr<ome::xml::model::Detector>&
330  getDetector (std::vector<ome::compat::shared_ptr<ome::xml::model::Detector> >::size_type index) const;
331 
339  void
340  setDetector (std::vector<ome::compat::shared_ptr<ome::xml::model::Detector> >::size_type index,
341  ome::compat::shared_ptr<ome::xml::model::Detector>& detector);
342 
351  void
352  addDetector (ome::compat::shared_ptr<ome::xml::model::Detector>& detector);
353 
363  void
364  removeDetector (ome::compat::shared_ptr<ome::xml::model::Detector>& detector);
365 
371  std::vector<ome::compat::shared_ptr<ome::xml::model::Objective> >::size_type
372  sizeOfObjectiveList () const;
373 
380  std::vector<ome::compat::shared_ptr<ome::xml::model::Objective> >&
381  getObjectiveList ();
382 
389  const std::vector<ome::compat::shared_ptr<ome::xml::model::Objective> >&
390  getObjectiveList () const;
391 
399  ome::compat::shared_ptr<ome::xml::model::Objective>&
400  getObjective (std::vector<ome::compat::shared_ptr<ome::xml::model::Objective> >::size_type index);
401 
409  const ome::compat::shared_ptr<ome::xml::model::Objective>&
410  getObjective (std::vector<ome::compat::shared_ptr<ome::xml::model::Objective> >::size_type index) const;
411 
419  void
420  setObjective (std::vector<ome::compat::shared_ptr<ome::xml::model::Objective> >::size_type index,
421  ome::compat::shared_ptr<ome::xml::model::Objective>& objective);
422 
431  void
432  addObjective (ome::compat::shared_ptr<ome::xml::model::Objective>& objective);
433 
443  void
444  removeObjective (ome::compat::shared_ptr<ome::xml::model::Objective>& objective);
445 
451  std::vector<ome::compat::shared_ptr<ome::xml::model::FilterSet> >::size_type
452  sizeOfFilterSetList () const;
453 
460  std::vector<ome::compat::shared_ptr<ome::xml::model::FilterSet> >&
461  getFilterSetList ();
462 
469  const std::vector<ome::compat::shared_ptr<ome::xml::model::FilterSet> >&
470  getFilterSetList () const;
471 
479  ome::compat::shared_ptr<ome::xml::model::FilterSet>&
480  getFilterSet (std::vector<ome::compat::shared_ptr<ome::xml::model::FilterSet> >::size_type index);
481 
489  const ome::compat::shared_ptr<ome::xml::model::FilterSet>&
490  getFilterSet (std::vector<ome::compat::shared_ptr<ome::xml::model::FilterSet> >::size_type index) const;
491 
499  void
500  setFilterSet (std::vector<ome::compat::shared_ptr<ome::xml::model::FilterSet> >::size_type index,
501  ome::compat::shared_ptr<ome::xml::model::FilterSet>& filterSet);
502 
511  void
512  addFilterSet (ome::compat::shared_ptr<ome::xml::model::FilterSet>& filterSet);
513 
523  void
524  removeFilterSet (ome::compat::shared_ptr<ome::xml::model::FilterSet>& filterSet);
525 
531  std::vector<ome::compat::shared_ptr<ome::xml::model::Filter> >::size_type
532  sizeOfFilterList () const;
533 
540  std::vector<ome::compat::shared_ptr<ome::xml::model::Filter> >&
541  getFilterList ();
542 
549  const std::vector<ome::compat::shared_ptr<ome::xml::model::Filter> >&
550  getFilterList () const;
551 
559  ome::compat::shared_ptr<ome::xml::model::Filter>&
560  getFilter (std::vector<ome::compat::shared_ptr<ome::xml::model::Filter> >::size_type index);
561 
569  const ome::compat::shared_ptr<ome::xml::model::Filter>&
570  getFilter (std::vector<ome::compat::shared_ptr<ome::xml::model::Filter> >::size_type index) const;
571 
579  void
580  setFilter (std::vector<ome::compat::shared_ptr<ome::xml::model::Filter> >::size_type index,
581  ome::compat::shared_ptr<ome::xml::model::Filter>& filter);
582 
591  void
592  addFilter (ome::compat::shared_ptr<ome::xml::model::Filter>& filter);
593 
603  void
604  removeFilter (ome::compat::shared_ptr<ome::xml::model::Filter>& filter);
605 
611  std::vector<ome::compat::shared_ptr<ome::xml::model::Dichroic> >::size_type
612  sizeOfDichroicList () const;
613 
620  std::vector<ome::compat::shared_ptr<ome::xml::model::Dichroic> >&
621  getDichroicList ();
622 
629  const std::vector<ome::compat::shared_ptr<ome::xml::model::Dichroic> >&
630  getDichroicList () const;
631 
639  ome::compat::shared_ptr<ome::xml::model::Dichroic>&
640  getDichroic (std::vector<ome::compat::shared_ptr<ome::xml::model::Dichroic> >::size_type index);
641 
649  const ome::compat::shared_ptr<ome::xml::model::Dichroic>&
650  getDichroic (std::vector<ome::compat::shared_ptr<ome::xml::model::Dichroic> >::size_type index) const;
651 
659  void
660  setDichroic (std::vector<ome::compat::shared_ptr<ome::xml::model::Dichroic> >::size_type index,
661  ome::compat::shared_ptr<ome::xml::model::Dichroic>& dichroic);
662 
671  void
672  addDichroic (ome::compat::shared_ptr<ome::xml::model::Dichroic>& dichroic);
673 
683  void
684  removeDichroic (ome::compat::shared_ptr<ome::xml::model::Dichroic>& dichroic);
685 
692  sizeOfLinkedImageList () const;
693 
700  getLinkedImageList () const;
701 
709  const ome::compat::weak_ptr<ome::xml::model::Image>&
711 
722  const ome::compat::weak_ptr<ome::xml::model::Image>&
724  const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
725 
736  bool
737  linkImage (const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
738 
754  bool
755  unlinkImage (const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
756 
757 
760  asXMLElement (common::xml::dom::Document& document) const;
761 
762 
763  protected:
764  // Documented in base class.
767  common::xml::dom::Element& element) const;
768 
769  public:
770  // Documented in superclass.
771  const std::string&
772  getXMLNamespace() const;
773  };
774 
775  }
776  }
777 }
778 
779 #endif // OME_XML_MODEL_INSTRUMENT_H
780 
781 /*
782  * Local Variables:
783  * mode:C++
784  * End:
785  */
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
void setMicroscope(ome::compat::shared_ptr< ome::xml::model::Microscope > &microscope)
Set the Microscope property.
Definition: Instrument.cpp:418
std::vector< ome::compat::shared_ptr< ome::xml::model::Dichroic > >::size_type sizeOfDichroicList() const
Get size of linked Dichroic list.
Definition: Instrument.cpp:715
std::vector< ome::compat::shared_ptr< ome::xml::model::FilterSet > > & getFilterSetList()
Get the FilterSet list.
Definition: Instrument.cpp:605
Instrument model object.
Definition: Instrument.h:85
std::vector< ome::compat::shared_ptr< ome::xml::model::FilterSet > > filterSets
FilterSet property (occurs more than once)
Definition: Instrument.h:99
bool linkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Link Image.
Definition: Instrument.cpp:801
std::vector< ome::compat::shared_ptr< ome::xml::model::Objective > >::size_type sizeOfObjectiveList() const
Get size of linked Objective list.
Definition: Instrument.cpp:541
DOM Document wrapper.
Definition: Document.h:82
DOM Element wrapper.
Definition: Element.h:66
virtual ~Instrument()
Destructor.
Definition: Instrument.cpp:184
void removeFilterSet(ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet)
Remove FilterSet.
Definition: Instrument.cpp:646
void addDichroic(ome::compat::shared_ptr< ome::xml::model::Dichroic > &dichroic)
Add Dichroic.
Definition: Instrument.cpp:754
std::vector< ome::compat::shared_ptr< ome::xml::model::Filter > > & getFilterList()
Get the Filter list.
Definition: Instrument.cpp:663
void addFilter(ome::compat::shared_ptr< ome::xml::model::Filter > &filter)
Add Filter.
Definition: Instrument.cpp:696
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
void setID(const std::string &id)
Set the ID property.
Definition: Instrument.cpp:397
void removeFilter(ome::compat::shared_ptr< ome::xml::model::Filter > &filter)
Remove Filter.
Definition: Instrument.cpp:704
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
void addFilterSet(ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet)
Add FilterSet.
Definition: Instrument.cpp:638
std::vector< ome::compat::shared_ptr< ome::xml::model::Filter > >::size_type sizeOfFilterList() const
Get size of linked Filter list.
Definition: Instrument.cpp:657
void addObjective(ome::compat::shared_ptr< ome::xml::model::Objective > &objective)
Add Objective.
Definition: Instrument.cpp:580
std::vector< ome::compat::shared_ptr< ome::xml::model::Dichroic > > & getDichroicList()
Get the Dichroic list.
Definition: Instrument.cpp:721
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: Instrument.cpp:214
std::vector< ome::compat::shared_ptr< ome::xml::model::Detector > >::size_type sizeOfDetectorList() const
Get size of linked Detector list.
Definition: Instrument.cpp:483
bool unlinkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Unlink Image.
Definition: Instrument.cpp:814
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: Instrument.cpp:375
void setDichroic(std::vector< ome::compat::shared_ptr< ome::xml::model::Dichroic > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Dichroic > &dichroic)
Set Dichroic.
Definition: Instrument.cpp:745
std::vector< ome::compat::shared_ptr< ome::xml::model::FilterSet > >::size_type sizeOfFilterSetList() const
Get size of linked FilterSet list.
Definition: Instrument.cpp:599
ome::compat::shared_ptr< ome::xml::model::Objective > & getObjective(std::vector< ome::compat::shared_ptr< ome::xml::model::Objective > >::size_type index)
Get Objective.
Definition: Instrument.cpp:559
std::vector< ome::compat::shared_ptr< ome::xml::model::Filter > > filters
Filter property (occurs more than once)
Definition: Instrument.h:101
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Instrument.cpp:831
std::vector< ome::compat::shared_ptr< ome::xml::model::Detector > > & getDetectorList()
Get the Detector list.
Definition: Instrument.cpp:489
std::vector< ome::compat::shared_ptr< ome::xml::model::Objective > > & getObjectiveList()
Get the Objective list.
Definition: Instrument.cpp:547
std::string id
ID property.
Definition: Instrument.h:89
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Instrument.cpp:969
ome::compat::shared_ptr< ome::xml::model::FilterSet > & getFilterSet(std::vector< ome::compat::shared_ptr< ome::xml::model::FilterSet > >::size_type index)
Get FilterSet.
Definition: Instrument.cpp:617
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
void addDetector(ome::compat::shared_ptr< ome::xml::model::Detector > &detector)
Add Detector.
Definition: Instrument.cpp:522
ome::compat::shared_ptr< ome::xml::model::LightSource > & getLightSource(std::vector< ome::compat::shared_ptr< ome::xml::model::LightSource > >::size_type index)
Get LightSource.
Definition: Instrument.cpp:443
void setLightSource(std::vector< ome::compat::shared_ptr< ome::xml::model::LightSource > >::size_type index, ome::compat::shared_ptr< ome::xml::model::LightSource > &lightSource)
Set LightSource.
Definition: Instrument.cpp:455
void removeLightSource(ome::compat::shared_ptr< ome::xml::model::LightSource > &lightSource)
Remove LightSource.
Definition: Instrument.cpp:472
std::vector< ome::compat::shared_ptr< ome::xml::model::Dichroic > > dichroics
Dichroic property (occurs more than once)
Definition: Instrument.h:103
std::vector< ome::compat::shared_ptr< ome::xml::model::LightSource > > & getLightSourceList()
Get the LightSource list.
Definition: Instrument.cpp:431
void removeDetector(ome::compat::shared_ptr< ome::xml::model::Detector > &detector)
Remove Detector.
Definition: Instrument.cpp:530
const std::string & elementName() const
Get the element name of this model object.
Definition: Instrument.cpp:198
std::vector< ome::compat::shared_ptr< ome::xml::model::Detector > > detectors
Detector property (occurs more than once)
Definition: Instrument.h:95
ome::compat::shared_ptr< ome::xml::model::Detector > & getDetector(std::vector< ome::compat::shared_ptr< ome::xml::model::Detector > >::size_type index)
Get Detector.
Definition: Instrument.cpp:501
const std::string & getID() const
Get the ID property.
Definition: Instrument.cpp:390
void setFilter(std::vector< ome::compat::shared_ptr< ome::xml::model::Filter > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Filter > &filter)
Set Filter.
Definition: Instrument.cpp:687
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: Instrument.cpp:838
void setObjective(std::vector< ome::compat::shared_ptr< ome::xml::model::Objective > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Objective > &objective)
Set Objective.
Definition: Instrument.cpp:571
const ome::compat::weak_ptr< ome::xml::model::Image > & setLinkedImage(OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Set linked Image.
Definition: Instrument.cpp:791
void setFilterSet(std::vector< ome::compat::shared_ptr< ome::xml::model::FilterSet > >::size_type index, ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet)
Set FilterSet.
Definition: Instrument.cpp:629
std::vector< ome::compat::shared_ptr< ome::xml::model::LightSource > > lightSources
LightSource property (occurs more than once)
Definition: Instrument.h:93
static ome::compat::shared_ptr< Instrument > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Instrument model object from DOM element.
Definition: Instrument.cpp:189
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type sizeOfLinkedImageList() const
Get size of linked Image list.
Definition: Instrument.cpp:773
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type images
Image_BackReference back reference (occurs more than once)
Definition: Instrument.h:105
ome::compat::shared_ptr< ome::xml::model::Microscope > microscope
Microscope property.
Definition: Instrument.h:91
Instrument()
Default constructor.
Definition: Instrument.cpp:149
Boost.Log compatibility.
void addLightSource(ome::compat::shared_ptr< ome::xml::model::LightSource > &lightSource)
Add LightSource.
Definition: Instrument.cpp:464
void removeObjective(ome::compat::shared_ptr< ome::xml::model::Objective > &objective)
Remove Objective.
Definition: Instrument.cpp:588
std::vector< ome::compat::shared_ptr< ome::xml::model::LightSource > >::size_type sizeOfLightSourceList() const
Get size of linked LightSource list.
Definition: Instrument.cpp:425
ome::compat::shared_ptr< ome::xml::model::Microscope > getMicroscope()
Get the Microscope property.
Definition: Instrument.cpp:404
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type getLinkedImageList() const
Get the linked Image list.
Definition: Instrument.cpp:779
void removeDichroic(ome::compat::shared_ptr< ome::xml::model::Dichroic > &dichroic)
Remove Dichroic.
Definition: Instrument.cpp:762
ome::compat::shared_ptr< ome::xml::model::Filter > & getFilter(std::vector< ome::compat::shared_ptr< ome::xml::model::Filter > >::size_type index)
Get Filter.
Definition: Instrument.cpp:675
const ome::compat::weak_ptr< ome::xml::model::Image > & getLinkedImage(OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type index) const
Get linked Image.
Definition: Instrument.cpp:785
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Instrument.cpp:205
std::vector< ome::compat::shared_ptr< ome::xml::model::Objective > > objectives
Objective property (occurs more than once)
Definition: Instrument.h:97
ome::compat::shared_ptr< ome::xml::model::Dichroic > & getDichroic(std::vector< ome::compat::shared_ptr< ome::xml::model::Dichroic > >::size_type index)
Get Dichroic.
Definition: Instrument.cpp:733
Xerces-C modern C++ wrapper.
Definition: Base.h:53
void setDetector(std::vector< ome::compat::shared_ptr< ome::xml::model::Detector > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Detector > &detector)
Set Detector.
Definition: Instrument.cpp:513