ome-xml 5.2.3

Experimenter.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_EXPERIMENTER_H
47 #define OME_XML_MODEL_EXPERIMENTER_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/detail/OMEModelObject.h>
65
66 namespace ome
67 {
68 namespace xml
69 {
70 namespace model
71 {
72
73 // Forward declarations.
74 class Annotation;
75 class Dataset;
76 class Experiment;
77 class ExperimenterGroup;
78 class Image;
79 class MicrobeamManipulation;
80 class OMEModel;
81 class Project;
82
86 class Experimenter : public detail::OMEModelObject
87 {
88 private:
89 class Impl;
91 ome::compat::shared_ptr<Impl> impl;
92
93 public:
95 Experimenter();
96
102 Experimenter (const Experimenter& copy);
103
105 virtual
106 ~Experimenter ();
107
122 static ome::compat::shared_ptr< Experimenter>
123 create(const common::xml::dom::Element& element,
124 ome::xml::model::OMEModel& model);
125
126 // Documented in superclass.
127 const std::string&
128 elementName() const;
129
130 // Documented in superclass.
131 bool
132 validElementName(const std::string& name) const;
133
134 private:
136 Experimenter&
137 operator= (const Experimenter&);
138
139 public:
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 // -- Experimenter 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 ome::compat::shared_ptr<std::string>
161 getEmail ();
162
168 const ome::compat::shared_ptr<std::string>
169 getEmail () const;
170
176 void
177 setEmail (ome::compat::shared_ptr<std::string>& email);
178
184 ome::compat::shared_ptr<std::string>
185 getUserName ();
186
192 const ome::compat::shared_ptr<std::string>
193 getUserName () const;
194
200 void
201 setUserName (ome::compat::shared_ptr<std::string>& userName);
202
208 ome::compat::shared_ptr<std::string>
209 getFirstName ();
210
216 const ome::compat::shared_ptr<std::string>
217 getFirstName () const;
218
224 void
225 setFirstName (ome::compat::shared_ptr<std::string>& firstName);
226
232 ome::compat::shared_ptr<std::string>
233 getMiddleName ();
234
240 const ome::compat::shared_ptr<std::string>
241 getMiddleName () const;
242
248 void
249 setMiddleName (ome::compat::shared_ptr<std::string>& middleName);
250
256 ome::compat::shared_ptr<std::string>
257 getLastName ();
258
264 const ome::compat::shared_ptr<std::string>
265 getLastName () const;
266
272 void
273 setLastName (ome::compat::shared_ptr<std::string>& lastName);
274
280 const std::string&
281 getID () const;
282
288 void
289 setID (const std::string& id);
290
296 ome::compat::shared_ptr<std::string>
297 getInstitution ();
298
304 const ome::compat::shared_ptr<std::string>
305 getInstitution () const;
306
312 void
313 setInstitution (ome::compat::shared_ptr<std::string>& institution);
314
320 OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type::size_type
321 sizeOfLinkedAnnotationList () const;
322
328 OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type
329 getLinkedAnnotationList () const;
330
338 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
339 getLinkedAnnotation (OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type::size_type index) const;
340
351 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
352 setLinkedAnnotation (OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type::size_type index,
353 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
354
365 bool
366 linkAnnotation (const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
367
383 bool
384 unlinkAnnotation (const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
385
391 OMEModelObject::indexed_container<ome::xml::model::Image, ome::compat::weak_ptr>::type::size_type
392 sizeOfLinkedImageList () const;
393
399 OMEModelObject::indexed_container<ome::xml::model::Image, ome::compat::weak_ptr>::type
400 getLinkedImageList () const;
401
409 const ome::compat::weak_ptr<ome::xml::model::Image>&
410 getLinkedImage (OMEModelObject::indexed_container<ome::xml::model::Image, ome::compat::weak_ptr>::type::size_type index) const;
411
422 const ome::compat::weak_ptr<ome::xml::model::Image>&
423 setLinkedImage (OMEModelObject::indexed_container<ome::xml::model::Image, ome::compat::weak_ptr>::type::size_type index,
424 const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
425
436 bool
437 linkImage (const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
438
454 bool
455 unlinkImage (const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
456
462 OMEModelObject::indexed_container<ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr>::type::size_type
463 sizeOfLinkedMicrobeamManipulationList () const;
464
470 OMEModelObject::indexed_container<ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr>::type
471 getLinkedMicrobeamManipulationList () const;
472
480 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
481 getLinkedMicrobeamManipulation (OMEModelObject::indexed_container<ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr>::type::size_type index) const;
482
493 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
494 setLinkedMicrobeamManipulation (OMEModelObject::indexed_container<ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr>::type::size_type index,
495 const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
496
507 bool
508 linkMicrobeamManipulation (const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
509
525 bool
526 unlinkMicrobeamManipulation (const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
527
533 OMEModelObject::indexed_container<ome::xml::model::Project, ome::compat::weak_ptr>::type::size_type
534 sizeOfLinkedProjectList () const;
535
541 OMEModelObject::indexed_container<ome::xml::model::Project, ome::compat::weak_ptr>::type
542 getLinkedProjectList () const;
543
551 const ome::compat::weak_ptr<ome::xml::model::Project>&
552 getLinkedProject (OMEModelObject::indexed_container<ome::xml::model::Project, ome::compat::weak_ptr>::type::size_type index) const;
553
564 const ome::compat::weak_ptr<ome::xml::model::Project>&
565 setLinkedProject (OMEModelObject::indexed_container<ome::xml::model::Project, ome::compat::weak_ptr>::type::size_type index,
566 const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
567
578 bool
579 linkProject (const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
580
596 bool
597 unlinkProject (const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
598
604 OMEModelObject::indexed_container<ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr>::type::size_type
605 sizeOfLinkedExperimenterGroupList () const;
606
612 OMEModelObject::indexed_container<ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr>::type
613 getLinkedExperimenterGroupList () const;
614
622 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
623 getLinkedExperimenterGroup (OMEModelObject::indexed_container<ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr>::type::size_type index) const;
624
635 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
636 setLinkedExperimenterGroup (OMEModelObject::indexed_container<ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr>::type::size_type index,
637 const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
638
649 bool
650 linkExperimenterGroup (const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
651
667 bool
668 unlinkExperimenterGroup (const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
669
675 OMEModelObject::indexed_container<ome::xml::model::Dataset, ome::compat::weak_ptr>::type::size_type
676 sizeOfLinkedDatasetList () const;
677
683 OMEModelObject::indexed_container<ome::xml::model::Dataset, ome::compat::weak_ptr>::type
684 getLinkedDatasetList () const;
685
693 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
694 getLinkedDataset (OMEModelObject::indexed_container<ome::xml::model::Dataset, ome::compat::weak_ptr>::type::size_type index) const;
695
706 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
707 setLinkedDataset (OMEModelObject::indexed_container<ome::xml::model::Dataset, ome::compat::weak_ptr>::type::size_type index,
708 const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
709
720 bool
721 linkDataset (const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
722
738 bool
739 unlinkDataset (const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
740
746 OMEModelObject::indexed_container<ome::xml::model::Experiment, ome::compat::weak_ptr>::type::size_type
747 sizeOfLinkedExperimentList () const;
748
754 OMEModelObject::indexed_container<ome::xml::model::Experiment, ome::compat::weak_ptr>::type
755 getLinkedExperimentList () const;
756
764 const ome::compat::weak_ptr<ome::xml::model::Experiment>&
765 getLinkedExperiment (OMEModelObject::indexed_container<ome::xml::model::Experiment, ome::compat::weak_ptr>::type::size_type index) const;
766
777 const ome::compat::weak_ptr<ome::xml::model::Experiment>&
778 setLinkedExperiment (OMEModelObject::indexed_container<ome::xml::model::Experiment, ome::compat::weak_ptr>::type::size_type index,
779 const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
780
791 bool
792 linkExperiment (const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
793
809 bool
810 unlinkExperiment (const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
811
813 virtual common::xml::dom::Element
814 asXMLElement (common::xml::dom::Document& document) const;
815
816
817 protected:
818 // Documented in base class.
819 virtual common::xml::dom::Element
820 asXMLElementInternal (common::xml::dom::Document& document,
821 common::xml::dom::Element& element) const;
822
823 public:
824 // Documented in superclass.
825 const std::string&
826 getXMLNamespace() const;
827 };
828
829 }
830 }
831 }
832
833 #endif // OME_XML_MODEL_EXPERIMENTER_H
834
835 /*
836 * Local Variables:
837 * mode:C++
838 * End:
839 */
ome::xml::model::OMEModel
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::xml::model::Experimenter::getFirstName
ome::compat::shared_ptr< std::string > getFirstName()
Get the FirstName property.
Definition: Experimenter.cpp:419
ome::xml::model::Experimenter::getXMLNamespace
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Experimenter.cpp:1061
ome::xml::model::Experimenter::setFirstName
void setFirstName(ome::compat::shared_ptr< std::string > &firstName)
Set the FirstName property.
Definition: Experimenter.cpp:433
ome::xml::model::Experimenter::setID
void setID(const std::string &id)
Set the ID property.
Definition: Experimenter.cpp:489
ome::xml::model::Experimenter::~Experimenter
virtual ~Experimenter()
Destructor.
Definition: Experimenter.cpp:223
ome::xml::model::Experimenter::setLinkedImage
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: Experimenter.cpp:595
ome::xml::model::Experimenter::linkImage
bool linkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Link Image.
Definition: Experimenter.cpp:605
ome::xml::model::Experimenter::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: Experimenter.cpp:827
ome::xml::model::Experimenter::unlinkImage
bool unlinkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Unlink Image.
Definition: Experimenter.cpp:618
ome::xml::model::Experimenter::sizeOfLinkedProjectList
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type sizeOfLinkedProjectList() const
Get size of linked Project list.
Definition: Experimenter.cpp:693
ome::xml::model::Experimenter::sizeOfLinkedMicrobeamManipulationList
OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedMicrobeamManipulationList() const
Get size of linked MicrobeamManipulation list.
Definition: Experimenter.cpp:635
ome::xml::model::Experimenter::impl
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Experimenter.h:89
ome::xml::model::Experimenter::Experimenter
Experimenter()
Default constructor.
Definition: Experimenter.cpp:208
ome::xml::model::Experimenter::sizeOfLinkedImageList
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type sizeOfLinkedImageList() const
Get size of linked Image list.
Definition: Experimenter.cpp:577
ome::xml::model::Experimenter::getEmail
ome::compat::shared_ptr< std::string > getEmail()
Get the Email property.
Definition: Experimenter.cpp:377
ome::xml::model::Experimenter::sizeOfLinkedAnnotationList
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: Experimenter.cpp:517
ome::xml::model::Experimenter::unlinkAnnotation
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Experimenter.cpp:559
ome::common::xml::dom::Document
ome::common::xml::dom::Element
ome::xml::model::detail::OMEModelObject
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
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::Experimenter::setLastName
void setLastName(ome::compat::shared_ptr< std::string > &lastName)
Set the LastName property.
Definition: Experimenter.cpp:475
ome::xml::model::Experimenter::getLinkedAnnotationList
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Experimenter.cpp:523
ome::xml::model::Experimenter::getLinkedImageList
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type getLinkedImageList() const
Get the linked Image list.
Definition: Experimenter.cpp:583
ome::xml::model::Experimenter::unlinkDataset
bool unlinkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Experimenter.cpp:850
ome::xml::model::Experimenter::unlinkProject
bool unlinkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Unlink Project.
Definition: Experimenter.cpp:734
ome::xml::model::Experimenter::linkExperimenterGroup
bool linkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Link ExperimenterGroup.
Definition: Experimenter.cpp:779
ome::xml::model::Experimenter::validElementName
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Experimenter.cpp:244
ome::xml::model::Experimenter::setLinkedProject
const ome::compat::weak_ptr< ome::xml::model::Project > & setLinkedProject(OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Set linked Project.
Definition: Experimenter.cpp:711
ome::xml::model::Experimenter::linkMicrobeamManipulation
bool linkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > &microbeamManipulation_BackReference)
Link MicrobeamManipulation.
Definition: Experimenter.cpp:663
ome::xml::model::Experimenter::sizeOfLinkedExperimentList
OMEModelObject::indexed_container< ome::xml::model::Experiment, ome::compat::weak_ptr >::type::size_type sizeOfLinkedExperimentList() const
Get size of linked Experiment list.
Definition: Experimenter.cpp:867
ome::xml::model::Experimenter
Experimenter model object.
Definition: Experimenter.h:86
ome::xml::model::Experimenter::setInstitution
void setInstitution(ome::compat::shared_ptr< std::string > &institution)
Set the Institution property.
Definition: Experimenter.cpp:510
ome::xml::model::Experimenter::getLinkedProjectList
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type getLinkedProjectList() const
Get the linked Project list.
Definition: Experimenter.cpp:699
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::Experimenter::getLinkedExperimenterGroupList
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type getLinkedExperimenterGroupList() const
Get the linked ExperimenterGroup list.
Definition: Experimenter.cpp:757
ome
Open Microscopy Environment C++ implementation.
ome::xml::model::Experimenter::getLastName
ome::compat::shared_ptr< std::string > getLastName()
Get the LastName property.
Definition: Experimenter.cpp:461
ome::xml::model::Experimenter::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: Experimenter.cpp:529
ome::xml::model::Experimenter::asXMLElement
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Experimenter.cpp:924
ome::xml::model::Experimenter::getID
const std::string & getID() const
Get the ID property.
Definition: Experimenter.cpp:482
ome::xml::model::Experimenter::setMiddleName
void setMiddleName(ome::compat::shared_ptr< std::string > &middleName)
Set the MiddleName property.
Definition: Experimenter.cpp:454
ome::xml::model::Experimenter::getLinkedExperiment
const ome::compat::weak_ptr< ome::xml::model::Experiment > & getLinkedExperiment(OMEModelObject::indexed_container< ome::xml::model::Experiment, ome::compat::weak_ptr >::type::size_type index) const
Get linked Experiment.
Definition: Experimenter.cpp:879
ome::xml::model::Experimenter::setEmail
void setEmail(ome::compat::shared_ptr< std::string > &email)
Set the Email property.
Definition: Experimenter.cpp:391
ome::xml::model::Experimenter::linkAnnotation
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Experimenter.cpp:545
ome::xml::model::Experimenter::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: Experimenter.cpp:535
ome::xml::model::Experimenter::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: Experimenter.cpp:346
ome::xml::model::Experimenter::getLinkedDatasetList
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Experimenter.cpp:815
ome::xml::model::Experimenter::sizeOfLinkedDatasetList
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type sizeOfLinkedDatasetList() const
Get size of linked Dataset list.
Definition: Experimenter.cpp:809
ome::xml::model::Experimenter::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: Experimenter.cpp:647
ome::xml::model::Experimenter::unlinkExperimenterGroup
bool unlinkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Unlink ExperimenterGroup.
Definition: Experimenter.cpp:792
ome::xml::model::Experimenter::getInstitution
ome::compat::shared_ptr< std::string > getInstitution()
Get the Institution property.
Definition: Experimenter.cpp:496
ome::xml::model::Experimenter::Impl
Private implementation details of Experimenter model object.
Definition: Experimenter.cpp:78
ome::xml::model::Experimenter::getLinkedMicrobeamManipulationList
OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type getLinkedMicrobeamManipulationList() const
Get the linked MicrobeamManipulation list.
Definition: Experimenter.cpp:641
ome::xml::model::Experimenter::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: Experimenter.cpp:931
ome::xml::model::Experimenter::getMiddleName
ome::compat::shared_ptr< std::string > getMiddleName()
Get the MiddleName property.
Definition: Experimenter.cpp:440
ome::xml::model::Experimenter::setLinkedExperiment
const ome::compat::weak_ptr< ome::xml::model::Experiment > & setLinkedExperiment(OMEModelObject::indexed_container< ome::xml::model::Experiment, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment_BackReference)
Set linked Experiment.
Definition: Experimenter.cpp:885
ome::xml::model::Experimenter::operator=
Experimenter & operator=(const Experimenter &)
Assignment operator (deleted).
ome::xml::model::Experimenter::getLinkedProject
const ome::compat::weak_ptr< ome::xml::model::Project > & getLinkedProject(OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type index) const
Get linked Project.
Definition: Experimenter.cpp:705
ome::xml::model::Experimenter::getLinkedExperimenterGroup
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & getLinkedExperimenterGroup(OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type index) const
Get linked ExperimenterGroup.
Definition: Experimenter.cpp:763
ome::xml::model::Experimenter::create
static ome::compat::shared_ptr< Experimenter > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Experimenter model object from DOM element.
Definition: Experimenter.cpp:228
ome::xml::model::Experimenter::getLinkedExperimentList
OMEModelObject::indexed_container< ome::xml::model::Experiment, ome::compat::weak_ptr >::type getLinkedExperimentList() const
Get the linked Experiment list.
Definition: Experimenter.cpp:873
ome::xml::model::Experimenter::linkExperiment
bool linkExperiment(const ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment_BackReference)
Link Experiment.
Definition: Experimenter.cpp:895
ome::xml::model::Experimenter::setLinkedExperimenterGroup
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & setLinkedExperimenterGroup(OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Set linked ExperimenterGroup.
Definition: Experimenter.cpp:769
ome::xml::model::Experimenter::getUserName
ome::compat::shared_ptr< std::string > getUserName()
Get the UserName property.
Definition: Experimenter.cpp:398
ome::xml::model::Experimenter::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: Experimenter.cpp:252
ome::xml::model::Experimenter::setUserName
void setUserName(ome::compat::shared_ptr< std::string > &userName)
Set the UserName property.
Definition: Experimenter.cpp:412
ome::xml::model::Experimenter::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: Experimenter.cpp:821
ome::xml::model::Experimenter::elementName
const std::string & elementName() const
Get the element name of this model object.
Definition: Experimenter.cpp:237
ome::xml::model::Experimenter::unlinkExperiment
bool unlinkExperiment(const ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment_BackReference)
Unlink Experiment.
Definition: Experimenter.cpp:908
log.h
ome::xml::model::Experimenter::sizeOfLinkedExperimenterGroupList
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type sizeOfLinkedExperimenterGroupList() const
Get size of linked ExperimenterGroup list.
Definition: Experimenter.cpp:751
ome::xml::model::Experimenter::unlinkMicrobeamManipulation
bool unlinkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > &microbeamManipulation_BackReference)
Unlink MicrobeamManipulation.
Definition: Experimenter.cpp:676
ome::xml::model::Experimenter::linkProject
bool linkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Link Project.
Definition: Experimenter.cpp:721
ome::xml::model::Experimenter::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_BackReference)
Set linked MicrobeamManipulation.
Definition: Experimenter.cpp:653
ome::xml::model::Experimenter::getLinkedImage
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: Experimenter.cpp:589
ome::xml::model::Experimenter::linkDataset
bool linkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Experimenter.cpp:837