46 #ifndef OME_XML_MODEL_BINDATA_H 47 #define OME_XML_MODEL_BINDATA_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/Mask.h> 63 #include <ome/xml/model/Pixels.h> 64 #include <ome/xml/model/detail/OMEModelObject.h> 65 #include <ome/xml/model/enums/Compression.h> 66 #include <ome/xml/model/primitives/NonNegativeLong.h> 86 ome::compat::shared_ptr<Impl>
impl;
117 static ome::compat::shared_ptr< BinData>
142 link (ome::compat::shared_ptr<Reference>& reference,
143 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
182 ome::compat::shared_ptr<ome::xml::model::enums::Compression>
190 const ome::compat::shared_ptr<ome::xml::model::enums::Compression>
199 setCompression (ome::compat::shared_ptr<ome::xml::model::enums::Compression>& compression);
206 ome::compat::weak_ptr<ome::xml::model::Pixels>
214 const ome::compat::weak_ptr<ome::xml::model::Pixels>
223 setPixels (ome::compat::weak_ptr<ome::xml::model::Pixels>& pixels_BackReference);
230 ome::compat::weak_ptr<ome::xml::model::Mask>
238 const ome::compat::weak_ptr<ome::xml::model::Mask>
247 setMask (ome::compat::weak_ptr<ome::xml::model::Mask>& mask_BackReference);
271 #endif // OME_XML_MODEL_BINDATA_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: BinData.cpp:390
ome::compat::weak_ptr< ome::xml::model::Mask > getMask()
Get the Mask property.
Definition: BinData.cpp:313
void setBigEndian(bool bigEndian)
Set the BigEndian property.
Definition: BinData.cpp:250
const ome::xml::model::primitives::NonNegativeLong & getLength() const
Get the Length property.
Definition: BinData.cpp:257
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: BinData.cpp:341
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: BinData.h:84
void setMask(ome::compat::weak_ptr< ome::xml::model::Mask > &mask_BackReference)
Set the Mask property.
Definition: BinData.cpp:327
Private implementation details of BinData model object.
Definition: BinData.cpp:73
bool getBigEndian() const
Get the BigEndian property.
Definition: BinData.cpp:243
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: BinData.cpp:190
virtual ~BinData()
Destructor.
Definition: BinData.cpp:160
ome::compat::weak_ptr< ome::xml::model::Pixels > getPixels()
Get the Pixels property.
Definition: BinData.cpp:292
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: BinData.cpp:334
BinData()
Default constructor.
Definition: BinData.cpp:141
ome::compat::shared_ptr< ome::xml::model::enums::Compression > getCompression()
Get the Compression property.
Definition: BinData.cpp:271
void setLength(const ome::xml::model::primitives::NonNegativeLong &length)
Set the Length property.
Definition: BinData.cpp:264
Open Microscopy Environment C++ implementation.
static ome::compat::shared_ptr< BinData > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a BinData model object from DOM element.
Definition: BinData.cpp:165
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: BinData.cpp:181
void setPixels(ome::compat::weak_ptr< ome::xml::model::Pixels > &pixels_BackReference)
Set the Pixels property.
Definition: BinData.cpp:306
BinData model object.
Definition: BinData.h:81
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: BinData.cpp:228
const std::string & elementName() const
Get the element name of this model object.
Definition: BinData.cpp:174
void setCompression(ome::compat::shared_ptr< ome::xml::model::enums::Compression > &compression)
Set the Compression property.
Definition: BinData.cpp:285
A numeric type constrained to a subrange (or subranges) of its range limits.
Definition: ConstrainedNumeric.h:119