46 #ifndef OME_XML_MODEL_TEXTANNOTATION_H
47 #define OME_XML_MODEL_TEXTANNOTATION_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>
83 std::shared_ptr<Impl>
impl;
122 link (std::shared_ptr<Reference>& reference,
123 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
141 #endif // OME_XML_MODEL_TEXTANNOTATION_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:61
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: TextAnnotation.cpp:142
TextAnnotation model object.
Definition: TextAnnotation.h:78
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: TextAnnotation.cpp:122
virtual ~TextAnnotation()
Destructor.
Definition: TextAnnotation.cpp:117
Private implementation details of TextAnnotation model object.
Definition: TextAnnotation.cpp:70
TextAnnotation()
Default constructor.
Definition: TextAnnotation.cpp:102
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: TextAnnotation.cpp:128
TextAnnotation & operator=(const TextAnnotation &)
Assignment operator (deleted).
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: TextAnnotation.cpp:173
Annotation model object.
Definition: Annotation.h:100
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: TextAnnotation.cpp:156
std::shared_ptr< Impl > impl
Private implementation details.
Definition: TextAnnotation.h:81