bioformats
5.1.8
|
Annotation model object. More...
#include <ome/xml/model/Annotation.h>
Classes | |
class | Impl |
Private implementation details of Annotation model object. More... | |
Public Member Functions | |
Annotation () | |
Default constructor. | |
Annotation (const Annotation ©) | |
Copy constructor. More... | |
virtual | ~Annotation () |
Destructor. | |
bool | validElementName (const std::string &name) const |
Check if a given element name is valid for processing by this model object. More... | |
virtual void | update (const common::xml::dom::Element &element, ome::xml::model::OMEModel &model) |
Update the object hierarchy recursively from an XML DOM tree. More... | |
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. More... | |
ome::compat::shared_ptr< std::string > | getNamespace () |
Get the Namespace property. More... | |
const ome::compat::shared_ptr< std::string > | getNamespace () const |
Get the Namespace property. More... | |
void | setNamespace (ome::compat::shared_ptr< std::string > &namespace_) |
Set the Namespace property. More... | |
const std::string & | getID () const |
Get the ID property. More... | |
void | setID (const std::string &id) |
Set the ID property. More... | |
ome::compat::shared_ptr< std::string > | getAnnotator () |
Get the Annotator property. More... | |
const ome::compat::shared_ptr< std::string > | getAnnotator () const |
Get the Annotator property. More... | |
void | setAnnotator (ome::compat::shared_ptr< std::string > &annotator) |
Set the Annotator property. More... | |
ome::compat::shared_ptr< std::string > | getDescription () |
Get the Description property. More... | |
const ome::compat::shared_ptr< std::string > | getDescription () const |
Get the Description property. More... | |
void | setDescription (ome::compat::shared_ptr< std::string > &description) |
Set the Description property. More... | |
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedAnnotationList () const |
Get size of linked Annotation list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type | getLinkedAnnotationList () const |
Get the linked Annotation list. More... | |
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. More... | |
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. More... | |
bool | linkAnnotation (const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation) |
Link Annotation. More... | |
bool | unlinkAnnotation (const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation) |
Unlink Annotation. More... | |
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedImageList () const |
Get size of linked Image list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type | getLinkedImageList () const |
Get the linked Image list. More... | |
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. More... | |
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. More... | |
bool | linkImage (const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference) |
Link Image. More... | |
bool | unlinkImage (const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference) |
Unlink Image. More... | |
OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedPixelsList () const |
Get size of linked Pixels list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type | getLinkedPixelsList () const |
Get the linked Pixels list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Pixels > & | getLinkedPixels (OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Pixels. More... | |
const ome::compat::weak_ptr< ome::xml::model::Pixels > & | setLinkedPixels (OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels_BackReference) |
Set linked Pixels. More... | |
bool | linkPixels (const ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels_BackReference) |
Link Pixels. More... | |
bool | unlinkPixels (const ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels_BackReference) |
Unlink Pixels. More... | |
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedPlaneList () const |
Get size of linked Plane list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type | getLinkedPlaneList () const |
Get the linked Plane list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Plane > & | getLinkedPlane (OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Plane. More... | |
const ome::compat::weak_ptr< ome::xml::model::Plane > & | setLinkedPlane (OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference) |
Set linked Plane. More... | |
bool | linkPlane (const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference) |
Link Plane. More... | |
bool | unlinkPlane (const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference) |
Unlink Plane. More... | |
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedChannelList () const |
Get size of linked Channel list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type | getLinkedChannelList () const |
Get the linked Channel list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Channel > & | getLinkedChannel (OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Channel. More... | |
const ome::compat::weak_ptr< ome::xml::model::Channel > & | setLinkedChannel (OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference) |
Set linked Channel. More... | |
bool | linkChannel (const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference) |
Link Channel. More... | |
bool | unlinkChannel (const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference) |
Unlink Channel. More... | |
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedProjectList () const |
Get size of linked Project list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type | getLinkedProjectList () const |
Get the linked Project list. More... | |
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. More... | |
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. More... | |
bool | linkProject (const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference) |
Link Project. More... | |
bool | unlinkProject (const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference) |
Unlink Project. More... | |
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedExperimenterGroupList () const |
Get size of linked ExperimenterGroup list. More... | |
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type | getLinkedExperimenterGroupList () const |
Get the linked ExperimenterGroup list. More... | |
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. More... | |
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. More... | |
bool | linkExperimenterGroup (const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference) |
Link ExperimenterGroup. More... | |
bool | unlinkExperimenterGroup (const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference) |
Unlink ExperimenterGroup. More... | |
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedDatasetList () const |
Get size of linked Dataset list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type | getLinkedDatasetList () const |
Get the linked Dataset list. More... | |
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. More... | |
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. More... | |
bool | linkDataset (const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference) |
Link Dataset. More... | |
bool | unlinkDataset (const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference) |
Unlink Dataset. More... | |
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedExperimenterList () const |
Get size of linked Experimenter list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type | getLinkedExperimenterList () const |
Get the linked Experimenter list. More... | |
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. More... | |
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_BackReference) |
Set linked Experimenter. More... | |
bool | linkExperimenter (const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference) |
Link Experimenter. More... | |
bool | unlinkExperimenter (const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference) |
Unlink Experimenter. More... | |
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedROIList () const |
Get size of linked ROI list. More... | |
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type | getLinkedROIList () const |
Get the linked ROI list. More... | |
const ome::compat::weak_ptr< ome::xml::model::ROI > & | getLinkedROI (OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index) const |
Get linked ROI. More... | |
const ome::compat::weak_ptr< ome::xml::model::ROI > & | setLinkedROI (OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference) |
Set linked ROI. More... | |
bool | linkROI (const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference) |
Link ROI. More... | |
bool | unlinkROI (const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference) |
Unlink ROI. More... | |
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedPlateList () const |
Get size of linked Plate list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type | getLinkedPlateList () const |
Get the linked Plate list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Plate > & | getLinkedPlate (OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Plate. More... | |
const ome::compat::weak_ptr< ome::xml::model::Plate > & | setLinkedPlate (OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference) |
Set linked Plate. More... | |
bool | linkPlate (const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference) |
Link Plate. More... | |
bool | unlinkPlate (const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference) |
Unlink Plate. More... | |
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedReagentList () const |
Get size of linked Reagent list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type | getLinkedReagentList () const |
Get the linked Reagent list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Reagent > & | getLinkedReagent (OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Reagent. More... | |
const ome::compat::weak_ptr< ome::xml::model::Reagent > & | setLinkedReagent (OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference) |
Set linked Reagent. More... | |
bool | linkReagent (const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference) |
Link Reagent. More... | |
bool | unlinkReagent (const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference) |
Unlink Reagent. More... | |
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedScreenList () const |
Get size of linked Screen list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type | getLinkedScreenList () const |
Get the linked Screen list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Screen > & | getLinkedScreen (OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Screen. More... | |
const ome::compat::weak_ptr< ome::xml::model::Screen > & | setLinkedScreen (OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference) |
Set linked Screen. More... | |
bool | linkScreen (const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference) |
Link Screen. More... | |
bool | unlinkScreen (const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference) |
Unlink Screen. More... | |
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedPlateAcquisitionList () const |
Get size of linked PlateAcquisition list. More... | |
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type | getLinkedPlateAcquisitionList () const |
Get the linked PlateAcquisition list. More... | |
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & | getLinkedPlateAcquisition (OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type index) const |
Get linked PlateAcquisition. More... | |
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & | setLinkedPlateAcquisition (OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference) |
Set linked PlateAcquisition. More... | |
bool | linkPlateAcquisition (const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference) |
Link PlateAcquisition. More... | |
bool | unlinkPlateAcquisition (const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference) |
Unlink PlateAcquisition. More... | |
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedWellList () const |
Get size of linked Well list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type | getLinkedWellList () const |
Get the linked Well list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Well > & | getLinkedWell (OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Well. More... | |
const ome::compat::weak_ptr< ome::xml::model::Well > & | setLinkedWell (OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference) |
Set linked Well. More... | |
bool | linkWell (const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference) |
Link Well. More... | |
bool | unlinkWell (const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference) |
Unlink Well. More... | |
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedWellSampleList () const |
Get size of linked WellSample list. More... | |
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type | getLinkedWellSampleList () const |
Get the linked WellSample list. More... | |
const ome::compat::weak_ptr< ome::xml::model::WellSample > & | getLinkedWellSample (OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index) const |
Get linked WellSample. More... | |
const ome::compat::weak_ptr< ome::xml::model::WellSample > & | setLinkedWellSample (OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference) |
Set linked WellSample. More... | |
bool | linkWellSample (const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference) |
Link WellSample. More... | |
bool | unlinkWellSample (const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference) |
Unlink WellSample. More... | |
virtual common::xml::dom::Element | asXMLElement (common::xml::dom::Document &document) const |
Transform the object hierarchy rooted at this element to XML. More... | |
const std::string & | getXMLNamespace () const |
Get the XML namespace for this model object. More... | |
Public Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
virtual | ~OMEModelObject () |
Destructor. | |
virtual void | update (const common::xml::dom::Element &element,::ome::xml::model::OMEModel &model) |
Update the object hierarchy recursively from an XML DOM tree. More... | |
virtual 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. More... | |
Public Member Functions inherited from ome::xml::model::OMEModelObject | |
virtual const std::string & | elementName () const =0 |
Get the element name of this model object. More... | |
virtual bool | link (ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< OMEModelObject > &object)=0 |
Link a given OME model object to this model object. More... | |
Protected Member Functions | |
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. More... | |
Protected Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
OMEModelObject (const std::string &objectType="OMEModelObject") | |
Constructor. | |
OMEModelObject (const OMEModelObject ©) | |
Copy constructor. More... | |
template<class C , typename T > | |
bool | contains (const C &container, const ome::compat::shared_ptr< T > &element) |
Check if a container contains a particular element. More... | |
Protected Member Functions inherited from ome::xml::model::OMEModelObject | |
OMEModelObject () | |
Constructor. | |
Private Attributes | |
ome::compat::shared_ptr< Impl > | impl |
Private implementation details. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
static std::vector< common::xml::dom::Element > | getChildrenByTagName (const common::xml::dom::Element &parent, const std::string &name) |
Retrieve all the children of an element that have a given tag name. More... | |
static std::string | stripNamespacePrefix (const std::string &value) |
Strip the namespace prefix from a tag name. More... | |
Protected Attributes inherited from ome::xml::model::detail::OMEModelObject | |
ome::common::Logger | logger |
Message logger. | |
Annotation model object.
ome::xml::model::Annotation::Annotation | ( | const Annotation & | copy | ) |
Copy constructor.
copy | the Annotation to copy. |
|
virtual |
Transform the object hierarchy rooted at this element to XML.
document | document for element creation |
Implements ome::xml::model::OMEModelObject.
Reimplemented in ome::xml::model::FileAnnotation, ome::xml::model::TimestampAnnotation, ome::xml::model::BooleanAnnotation, ome::xml::model::CommentAnnotation, ome::xml::model::DoubleAnnotation, ome::xml::model::LongAnnotation, ome::xml::model::TagAnnotation, ome::xml::model::TermAnnotation, ome::xml::model::XMLAnnotation, ome::xml::model::ListAnnotation, ome::xml::model::OriginalMetadataAnnotation, ome::xml::model::BasicAnnotation, ome::xml::model::NumericAnnotation, ome::xml::model::TextAnnotation, and ome::xml::model::TypeAnnotation.
References asXMLElementInternal(), ome::common::xml::dom::Document::createElementNS(), and getXMLNamespace().
|
protectedvirtual |
Transform the object hierarchy rooted at this element to XML.
This internal implementation of asXMLelement also requires an XML element, which must not be null, or may be instantiated and passed from superclasses.
document | XML document for element creation. |
element | XML element for setting model data. |
Implements ome::xml::model::detail::OMEModelObject.
Reimplemented in ome::xml::model::FileAnnotation, ome::xml::model::TimestampAnnotation, ome::xml::model::BooleanAnnotation, ome::xml::model::CommentAnnotation, ome::xml::model::DoubleAnnotation, ome::xml::model::LongAnnotation, ome::xml::model::TagAnnotation, ome::xml::model::TermAnnotation, ome::xml::model::XMLAnnotation, ome::xml::model::ListAnnotation, ome::xml::model::OriginalMetadataAnnotation, ome::xml::model::BasicAnnotation, ome::xml::model::NumericAnnotation, ome::xml::model::TextAnnotation, and ome::xml::model::TypeAnnotation.
References ome::common::xml::dom::Node::appendChild(), ome::xml::model::detail::OMEModelObject::asXMLElementInternal(), ome::common::xml::dom::Document::createElementNS(), getXMLNamespace(), impl, and ome::common::xml::dom::Element::setAttribute().
Referenced by asXMLElement(), ome::xml::model::BasicAnnotation::asXMLElementInternal(), ome::xml::model::TextAnnotation::asXMLElementInternal(), ome::xml::model::NumericAnnotation::asXMLElementInternal(), ome::xml::model::TypeAnnotation::asXMLElementInternal(), and ome::xml::model::ListAnnotation::asXMLElementInternal().
ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getAnnotator | ( | ) |
const ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getAnnotator | ( | ) | const |
ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getDescription | ( | ) |
const ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getDescription | ( | ) | const |
const std::string & ome::xml::model::Annotation::getID | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Annotation > & ome::xml::model::Annotation::getLinkedAnnotation | ( | OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type | index | ) | const |
Get linked Annotation.
index | the index number of the Annotation. |
std::out_of_range | if the index is invalid. |
References impl.
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedAnnotationList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Channel > & ome::xml::model::Annotation::getLinkedChannel | ( | OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedChannelList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Dataset > & ome::xml::model::Annotation::getLinkedDataset | ( | OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedDatasetList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & ome::xml::model::Annotation::getLinkedExperimenter | ( | OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type | index | ) | const |
Get linked Experimenter.
index | the index number of the Experimenter. |
std::out_of_range | if the index is invalid. |
References impl.
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & ome::xml::model::Annotation::getLinkedExperimenterGroup | ( | OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type | index | ) | const |
Get linked ExperimenterGroup.
index | the index number of the ExperimenterGroup. |
std::out_of_range | if the index is invalid. |
References impl.
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedExperimenterGroupList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedExperimenterList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Image > & ome::xml::model::Annotation::getLinkedImage | ( | OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedImageList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Pixels > & ome::xml::model::Annotation::getLinkedPixels | ( | OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedPixelsList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Plane > & ome::xml::model::Annotation::getLinkedPlane | ( | OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedPlaneList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Plate > & ome::xml::model::Annotation::getLinkedPlate | ( | OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type | index | ) | const |
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & ome::xml::model::Annotation::getLinkedPlateAcquisition | ( | OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type | index | ) | const |
Get linked PlateAcquisition.
index | the index number of the PlateAcquisition. |
std::out_of_range | if the index is invalid. |
References impl.
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedPlateAcquisitionList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedPlateList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Project > & ome::xml::model::Annotation::getLinkedProject | ( | OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedProjectList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Reagent > & ome::xml::model::Annotation::getLinkedReagent | ( | OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedReagentList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::ROI > & ome::xml::model::Annotation::getLinkedROI | ( | OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedROIList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Screen > & ome::xml::model::Annotation::getLinkedScreen | ( | OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedScreenList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::Well > & ome::xml::model::Annotation::getLinkedWell | ( | OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type | index | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedWellList | ( | ) | const |
const ome::compat::weak_ptr< ome::xml::model::WellSample > & ome::xml::model::Annotation::getLinkedWellSample | ( | OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type | index | ) | const |
Get linked WellSample.
index | the index number of the WellSample. |
std::out_of_range | if the index is invalid. |
References impl.
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedWellSampleList | ( | ) | const |
ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getNamespace | ( | ) |
const ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getNamespace | ( | ) | const |
|
virtual |
Get the XML namespace for this model object.
Implements ome::xml::model::OMEModelObject.
Reimplemented in ome::xml::model::FileAnnotation, ome::xml::model::TimestampAnnotation, ome::xml::model::BooleanAnnotation, ome::xml::model::CommentAnnotation, ome::xml::model::DoubleAnnotation, ome::xml::model::LongAnnotation, ome::xml::model::TagAnnotation, ome::xml::model::TermAnnotation, ome::xml::model::XMLAnnotation, ome::xml::model::ListAnnotation, ome::xml::model::BasicAnnotation, ome::xml::model::NumericAnnotation, ome::xml::model::TextAnnotation, and ome::xml::model::TypeAnnotation.
Referenced by asXMLElement(), and asXMLElementInternal().
bool ome::xml::model::Annotation::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.
reference | type qualifier for the reference. This should be the corresponding reference type for object. If, for example, object is of type Image, reference must be of type ImageRef. |
object | Model object to link to. |
true
if this model object was able to handle the reference, otherwise false
.References impl, ome::xml::model::detail::OMEModelObject::link(), and ome::xml::model::detail::OMEModelObject::logger.
Referenced by ome::xml::model::BasicAnnotation::link(), ome::xml::model::TypeAnnotation::link(), ome::xml::model::TextAnnotation::link(), ome::xml::model::NumericAnnotation::link(), and ome::xml::model::ListAnnotation::link().
bool ome::xml::model::Annotation::linkAnnotation | ( | const ome::compat::shared_ptr< ome::xml::model::Annotation > & | annotation | ) |
Link Annotation.
annotation | the Annotation to link. |
true
if the object was added to the internal annotationLinks list, otherwise false
.References impl.
bool ome::xml::model::Annotation::linkChannel | ( | const ome::compat::shared_ptr< ome::xml::model::Channel > & | channel_BackReference | ) |
Link Channel.
channel_BackReference | the Channel to link. |
true
if the object was added to the internal channelLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Channel::link().
bool ome::xml::model::Annotation::linkDataset | ( | const ome::compat::shared_ptr< ome::xml::model::Dataset > & | dataset_BackReference | ) |
Link Dataset.
dataset_BackReference | the Dataset to link. |
true
if the object was added to the internal datasetLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Dataset::link().
bool ome::xml::model::Annotation::linkExperimenter | ( | const ome::compat::shared_ptr< ome::xml::model::Experimenter > & | experimenter_BackReference | ) |
Link Experimenter.
experimenter_BackReference | the Experimenter to link. |
true
if the object was added to the internal experimenterLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Experimenter::link().
bool ome::xml::model::Annotation::linkExperimenterGroup | ( | const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & | experimenterGroup_BackReference | ) |
Link ExperimenterGroup.
experimenterGroup_BackReference | the ExperimenterGroup to link. |
true
if the object was added to the internal experimenterGroupLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::ExperimenterGroup::link().
bool ome::xml::model::Annotation::linkImage | ( | const ome::compat::shared_ptr< ome::xml::model::Image > & | image_BackReference | ) |
Link Image.
image_BackReference | the Image to link. |
true
if the object was added to the internal imageLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Image::link().
bool ome::xml::model::Annotation::linkPixels | ( | const ome::compat::shared_ptr< ome::xml::model::Pixels > & | pixels_BackReference | ) |
Link Pixels.
pixels_BackReference | the Pixels to link. |
true
if the object was added to the internal pixelsLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Pixels::link().
bool ome::xml::model::Annotation::linkPlane | ( | const ome::compat::shared_ptr< ome::xml::model::Plane > & | plane_BackReference | ) |
Link Plane.
plane_BackReference | the Plane to link. |
true
if the object was added to the internal planeLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Plane::link().
bool ome::xml::model::Annotation::linkPlate | ( | const ome::compat::shared_ptr< ome::xml::model::Plate > & | plate_BackReference | ) |
Link Plate.
plate_BackReference | the Plate to link. |
true
if the object was added to the internal plateLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Plate::link().
bool ome::xml::model::Annotation::linkPlateAcquisition | ( | const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > & | plateAcquisition_BackReference | ) |
Link PlateAcquisition.
plateAcquisition_BackReference | the PlateAcquisition to link. |
true
if the object was added to the internal plateAcquisitionLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::PlateAcquisition::link().
bool ome::xml::model::Annotation::linkProject | ( | const ome::compat::shared_ptr< ome::xml::model::Project > & | project_BackReference | ) |
Link Project.
project_BackReference | the Project to link. |
true
if the object was added to the internal projectLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Project::link().
bool ome::xml::model::Annotation::linkReagent | ( | const ome::compat::shared_ptr< ome::xml::model::Reagent > & | reagent_BackReference | ) |
Link Reagent.
reagent_BackReference | the Reagent to link. |
true
if the object was added to the internal reagentLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Reagent::link().
bool ome::xml::model::Annotation::linkROI | ( | const ome::compat::shared_ptr< ome::xml::model::ROI > & | roi_BackReference | ) |
Link ROI.
roi_BackReference | the ROI to link. |
true
if the object was added to the internal roiLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::ROI::link().
bool ome::xml::model::Annotation::linkScreen | ( | const ome::compat::shared_ptr< ome::xml::model::Screen > & | screen_BackReference | ) |
Link Screen.
screen_BackReference | the Screen to link. |
true
if the object was added to the internal screenLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Screen::link().
bool ome::xml::model::Annotation::linkWell | ( | const ome::compat::shared_ptr< ome::xml::model::Well > & | well_BackReference | ) |
Link Well.
well_BackReference | the Well to link. |
true
if the object was added to the internal wellLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::Well::link().
bool ome::xml::model::Annotation::linkWellSample | ( | const ome::compat::shared_ptr< ome::xml::model::WellSample > & | wellSample_BackReference | ) |
Link WellSample.
wellSample_BackReference | the WellSample to link. |
true
if the object was added to the internal wellSampleLinks list, otherwise false
.References impl.
Referenced by ome::xml::model::WellSample::link().
void ome::xml::model::Annotation::setAnnotator | ( | ome::compat::shared_ptr< std::string > & | annotator | ) |
void ome::xml::model::Annotation::setDescription | ( | ome::compat::shared_ptr< std::string > & | description | ) |
void ome::xml::model::Annotation::setID | ( | const std::string & | id | ) |
const ome::compat::weak_ptr< ome::xml::model::Annotation > & 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.
index | the index number of the Annotation. |
annotation | the Annotation to set. |
std::out_of_range | if the index is invalid. |
References impl.
const ome::compat::weak_ptr< ome::xml::model::Channel > & ome::xml::model::Annotation::setLinkedChannel | ( | OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::Channel > & | channel_BackReference | ||
) |
const ome::compat::weak_ptr< ome::xml::model::Dataset > & ome::xml::model::Annotation::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 | ||
) |
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & ome::xml::model::Annotation::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_BackReference | ||
) |
Set linked Experimenter.
index | the index number of the Experimenter. |
experimenter_BackReference | the Experimenter to set. |
std::out_of_range | if the index is invalid. |
References impl.
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & ome::xml::model::Annotation::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.
index | the index number of the ExperimenterGroup. |
experimenterGroup_BackReference | the ExperimenterGroup to set. |
std::out_of_range | if the index is invalid. |
References impl.
const ome::compat::weak_ptr< ome::xml::model::Image > & ome::xml::model::Annotation::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 | ||
) |
const ome::compat::weak_ptr< ome::xml::model::Pixels > & ome::xml::model::Annotation::setLinkedPixels | ( | OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::Pixels > & | pixels_BackReference | ||
) |
const ome::compat::weak_ptr< ome::xml::model::Plane > & ome::xml::model::Annotation::setLinkedPlane | ( | OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::Plane > & | plane_BackReference | ||
) |
const ome::compat::weak_ptr< ome::xml::model::Plate > & ome::xml::model::Annotation::setLinkedPlate | ( | OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::Plate > & | plate_BackReference | ||
) |
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & ome::xml::model::Annotation::setLinkedPlateAcquisition | ( | OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > & | plateAcquisition_BackReference | ||
) |
Set linked PlateAcquisition.
index | the index number of the PlateAcquisition. |
plateAcquisition_BackReference | the PlateAcquisition to set. |
std::out_of_range | if the index is invalid. |
References impl.
const ome::compat::weak_ptr< ome::xml::model::Project > & ome::xml::model::Annotation::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 | ||
) |
const ome::compat::weak_ptr< ome::xml::model::Reagent > & ome::xml::model::Annotation::setLinkedReagent | ( | OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::Reagent > & | reagent_BackReference | ||
) |
const ome::compat::weak_ptr< ome::xml::model::ROI > & ome::xml::model::Annotation::setLinkedROI | ( | OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::ROI > & | roi_BackReference | ||
) |
const ome::compat::weak_ptr< ome::xml::model::Screen > & ome::xml::model::Annotation::setLinkedScreen | ( | OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::Screen > & | screen_BackReference | ||
) |
const ome::compat::weak_ptr< ome::xml::model::Well > & ome::xml::model::Annotation::setLinkedWell | ( | OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::Well > & | well_BackReference | ||
) |
const ome::compat::weak_ptr< ome::xml::model::WellSample > & ome::xml::model::Annotation::setLinkedWellSample | ( | OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type | index, |
const ome::compat::shared_ptr< ome::xml::model::WellSample > & | wellSample_BackReference | ||
) |
Set linked WellSample.
index | the index number of the WellSample. |
wellSample_BackReference | the WellSample to set. |
std::out_of_range | if the index is invalid. |
References impl.
void ome::xml::model::Annotation::setNamespace | ( | ome::compat::shared_ptr< std::string > & | namespace_ | ) |
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedAnnotationList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedChannelList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedDatasetList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedExperimenterGroupList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedExperimenterList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedImageList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedPixelsList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedPlaneList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedPlateAcquisitionList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedPlateList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedProjectList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedReagentList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedROIList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedScreenList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedWellList | ( | ) | const |
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedWellSampleList | ( | ) | const |
bool ome::xml::model::Annotation::unlinkAnnotation | ( | const ome::compat::shared_ptr< ome::xml::model::Annotation > & | annotation | ) |
Unlink Annotation.
annotation | the Annotation to unlink. |
true
if the Annotation was unlinked, otherwise false
if the Annotation was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkChannel | ( | const ome::compat::shared_ptr< ome::xml::model::Channel > & | channel_BackReference | ) |
Unlink Channel.
channel_BackReference | the Channel to unlink. |
true
if the Channel was unlinked, otherwise false
if the Channel was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkDataset | ( | const ome::compat::shared_ptr< ome::xml::model::Dataset > & | dataset_BackReference | ) |
Unlink Dataset.
dataset_BackReference | the Dataset to unlink. |
true
if the Dataset was unlinked, otherwise false
if the Dataset was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkExperimenter | ( | const ome::compat::shared_ptr< ome::xml::model::Experimenter > & | experimenter_BackReference | ) |
Unlink Experimenter.
experimenter_BackReference | the Experimenter to unlink. |
true
if the Experimenter was unlinked, otherwise false
if the Experimenter was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkExperimenterGroup | ( | const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & | experimenterGroup_BackReference | ) |
Unlink ExperimenterGroup.
experimenterGroup_BackReference | the ExperimenterGroup to unlink. |
true
if the ExperimenterGroup was unlinked, otherwise false
if the ExperimenterGroup was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkImage | ( | const ome::compat::shared_ptr< ome::xml::model::Image > & | image_BackReference | ) |
Unlink Image.
image_BackReference | the Image to unlink. |
true
if the Image was unlinked, otherwise false
if the Image was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkPixels | ( | const ome::compat::shared_ptr< ome::xml::model::Pixels > & | pixels_BackReference | ) |
Unlink Pixels.
pixels_BackReference | the Pixels to unlink. |
true
if the Pixels was unlinked, otherwise false
if the Pixels was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkPlane | ( | const ome::compat::shared_ptr< ome::xml::model::Plane > & | plane_BackReference | ) |
Unlink Plane.
plane_BackReference | the Plane to unlink. |
true
if the Plane was unlinked, otherwise false
if the Plane was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkPlate | ( | const ome::compat::shared_ptr< ome::xml::model::Plate > & | plate_BackReference | ) |
Unlink Plate.
plate_BackReference | the Plate to unlink. |
true
if the Plate was unlinked, otherwise false
if the Plate was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkPlateAcquisition | ( | const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > & | plateAcquisition_BackReference | ) |
Unlink PlateAcquisition.
plateAcquisition_BackReference | the PlateAcquisition to unlink. |
true
if the PlateAcquisition was unlinked, otherwise false
if the PlateAcquisition was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkProject | ( | const ome::compat::shared_ptr< ome::xml::model::Project > & | project_BackReference | ) |
Unlink Project.
project_BackReference | the Project to unlink. |
true
if the Project was unlinked, otherwise false
if the Project was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkReagent | ( | const ome::compat::shared_ptr< ome::xml::model::Reagent > & | reagent_BackReference | ) |
Unlink Reagent.
reagent_BackReference | the Reagent to unlink. |
true
if the Reagent was unlinked, otherwise false
if the Reagent was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkROI | ( | const ome::compat::shared_ptr< ome::xml::model::ROI > & | roi_BackReference | ) |
Unlink ROI.
roi_BackReference | the ROI to unlink. |
true
if the ROI was unlinked, otherwise false
if the ROI was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkScreen | ( | const ome::compat::shared_ptr< ome::xml::model::Screen > & | screen_BackReference | ) |
Unlink Screen.
screen_BackReference | the Screen to unlink. |
true
if the Screen was unlinked, otherwise false
if the Screen was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkWell | ( | const ome::compat::shared_ptr< ome::xml::model::Well > & | well_BackReference | ) |
Unlink Well.
well_BackReference | the Well to unlink. |
true
if the Well was unlinked, otherwise false
if the Well was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
bool ome::xml::model::Annotation::unlinkWellSample | ( | const ome::compat::shared_ptr< ome::xml::model::WellSample > & | wellSample_BackReference | ) |
Unlink WellSample.
wellSample_BackReference | the WellSample to unlink. |
true
if the WellSample was unlinked, otherwise false
if the WellSample was not linked and could hence not be unlinked.Does the return value serve any useful purpose? Is this also inherited Java API?
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
|
virtual |
Update the object hierarchy recursively from an XML DOM tree.
element | root of the XML DOM tree to from which to construct the model object graph. |
model | handler for the OME model used to track instances and references seen during the update. |
EnumerationException | if there is an error instantiating an enumeration during model object creation, or ModelException if there are any consistency or validity errors found during processing. |
Implements ome::xml::model::OMEModelObject.
Reimplemented in ome::xml::model::FileAnnotation, ome::xml::model::TimestampAnnotation, ome::xml::model::BooleanAnnotation, ome::xml::model::CommentAnnotation, ome::xml::model::DoubleAnnotation, ome::xml::model::ListAnnotation, ome::xml::model::LongAnnotation, ome::xml::model::TagAnnotation, ome::xml::model::TermAnnotation, ome::xml::model::XMLAnnotation, ome::xml::model::BasicAnnotation, ome::xml::model::NumericAnnotation, ome::xml::model::TextAnnotation, and ome::xml::model::TypeAnnotation.
References ome::xml::model::OMEModel::addModelObject(), ome::xml::model::OMEModel::addReference(), ome::common::xml::dom::Element::getAttribute(), ome::xml::model::detail::OMEModelObject::getChildrenByTagName(), getID(), ome::common::xml::dom::Element::getTagName(), ome::common::xml::dom::Element::hasAttribute(), ome::xml::model::detail::OMEModelObject::logger, setAnnotator(), setDescription(), setID(), setNamespace(), ome::xml::model::detail::OMEModelObject::stripNamespacePrefix(), ome::xml::model::detail::OMEModelObject::update(), and validElementName().
Referenced by ome::xml::model::BasicAnnotation::update(), ome::xml::model::TypeAnnotation::update(), ome::xml::model::TextAnnotation::update(), ome::xml::model::NumericAnnotation::update(), and ome::xml::model::ListAnnotation::update().
|
virtual |
Check if a given element name is valid for processing by this model object.
Used for processing nodes when interitance is involved.
name | the element name to check. |
true
if valid, false
if invalid. Implements ome::xml::model::detail::OMEModelObject.
Reimplemented in ome::xml::model::FileAnnotation, ome::xml::model::TimestampAnnotation, ome::xml::model::BooleanAnnotation, ome::xml::model::CommentAnnotation, ome::xml::model::DoubleAnnotation, ome::xml::model::ListAnnotation, ome::xml::model::LongAnnotation, ome::xml::model::TagAnnotation, ome::xml::model::TermAnnotation, ome::xml::model::XMLAnnotation, ome::xml::model::BasicAnnotation, ome::xml::model::NumericAnnotation, ome::xml::model::TextAnnotation, and ome::xml::model::TypeAnnotation.
References ome::xml::model::detail::OMEModelObject::validElementName().
Referenced by update(), ome::xml::model::BasicAnnotation::validElementName(), ome::xml::model::TextAnnotation::validElementName(), ome::xml::model::NumericAnnotation::validElementName(), ome::xml::model::TypeAnnotation::validElementName(), and ome::xml::model::ListAnnotation::validElementName().