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> 61 #include <ome/xml/model/primitives/Quantity.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 std::shared_ptr<Impl>
impl;
117 static std::shared_ptr<BinData>
131 operator= (
const BinData&) =
delete;
146 link (std::shared_ptr<Reference>& reference,
147 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
154 const std::vector<uint8_t>&
202 std::shared_ptr<ome::xml::model::enums::Compression>
210 const std::shared_ptr<ome::xml::model::enums::Compression>
219 setCompression (std::shared_ptr<ome::xml::model::enums::Compression>& compression);
226 std::weak_ptr<ome::xml::model::Pixels>
234 const std::weak_ptr<ome::xml::model::Pixels>
243 setPixels (std::weak_ptr<ome::xml::model::Pixels>& pixels_BackReference);
261 #endif // OME_XML_MODEL_BINDATA_H OME model interface (abstract top-level container)
Definition: OMEModel.h:61
void setCompression(std::shared_ptr< ome::xml::model::enums::Compression > &compression)
Set the Compression property.
Definition: BinData.cpp:308
std::shared_ptr< Impl > impl
Private implementation details.
Definition: BinData.h:84
static std::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:168
void setBigEndian(bool bigEndian)
Set the BigEndian property.
Definition: BinData.cpp:273
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
Private implementation details of BinData model object.
Definition: BinData.cpp:73
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: BinData.cpp:190
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: BinData.cpp:184
virtual ~BinData()
Destructor.
Definition: BinData.cpp:163
void setPixels(std::weak_ptr< ome::xml::model::Pixels > &pixels_BackReference)
Set the Pixels property.
Definition: BinData.cpp:329
BinData()
Default constructor.
Definition: BinData.cpp:144
void setLength(const ome::xml::model::primitives::NonNegativeLong &length)
Set the Length property.
Definition: BinData.cpp:287
Open Microscopy Environment C++ implementation.
std::weak_ptr< ome::xml::model::Pixels > getPixels()
Get the Pixels property.
Definition: BinData.cpp:315
const ome::xml::model::primitives::NonNegativeLong & getLength() const
Get the Length property.
Definition: BinData.cpp:280
const std::string & elementName() const
Get the element name of this model object.
Definition: BinData.cpp:177
bool getBigEndian() const
Get the BigEndian property.
Definition: BinData.cpp:266
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: BinData.cpp:381
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: BinData.cpp:335
BinData model object.
Definition: BinData.h:81
const std::vector< uint8_t > & getBase64Binary() const
Get the Base64Binary property.
Definition: BinData.cpp:252
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: BinData.cpp:237
std::shared_ptr< ome::xml::model::enums::Compression > getCompression()
Get the Compression property.
Definition: BinData.cpp:294
A numeric type constrained to a subrange (or subranges) of its range limits.
Definition: ConstrainedNumeric.h:118
void setBase64Binary(const std::vector< uint8_t > &base64Binary)
Set the Base64Binary property.
Definition: BinData.cpp:259