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;
88 ome::compat::shared_ptr<std::string>
email;
147 static ome::compat::shared_ptr< Experimenter>
172 link (ome::compat::shared_ptr<Reference>& reference,
173 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
180 ome::compat::shared_ptr<std::string>
188 const ome::compat::shared_ptr<std::string>
197 setEmail (ome::compat::shared_ptr<std::string>& email);
204 ome::compat::shared_ptr<std::string>
212 const ome::compat::shared_ptr<std::string>
221 setUserName (ome::compat::shared_ptr<std::string>& userName);
228 ome::compat::shared_ptr<std::string>
236 const ome::compat::shared_ptr<std::string>
245 setFirstName (ome::compat::shared_ptr<std::string>& firstName);
252 ome::compat::shared_ptr<std::string>
260 const ome::compat::shared_ptr<std::string>
269 setMiddleName (ome::compat::shared_ptr<std::string>& middleName);
276 ome::compat::shared_ptr<std::string>
284 const ome::compat::shared_ptr<std::string>
293 setLastName (ome::compat::shared_ptr<std::string>& lastName);
309 setID (
const std::string&
id);
316 ome::compat::shared_ptr<std::string>
324 const ome::compat::shared_ptr<std::string>
333 setInstitution (ome::compat::shared_ptr<std::string>& institution);
358 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
371 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
373 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
386 linkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
404 unlinkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
429 const ome::compat::weak_ptr<ome::xml::model::Image>&
442 const ome::compat::weak_ptr<ome::xml::model::Image>&
444 const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
457 linkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
475 unlinkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
500 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
513 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
515 const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
528 linkMicrobeamManipulation (
const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
546 unlinkMicrobeamManipulation (
const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
571 const ome::compat::weak_ptr<ome::xml::model::Project>&
584 const ome::compat::weak_ptr<ome::xml::model::Project>&
586 const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
599 linkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
617 unlinkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
642 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
655 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
657 const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
670 linkExperimenterGroup (
const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
688 unlinkExperimenterGroup (
const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
713 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
726 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
728 const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
741 linkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
759 unlinkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
784 const ome::compat::weak_ptr<ome::xml::model::Experiment>&
797 const ome::compat::weak_ptr<ome::xml::model::Experiment>&
799 const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
812 linkExperiment (
const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
830 unlinkExperiment (
const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
854 #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:383
void setFirstName(ome::compat::shared_ptr< std::string > &firstName)
Set the FirstName property.
Definition: Experimenter.cpp:397
void setID(const std::string &id)
Set the ID property.
Definition: Experimenter.cpp:453
virtual ~Experimenter()
Destructor.
Definition: Experimenter.cpp:187
ome::compat::shared_ptr< std::string > firstName
FirstName property.
Definition: Experimenter.h:92
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Experimenter.cpp:1026
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:559
bool linkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Link Image.
Definition: Experimenter.cpp:569
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:791
bool unlinkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Unlink Image.
Definition: Experimenter.cpp:582
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Experimenter.cpp:487
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type experimenterGroupLinks
ExperimenterGroup_BackReference back reference (occurs more than once)
Definition: Experimenter.h:110
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:715
Experimenter()
Default constructor.
Definition: Experimenter.cpp:142
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:669
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:493
ome::compat::shared_ptr< std::string > getEmail()
Get the Email property.
Definition: Experimenter.cpp:341
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type getLinkedImageList() const
Get the linked Image list.
Definition: Experimenter.cpp:547
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:599
ome::compat::shared_ptr< std::string > lastName
LastName property.
Definition: Experimenter.h:96
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:541
OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type microbeamManipulations
MicrobeamManipulation_BackReference back reference (occurs more than once)
Definition: Experimenter.h:106
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Experimenter.cpp:523
DOM Document wrapper.
Definition: Document.h:80
DOM Element wrapper.
Definition: Element.h:66
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:439
ome::compat::shared_ptr< std::string > institution
Institution property.
Definition: Experimenter.h:100
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:727
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type datasets
Dataset_BackReference back reference (occurs more than once)
Definition: Experimenter.h:112
bool unlinkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Experimenter.cpp:814
bool unlinkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Unlink Project.
Definition: Experimenter.cpp:698
bool linkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Link ExperimenterGroup.
Definition: Experimenter.cpp:743
OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type getLinkedMicrobeamManipulationList() const
Get the linked MicrobeamManipulation list.
Definition: Experimenter.cpp:605
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:481
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:675
bool linkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > µbeamManipulation_BackReference)
Link MicrobeamManipulation.
Definition: Experimenter.cpp:627
std::string id
ID property.
Definition: Experimenter.h:98
Experimenter model object.
Definition: Experimenter.h:84
void setInstitution(ome::compat::shared_ptr< std::string > &institution)
Set the Institution property.
Definition: Experimenter.cpp:474
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:657
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:553
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:611
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
ome::compat::shared_ptr< std::string > getLastName()
Get the LastName property.
Definition: Experimenter.cpp:425
OMEModelObject::indexed_container< ome::xml::model::Experiment, ome::compat::weak_ptr >::type getLinkedExperimentList() const
Get the linked Experiment list.
Definition: Experimenter.cpp:837
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:843
const std::string & elementName() const
Get the element name of this model object.
Definition: Experimenter.cpp:201
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:889
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type getLinkedProjectList() const
Get the linked Project list.
Definition: Experimenter.cpp:663
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:896
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type projects
Project_BackReference back reference (occurs more than once)
Definition: Experimenter.h:108
void setMiddleName(ome::compat::shared_ptr< std::string > &middleName)
Set the MiddleName property.
Definition: Experimenter.cpp:418
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type images
Image_BackReference back reference (occurs more than once)
Definition: Experimenter.h:104
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type getLinkedExperimenterGroupList() const
Get the linked ExperimenterGroup list.
Definition: Experimenter.cpp:721
void setEmail(ome::compat::shared_ptr< std::string > &email)
Set the Email property.
Definition: Experimenter.cpp:355
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:831
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Experimenter.cpp:509
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:499
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:310
bool unlinkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Unlink ExperimenterGroup.
Definition: Experimenter.cpp:756
OMEModelObject::indexed_container< ome::xml::model::Experiment, ome::compat::weak_ptr >::type experiments
Experiment_BackReference back reference (occurs more than once)
Definition: Experimenter.h:114
ome::compat::shared_ptr< std::string > getInstitution()
Get the Institution property.
Definition: Experimenter.cpp:460
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type annotationLinks
AnnotationRef reference (occurs more than once)
Definition: Experimenter.h:102
ome::compat::shared_ptr< std::string > userName
UserName property.
Definition: Experimenter.h:90
ome::compat::shared_ptr< std::string > getMiddleName()
Get the MiddleName property.
Definition: Experimenter.cpp:404
const std::string & getID() const
Get the ID property.
Definition: Experimenter.cpp:446
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:849
ome::compat::shared_ptr< std::string > email
Email property.
Definition: Experimenter.h:88
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:785
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:192
bool linkExperiment(const ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment_BackReference)
Link Experiment.
Definition: Experimenter.cpp:859
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:733
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Experimenter.cpp:779
ome::compat::shared_ptr< std::string > getUserName()
Get the UserName property.
Definition: Experimenter.cpp:362
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:217
void setUserName(ome::compat::shared_ptr< std::string > &userName)
Set the UserName property.
Definition: Experimenter.cpp:376
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Experimenter.cpp:208
bool unlinkExperiment(const ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment_BackReference)
Unlink Experiment.
Definition: Experimenter.cpp:872
bool unlinkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > µbeamManipulation_BackReference)
Unlink MicrobeamManipulation.
Definition: Experimenter.cpp:640
bool linkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Link Project.
Definition: Experimenter.cpp:685
ome::compat::shared_ptr< std::string > middleName
MiddleName property.
Definition: Experimenter.h:94
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:773
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:617
bool linkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Experimenter.cpp:801
Xerces-C modern C++ wrapper.
Definition: Base.h:53