46 #ifndef OME_XML_MODEL_BOOLEANANNOTATION_H 47 #define OME_XML_MODEL_BOOLEANANNOTATION_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/BasicAnnotation.h> 64 #include <ome/xml/model/StructuredAnnotations.h> 84 std::shared_ptr<Impl>
impl;
115 static std::shared_ptr<BooleanAnnotation>
144 link (std::shared_ptr<Reference>& reference,
145 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
168 std::weak_ptr<ome::xml::model::StructuredAnnotations>
176 const std::weak_ptr<ome::xml::model::StructuredAnnotations>
185 setStructuredAnnotations (std::weak_ptr<ome::xml::model::StructuredAnnotations>& structuredAnnotations_BackReference);
203 #endif // OME_XML_MODEL_BOOLEANANNOTATION_H OME model interface (abstract top-level container)
Definition: OMEModel.h:61
void setValue(bool value)
Set the Value property.
Definition: BooleanAnnotation.cpp:219
BooleanAnnotation model object.
Definition: BooleanAnnotation.h:79
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: BooleanAnnotation.cpp:161
std::weak_ptr< ome::xml::model::StructuredAnnotations > getStructuredAnnotations()
Get the StructuredAnnotations property.
Definition: BooleanAnnotation.cpp:226
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: BooleanAnnotation.cpp:273
BooleanAnnotation()
Default constructor.
Definition: BooleanAnnotation.cpp:121
virtual ~BooleanAnnotation()
Destructor.
Definition: BooleanAnnotation.cpp:140
static std::shared_ptr< BooleanAnnotation > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a BooleanAnnotation model object from DOM element.
Definition: BooleanAnnotation.cpp:145
BasicAnnotation model object.
Definition: BasicAnnotation.h:78
std::shared_ptr< Impl > impl
Private implementation details.
Definition: BooleanAnnotation.h:82
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: BooleanAnnotation.cpp:167
Open Microscopy Environment C++ implementation.
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: BooleanAnnotation.cpp:197
bool getValue() const
Get the Value property.
Definition: BooleanAnnotation.cpp:212
const std::string & elementName() const
Get the element name of this model object.
Definition: BooleanAnnotation.cpp:154
void setStructuredAnnotations(std::weak_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations_BackReference)
Set the StructuredAnnotations property.
Definition: BooleanAnnotation.cpp:240
Private implementation details of BooleanAnnotation model object.
Definition: BooleanAnnotation.cpp:71
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: BooleanAnnotation.cpp:246