46 #ifndef OME_XML_MODEL_EXTERNAL_H 47 #define OME_XML_MODEL_EXTERNAL_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/detail/OMEModelObject.h> 64 #include <ome/xml/model/enums/Compression.h> 84 std::shared_ptr<Impl>
impl;
115 static std::shared_ptr<External>
129 operator= (
const External&) =
delete;
144 link (std::shared_ptr<Reference>& reference,
145 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
161 sethref (
const std::string& href);
168 std::shared_ptr<ome::xml::model::enums::Compression>
176 const std::shared_ptr<ome::xml::model::enums::Compression>
185 setCompression (std::shared_ptr<ome::xml::model::enums::Compression>& compression);
201 setSHA1 (
const std::string& sha1);
219 #endif // OME_XML_MODEL_EXTERNAL_H External model object.
Definition: External.h:79
std::shared_ptr< ome::xml::model::enums::Compression > getCompression()
Get the Compression property.
Definition: External.cpp:238
OME model interface (abstract top-level container)
Definition: OMEModel.h:61
const std::string & getSHA1() const
Get the SHA1 property.
Definition: External.cpp:259
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: External.cpp:313
static std::shared_ptr< External > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a External model object from DOM element.
Definition: External.cpp:152
Open Microscopy Environment C++ implementation.
External()
Default constructor.
Definition: External.cpp:128
const std::string & gethref() const
Get the href property.
Definition: External.cpp:224
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: External.cpp:168
void setCompression(std::shared_ptr< ome::xml::model::enums::Compression > &compression)
Set the Compression property.
Definition: External.cpp:252
void sethref(const std::string &href)
Set the href property.
Definition: External.cpp:231
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: External.cpp:272
void setSHA1(const std::string &sha1)
Set the SHA1 property.
Definition: External.cpp:266
const std::string & elementName() const
Get the element name of this model object.
Definition: External.cpp:161
virtual ~External()
Destructor.
Definition: External.cpp:147
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: External.cpp:209
std::shared_ptr< Impl > impl
Private implementation details.
Definition: External.h:82
Private implementation details of External model object.
Definition: External.cpp:71
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: External.cpp:174