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>
61 #include <ome/xml/model/primitives/Quantity.h>
63 #include <ome/xml/model/Annotation.h>
64 #include <ome/xml/model/StructuredAnnotations.h>
65 #include <ome/xml/model/primitives/OrderedMultimap.h>
85 std::shared_ptr<Impl>
impl;
116 static std::shared_ptr<MapAnnotation>
145 link (std::shared_ptr<Reference>& reference,
146 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
169 std::weak_ptr<ome::xml::model::StructuredAnnotations>
177 const std::weak_ptr<ome::xml::model::StructuredAnnotations>
186 setStructuredAnnotations (std::weak_ptr<ome::xml::model::StructuredAnnotations>& structuredAnnotations_BackReference);
204 #endif // OME_XML_MODEL_MAPANNOTATION_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:61
void setValue(const ome::xml::model::primitives::OrderedMultimap &value)
Set the Value property.
Definition: MapAnnotation.cpp:233
MapAnnotation model object.
Definition: MapAnnotation.h:80
virtual ~MapAnnotation()
Destructor.
Definition: MapAnnotation.cpp:140
virtual void 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:260
void setStructuredAnnotations(std::weak_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations_BackReference)
Set the StructuredAnnotations property.
Definition: MapAnnotation.cpp:254
const std::string & elementName() const
Get the element name of this model object.
Definition: MapAnnotation.cpp:154
std::shared_ptr< Impl > impl
Private implementation details.
Definition: MapAnnotation.h:83
virtual SKIP 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:167
bool link(std::shared_ptr< Reference > &reference, std::shared_ptr< ome::xml::model::OMEModelObject > &object)
Link a given OME model object to this model object.
Definition: MapAnnotation.cpp:211
Annotation model object.
Definition: Annotation.h:100
static std::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:145
std::weak_ptr< ome::xml::model::StructuredAnnotations > getStructuredAnnotations()
Get the StructuredAnnotations property.
Definition: MapAnnotation.cpp:240
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: MapAnnotation.cpp:288
Private implementation details of MapAnnotation model object.
Definition: MapAnnotation.cpp:71
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
const ome::xml::model::primitives::OrderedMultimap & getValue() const
Get the Value property.
Definition: MapAnnotation.cpp:226
MapAnnotation()
Default constructor.
Definition: MapAnnotation.cpp:121
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: MapAnnotation.cpp:161