46 #ifndef OME_XML_MODEL_MAPANNOTATION_H 47 #define OME_XML_MODEL_MAPANNOTATION_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/Annotation.h> 65 #include <ome/xml/model/StructuredAnnotations.h> 66 #include <ome/xml/model/primitives/OrderedMultimap.h> 86 ome::compat::shared_ptr<Impl>
impl;
117 static ome::compat::shared_ptr< MapAnnotation>
147 link (ome::compat::shared_ptr<Reference>& reference,
148 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
171 ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>
179 const ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>
188 setStructuredAnnotations (ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>& structuredAnnotations_BackReference);
211 #endif // OME_XML_MODEL_MAPANNOTATION_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
void setValue(const ome::xml::model::primitives::OrderedMultimap &value)
Set the Value property.
Definition: MapAnnotation.cpp:227
MapAnnotation model object.
Definition: MapAnnotation.h:81
virtual ~MapAnnotation()
Destructor.
Definition: MapAnnotation.cpp:132
void setStructuredAnnotations(ome::compat::weak_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations_BackReference)
Set the StructuredAnnotations property.
Definition: MapAnnotation.cpp:248
const std::string & elementName() const
Get the element name of this model object.
Definition: MapAnnotation.cpp:146
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: MapAnnotation.h:84
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: MapAnnotation.cpp:296
const ome::xml::model::primitives::OrderedMultimap & getValue() const
Get the Value property.
Definition: MapAnnotation.cpp:220
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: MapAnnotation.cpp:161
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: MapAnnotation.cpp:205
Open Microscopy Environment C++ implementation.
static ome::compat::shared_ptr< MapAnnotation > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a MapAnnotation model object from DOM element.
Definition: MapAnnotation.cpp:137
Annotation model object.
Definition: Annotation.h:101
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: MapAnnotation.cpp:153
MapAnnotation & operator=(const MapAnnotation &)
Assignment operator (deleted).
Private implementation details of MapAnnotation model object.
Definition: MapAnnotation.cpp:71
ome::compat::weak_ptr< ome::xml::model::StructuredAnnotations > getStructuredAnnotations()
Get the StructuredAnnotations property.
Definition: MapAnnotation.cpp:234
boost::multi_index_container< ordered_map_value, boost::multi_index::indexed_by< boost::multi_index::random_access< boost::multi_index::tag< order_index > >, boost::multi_index::hashed_non_unique< boost::multi_index::tag< key_index >, boost::multi_index::member< ordered_map_value, std::string, &ordered_map_value::first > > > > OrderedMultimap
Map preserving insertion order.
Definition: OrderedMultimap.h:89
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: MapAnnotation.cpp:261
MapAnnotation()
Default constructor.
Definition: MapAnnotation.cpp:117
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: MapAnnotation.cpp:254