46 #ifndef OME_XML_MODEL_EXPERIMENTERGROUP_H 47 #define OME_XML_MODEL_EXPERIMENTERGROUP_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> 89 ome::compat::shared_ptr<Impl>
impl;
120 static ome::compat::shared_ptr< ExperimenterGroup>
150 link (ome::compat::shared_ptr<Reference>& reference,
151 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
158 ome::compat::shared_ptr<std::string>
166 const ome::compat::shared_ptr<std::string>
175 setName (ome::compat::shared_ptr<std::string>& name);
191 setID (
const std::string&
id);
198 ome::compat::shared_ptr<std::string>
206 const ome::compat::shared_ptr<std::string>
215 setDescription (ome::compat::shared_ptr<std::string>& description);
240 const ome::compat::weak_ptr<ome::xml::model::Experimenter>&
253 const ome::compat::weak_ptr<ome::xml::model::Experimenter>&
255 const ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
268 linkExperimenter (
const ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
286 unlinkExperimenter (
const ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
311 const ome::compat::weak_ptr<ome::xml::model::Experimenter>&
324 const ome::compat::weak_ptr<ome::xml::model::Experimenter>&
326 const ome::compat::shared_ptr<ome::xml::model::Experimenter>& leader);
339 linkLeader (
const ome::compat::shared_ptr<ome::xml::model::Experimenter>& leader);
357 unlinkLeader (
const ome::compat::shared_ptr<ome::xml::model::Experimenter>& leader);
382 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
395 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
397 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
410 linkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
428 unlinkAnnotation (
const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
453 const ome::compat::weak_ptr<ome::xml::model::Image>&
466 const ome::compat::weak_ptr<ome::xml::model::Image>&
468 const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
481 linkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
499 unlinkImage (
const ome::compat::shared_ptr<ome::xml::model::Image>& image_BackReference);
524 const ome::compat::weak_ptr<ome::xml::model::Project>&
537 const ome::compat::weak_ptr<ome::xml::model::Project>&
539 const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
552 linkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
570 unlinkProject (
const ome::compat::shared_ptr<ome::xml::model::Project>& project_BackReference);
595 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
608 const ome::compat::weak_ptr<ome::xml::model::Dataset>&
610 const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
623 linkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
641 unlinkDataset (
const ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset_BackReference);
664 #endif // OME_XML_MODEL_EXPERIMENTERGROUP_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
virtual ~ExperimenterGroup()
Destructor.
Definition: ExperimenterGroup.cpp:188
ExperimenterGroup model object.
Definition: ExperimenterGroup.h:84
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: ExperimenterGroup.cpp:616
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: ExperimenterGroup.cpp:305
bool unlinkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Unlink Project.
Definition: ExperimenterGroup.cpp:703
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & setLinkedExperimenter(OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Set linked Experimenter.
Definition: ExperimenterGroup.cpp:442
bool unlinkExperimenter(const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Unlink Experimenter.
Definition: ExperimenterGroup.cpp:466
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: ExperimenterGroup.cpp:622
void setID(const std::string &id)
Set the ID property.
Definition: ExperimenterGroup.cpp:396
static ome::compat::shared_ptr< ExperimenterGroup > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a ExperimenterGroup model object from DOM element.
Definition: ExperimenterGroup.cpp:193
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type sizeOfLinkedDatasetList() const
Get size of linked Dataset list.
Definition: ExperimenterGroup.cpp:720
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: ExperimenterGroup.cpp:907
ExperimenterGroup & operator=(const ExperimenterGroup &)
Assignment operator (deleted).
const std::string & elementName() const
Get the element name of this model object.
Definition: ExperimenterGroup.cpp:202
const std::string & getID() const
Get the ID property.
Definition: ExperimenterGroup.cpp:389
bool linkLeader(const ome::compat::shared_ptr< ome::xml::model::Experimenter > &leader)
Link Leader.
Definition: ExperimenterGroup.cpp:512
bool linkProject(const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
Link Project.
Definition: ExperimenterGroup.cpp:690
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
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: ExperimenterGroup.cpp:556
bool linkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Link Image.
Definition: ExperimenterGroup.cpp:632
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type sizeOfLinkedExperimenterList() const
Get size of linked Experimenter list.
Definition: ExperimenterGroup.cpp:424
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: ExperimenterGroup.cpp:738
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: ExperimenterGroup.cpp:209
ExperimenterGroup()
Default constructor.
Definition: ExperimenterGroup.cpp:173
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: ExperimenterGroup.cpp:784
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: ExperimenterGroup.cpp:572
Private implementation details of ExperimenterGroup model object.
Definition: ExperimenterGroup.cpp:78
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type getLinkedImageList() const
Get the linked Image list.
Definition: ExperimenterGroup.cpp:610
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: ExperimenterGroup.cpp:217
void setName(ome::compat::shared_ptr< std::string > &name)
Set the Name property.
Definition: ExperimenterGroup.cpp:382
bool unlinkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Unlink Dataset.
Definition: ExperimenterGroup.cpp:761
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
bool unlinkLeader(const ome::compat::shared_ptr< ome::xml::model::Experimenter > &leader)
Unlink Leader.
Definition: ExperimenterGroup.cpp:526
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type sizeOfLinkedImageList() const
Get size of linked Image list.
Definition: ExperimenterGroup.cpp:604
void setDescription(ome::compat::shared_ptr< std::string > &description)
Set the Description property.
Definition: ExperimenterGroup.cpp:417
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: ExperimenterGroup.cpp:544
ome::compat::shared_ptr< std::string > getDescription()
Get the Description property.
Definition: ExperimenterGroup.cpp:403
Open Microscopy Environment C++ implementation.
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type getLinkedExperimenterList() const
Get the linked Experimenter list.
Definition: ExperimenterGroup.cpp:430
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type getLinkedLeaderList() const
Get the linked Leader list.
Definition: ExperimenterGroup.cpp:490
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type sizeOfLinkedProjectList() const
Get size of linked Project list.
Definition: ExperimenterGroup.cpp:662
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: ExperimenterGroup.cpp:680
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: ExperimenterGroup.cpp:777
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & setLinkedLeader(OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Experimenter > &leader)
Set linked Leader.
Definition: ExperimenterGroup.cpp:502
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: ExperimenterGroup.h:87
bool linkExperimenter(const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Link Experimenter.
Definition: ExperimenterGroup.cpp:452
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & getLinkedExperimenter(OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index) const
Get linked Experimenter.
Definition: ExperimenterGroup.cpp:436
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: ExperimenterGroup.cpp:732
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: ExperimenterGroup.cpp:674
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & getLinkedLeader(OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index) const
Get linked Leader.
Definition: ExperimenterGroup.cpp:496
bool unlinkImage(const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
Unlink Image.
Definition: ExperimenterGroup.cpp:645
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: ExperimenterGroup.cpp:550
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type sizeOfLinkedLeaderList() const
Get size of linked Leader list.
Definition: ExperimenterGroup.cpp:484
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type getLinkedProjectList() const
Get the linked Project list.
Definition: ExperimenterGroup.cpp:668
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList() const
Get the linked Dataset list.
Definition: ExperimenterGroup.cpp:726
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: ExperimenterGroup.cpp:562
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: ExperimenterGroup.cpp:586
bool linkDataset(const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
Link Dataset.
Definition: ExperimenterGroup.cpp:748
ome::compat::shared_ptr< std::string > getName()
Get the Name property.
Definition: ExperimenterGroup.cpp:368