46 #ifndef OME_XML_MODEL_EXPERIMENTER_H 47 #define OME_XML_MODEL_EXPERIMENTER_H 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> 62 #include <ome/xml/model/detail/OMEModelObject.h> 75 class ExperimenterGroup;
77 class MicrobeamManipulation;
89 ome::compat::shared_ptr<Impl>
impl;
120 static ome::compat::shared_ptr< Experimenter>
145 link (ome::compat::shared_ptr<Reference>& reference,
146 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
153 ome::compat::shared_ptr<std::string>
161 const ome::compat::shared_ptr<std::string>
170 setEmail (ome::compat::shared_ptr<std::string>& email);
177 ome::compat::shared_ptr<std::string>
185 const ome::compat::shared_ptr<std::string>
194 setUserName (ome::compat::shared_ptr<std::string>& userName);
201 ome::compat::shared_ptr<std::string>
209 const ome::compat::shared_ptr<std::string>
218 setFirstName (ome::compat::shared_ptr<std::string>& firstName);
225 ome::compat::shared_ptr<std::string>
233 const ome::compat::shared_ptr<std::string>
242 setMiddleName (ome::compat::shared_ptr<std::string>& middleName);
249 ome::compat::shared_ptr<std::string>
257 const ome::compat::shared_ptr<std::string>
266 setLastName (ome::compat::shared_ptr<std::string>& lastName);
282 setID (
const std::string&
id);
289 ome::compat::shared_ptr<std::string>
297 const ome::compat::shared_ptr<std::string>
306 setInstitution (ome::compat::shared_ptr<std::string>& institution);
331 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
344 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
346 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
359 linkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
377 unlinkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
402 const ome::compat::weak_ptr<ome::xml::model::Image>&
415 const ome::compat::weak_ptr<ome::xml::model::Image>&
417 const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
430 linkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
448 unlinkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
473 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
486 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
488 const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
501 linkMicrobeamManipulation (
const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
519 unlinkMicrobeamManipulation (
const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
544 const ome::compat::weak_ptr<ome::xml::model::Project>&
557 const ome::compat::weak_ptr<ome::xml::model::Project>&
559 const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
572 linkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
590 unlinkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
615 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
628 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
630 const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
643 linkExperimenterGroup (
const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
661 unlinkExperimenterGroup (
const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
686 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
699 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
701 const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
714 linkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
732 unlinkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
757 const ome::compat::weak_ptr<ome::xml::model::Experiment>&
770 const ome::compat::weak_ptr<ome::xml::model::Experiment>&
772 const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
785 linkExperiment (
const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
803 unlinkExperiment (
const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
827 #endif // OME_XML_MODEL_EXPERIMENTER_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::compat::shared_ptr< std::string > getFirstName()
Get the FirstName property.
Definition: Experimenter.cpp:424
void setFirstName(ome::compat::shared_ptr< std::string > &firstName)
Set the FirstName property.
Definition: Experimenter.cpp:438
void setID(const std::string &id)
Set the ID property.
Definition: Experimenter.cpp:494
virtual ~Experimenter()
Destructor.
Definition: Experimenter.cpp:228
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Experimenter.cpp:1067
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:600
bool linkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Link Image.
Definition: Experimenter.cpp:610
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:832
bool unlinkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Unlink Image.
Definition: Experimenter.cpp:623
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Experimenter.cpp:528
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Experimenter.h:87
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:756
Experimenter()
Default constructor.
Definition: Experimenter.cpp:209
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:710
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:534
ome::compat::shared_ptr< std::string > getEmail()
Get the Email property.
Definition: Experimenter.cpp:382
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type getLinkedImageList() const
Get the linked Image list.
Definition: Experimenter.cpp:588
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:640
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:582
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Experimenter.cpp:564
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
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 setLastName(ome::compat::shared_ptr< std::string > &lastName)
Set the LastName property.
Definition: Experimenter.cpp:480
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:768
bool unlinkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Experimenter.cpp:855
bool unlinkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Unlink Project.
Definition: Experimenter.cpp:739
bool linkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Link ExperimenterGroup.
Definition: Experimenter.cpp:784
OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type getLinkedMicrobeamManipulationList() const
Get the linked MicrobeamManipulation list.
Definition: Experimenter.cpp:646
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:522
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:716
bool linkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > µbeamManipulation_BackReference)
Link MicrobeamManipulation.
Definition: Experimenter.cpp:668
Experimenter model object.
Definition: Experimenter.h:84
void setInstitution(ome::compat::shared_ptr< std::string > &institution)
Set the Institution property.
Definition: Experimenter.cpp:515
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:698
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
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:594
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:652
Open Microscopy Environment C++ implementation.
ome::compat::shared_ptr< std::string > getLastName()
Get the LastName property.
Definition: Experimenter.cpp:466
OMEModelObject::indexed_container< ome::xml::model::Experiment, ome::compat::weak_ptr >::type getLinkedExperimentList() const
Get the linked Experiment list.
Definition: Experimenter.cpp:878
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:884
const std::string & elementName() const
Get the element name of this model object.
Definition: Experimenter.cpp:242
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:930
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type getLinkedProjectList() const
Get the linked Project list.
Definition: Experimenter.cpp:704
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:937
void setMiddleName(ome::compat::shared_ptr< std::string > &middleName)
Set the MiddleName property.
Definition: Experimenter.cpp:459
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type getLinkedExperimenterGroupList() const
Get the linked ExperimenterGroup list.
Definition: Experimenter.cpp:762
void setEmail(ome::compat::shared_ptr< std::string > &email)
Set the Email property.
Definition: Experimenter.cpp:396
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:872
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Experimenter.cpp:550
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:540
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:351
bool unlinkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Unlink ExperimenterGroup.
Definition: Experimenter.cpp:797
ome::compat::shared_ptr< std::string > getInstitution()
Get the Institution property.
Definition: Experimenter.cpp:501
Private implementation details of Experimenter model object.
Definition: Experimenter.cpp:78
ome::compat::shared_ptr< std::string > getMiddleName()
Get the MiddleName property.
Definition: Experimenter.cpp:445
const std::string & getID() const
Get the ID property.
Definition: Experimenter.cpp:487
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:890
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:826
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:233
bool linkExperiment(const ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment_BackReference)
Link Experiment.
Definition: Experimenter.cpp:900
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:774
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Experimenter.cpp:820
ome::compat::shared_ptr< std::string > getUserName()
Get the UserName property.
Definition: Experimenter.cpp:403
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:258
void setUserName(ome::compat::shared_ptr< std::string > &userName)
Set the UserName property.
Definition: Experimenter.cpp:417
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Experimenter.cpp:249
bool unlinkExperiment(const ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment_BackReference)
Unlink Experiment.
Definition: Experimenter.cpp:913
bool unlinkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > µbeamManipulation_BackReference)
Unlink MicrobeamManipulation.
Definition: Experimenter.cpp:681
bool linkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Link Project.
Definition: Experimenter.cpp:726
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:814
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 > µbeamManipulation_BackReference)
Set linked MicrobeamManipulation.
Definition: Experimenter.cpp:658
bool linkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Experimenter.cpp:842