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/primitives/Quantity.h> 64 #include <ome/xml/model/detail/OMEModelObject.h> 77 class ExperimenterGroup;
79 class MicrobeamManipulation;
91 ome::compat::shared_ptr<Impl>
impl;
122 static ome::compat::shared_ptr< Experimenter>
152 link (ome::compat::shared_ptr<Reference>& reference,
153 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
160 ome::compat::shared_ptr<std::string>
168 const ome::compat::shared_ptr<std::string>
177 setEmail (ome::compat::shared_ptr<std::string>& email);
184 ome::compat::shared_ptr<std::string>
192 const ome::compat::shared_ptr<std::string>
201 setUserName (ome::compat::shared_ptr<std::string>& userName);
208 ome::compat::shared_ptr<std::string>
216 const ome::compat::shared_ptr<std::string>
225 setFirstName (ome::compat::shared_ptr<std::string>& firstName);
232 ome::compat::shared_ptr<std::string>
240 const ome::compat::shared_ptr<std::string>
249 setMiddleName (ome::compat::shared_ptr<std::string>& middleName);
256 ome::compat::shared_ptr<std::string>
264 const ome::compat::shared_ptr<std::string>
273 setLastName (ome::compat::shared_ptr<std::string>& lastName);
289 setID (
const std::string&
id);
296 ome::compat::shared_ptr<std::string>
304 const ome::compat::shared_ptr<std::string>
313 setInstitution (ome::compat::shared_ptr<std::string>& institution);
338 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
351 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
353 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
366 linkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
384 unlinkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
409 const ome::compat::weak_ptr<ome::xml::model::Image>&
422 const ome::compat::weak_ptr<ome::xml::model::Image>&
424 const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
437 linkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
455 unlinkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
480 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
493 const ome::compat::weak_ptr<ome::xml::model::MicrobeamManipulation>&
495 const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
508 linkMicrobeamManipulation (
const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
526 unlinkMicrobeamManipulation (
const ome::compat::shared_ptr<ome::xml::model::MicrobeamManipulation>& microbeamManipulation_BackReference);
551 const ome::compat::weak_ptr<ome::xml::model::Project>&
564 const ome::compat::weak_ptr<ome::xml::model::Project>&
566 const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
579 linkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
597 unlinkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
622 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
635 const ome::compat::weak_ptr<ome::xml::model::ExperimenterGroup>&
637 const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
650 linkExperimenterGroup (
const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
668 unlinkExperimenterGroup (
const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup_BackReference);
693 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
706 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
708 const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
721 linkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
739 unlinkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
764 const ome::compat::weak_ptr<ome::xml::model::Experiment>&
777 const ome::compat::weak_ptr<ome::xml::model::Experiment>&
779 const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
792 linkExperiment (
const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
810 unlinkExperiment (
const ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment_BackReference);
833 #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:419
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Experimenter.cpp:1061
void setFirstName(ome::compat::shared_ptr< std::string > &firstName)
Set the FirstName property.
Definition: Experimenter.cpp:433
void setID(const std::string &id)
Set the ID property.
Definition: Experimenter.cpp:489
virtual ~Experimenter()
Destructor.
Definition: Experimenter.cpp:223
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
bool linkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Link Image.
Definition: Experimenter.cpp:605
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
bool unlinkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Unlink Image.
Definition: Experimenter.cpp:618
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
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::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Experimenter.h:89
Experimenter()
Default constructor.
Definition: Experimenter.cpp:208
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::compat::shared_ptr< std::string > getEmail()
Get the Email property.
Definition: Experimenter.cpp:377
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
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Experimenter.cpp:559
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:475
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Experimenter.cpp:523
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type getLinkedImageList() const
Get the linked Image list.
Definition: Experimenter.cpp:583
bool unlinkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: Experimenter.cpp:850
bool unlinkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Unlink Project.
Definition: Experimenter.cpp:734
bool linkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Link ExperimenterGroup.
Definition: Experimenter.cpp:779
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
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
bool linkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > µbeamManipulation_BackReference)
Link MicrobeamManipulation.
Definition: Experimenter.cpp:663
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
Experimenter model object.
Definition: Experimenter.h:86
void setInstitution(ome::compat::shared_ptr< std::string > &institution)
Set the Institution property.
Definition: Experimenter.cpp:510
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type getLinkedProjectList() const
Get the linked Project list.
Definition: Experimenter.cpp:699
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type getLinkedExperimenterGroupList() const
Get the linked ExperimenterGroup list.
Definition: Experimenter.cpp:757
Open Microscopy Environment C++ implementation.
ome::compat::shared_ptr< std::string > getLastName()
Get the LastName property.
Definition: Experimenter.cpp:461
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
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
const std::string & getID() const
Get the ID property.
Definition: Experimenter.cpp:482
void setMiddleName(ome::compat::shared_ptr< std::string > &middleName)
Set the MiddleName property.
Definition: Experimenter.cpp:454
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
void setEmail(ome::compat::shared_ptr< std::string > &email)
Set the Email property.
Definition: Experimenter.cpp:391
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Experimenter.cpp:545
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
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
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: Experimenter.cpp:815
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
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
bool unlinkExperimenterGroup(const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
Unlink ExperimenterGroup.
Definition: Experimenter.cpp:792
ome::compat::shared_ptr< std::string > getInstitution()
Get the Institution property.
Definition: Experimenter.cpp:496
Private implementation details of Experimenter model object.
Definition: Experimenter.cpp:78
OMEModelObject::indexed_container< ome::xml::model::MicrobeamManipulation, ome::compat::weak_ptr >::type getLinkedMicrobeamManipulationList() const
Get the linked MicrobeamManipulation list.
Definition: Experimenter.cpp:641
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::compat::shared_ptr< std::string > getMiddleName()
Get the MiddleName property.
Definition: Experimenter.cpp:440
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
Experimenter & operator=(const Experimenter &)
Assignment operator (deleted).
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
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
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
OMEModelObject::indexed_container< ome::xml::model::Experiment, ome::compat::weak_ptr >::type getLinkedExperimentList() const
Get the linked Experiment list.
Definition: Experimenter.cpp:873
bool linkExperiment(const ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment_BackReference)
Link Experiment.
Definition: Experimenter.cpp:895
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::compat::shared_ptr< std::string > getUserName()
Get the UserName property.
Definition: Experimenter.cpp:398
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
void setUserName(ome::compat::shared_ptr< std::string > &userName)
Set the UserName property.
Definition: Experimenter.cpp:412
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
const std::string & elementName() const
Get the element name of this model object.
Definition: Experimenter.cpp:237
bool unlinkExperiment(const ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment_BackReference)
Unlink Experiment.
Definition: Experimenter.cpp:908
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
bool unlinkMicrobeamManipulation(const ome::compat::shared_ptr< ome::xml::model::MicrobeamManipulation > µbeamManipulation_BackReference)
Unlink MicrobeamManipulation.
Definition: Experimenter.cpp:676
bool linkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Link Project.
Definition: Experimenter.cpp:721
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:653
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
bool linkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: Experimenter.cpp:837