ome-xml
5.2.4
|
#include <ome/xml/model/Pixels.h>
Classes | |
class | Impl |
Private implementation details of Pixels model object. More... | |
Public Member Functions | |
Pixels () | |
Default constructor. | |
Pixels (const Pixels ©) | |
Copy constructor. More... | |
virtual | ~Pixels () |
Destructor. | |
const std::string & | elementName () const |
Get the element name of this model object. More... | |
bool | validElementName (const std::string &name) const |
Check if a given element name is valid for processing by this model object. More... | |
virtual void | update (const common::xml::dom::Element &element, ome::xml::model::OMEModel &model) |
Update the object hierarchy recursively from an XML DOM tree. More... | |
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. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeT () const |
Get the SizeT property. More... | |
void | setSizeT (const ome::xml::model::primitives::PositiveInteger &sizeT) |
Set the SizeT property. More... | |
ome::xml::model::enums::DimensionOrder & | getDimensionOrder () |
Get the DimensionOrder property. More... | |
const ome::xml::model::enums::DimensionOrder & | getDimensionOrder () const |
Get the DimensionOrder property. More... | |
void | setDimensionOrder (const ome::xml::model::enums::DimensionOrder &dimensionOrder) |
Set the DimensionOrder property. More... | |
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeZ () |
Get the PhysicalSizeZ property. More... | |
const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeZ () const |
Get the PhysicalSizeZ property. More... | |
void | setPhysicalSizeZ (const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &physicalSizeZ) |
Set the PhysicalSizeZ property. More... | |
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeY () |
Get the PhysicalSizeY property. More... | |
const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeY () const |
Get the PhysicalSizeY property. More... | |
void | setPhysicalSizeY (const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &physicalSizeY) |
Set the PhysicalSizeY property. More... | |
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeX () |
Get the PhysicalSizeX property. More... | |
const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeX () const |
Get the PhysicalSizeX property. More... | |
void | setPhysicalSizeX (const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &physicalSizeX) |
Set the PhysicalSizeX property. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeX () const |
Get the SizeX property. More... | |
void | setSizeX (const ome::xml::model::primitives::PositiveInteger &sizeX) |
Set the SizeX property. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeY () const |
Get the SizeY property. More... | |
void | setSizeY (const ome::xml::model::primitives::PositiveInteger &sizeY) |
Set the SizeY property. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeZ () const |
Get the SizeZ property. More... | |
void | setSizeZ (const ome::xml::model::primitives::PositiveInteger &sizeZ) |
Set the SizeZ property. More... | |
ome::compat::shared_ptr< bool > | getBigEndian () |
Get the BigEndian property. More... | |
const ome::compat::shared_ptr< bool > | getBigEndian () const |
Get the BigEndian property. More... | |
void | setBigEndian (ome::compat::shared_ptr< bool > &bigEndian) |
Set the BigEndian property. More... | |
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & | getTimeIncrement () |
Get the TimeIncrement property. More... | |
const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & | getTimeIncrement () const |
Get the TimeIncrement property. More... | |
void | setTimeIncrement (const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > &timeIncrement) |
Set the TimeIncrement property. More... | |
ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > | getSignificantBits () |
Get the SignificantBits property. More... | |
const ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > | getSignificantBits () const |
Get the SignificantBits property. More... | |
void | setSignificantBits (ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > &significantBits) |
Set the SignificantBits property. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeC () const |
Get the SizeC property. More... | |
void | setSizeC (const ome::xml::model::primitives::PositiveInteger &sizeC) |
Set the SizeC property. More... | |
ome::xml::model::enums::PixelType & | getType () |
Get the Type property. More... | |
const ome::xml::model::enums::PixelType & | getType () const |
Get the Type property. More... | |
void | setType (const ome::xml::model::enums::PixelType &type) |
Set the Type property. More... | |
const std::string & | getID () const |
Get the ID property. More... | |
void | setID (const std::string &id) |
Set the ID property. More... | |
ome::compat::shared_ptr< bool > | getInterleaved () |
Get the Interleaved property. More... | |
const ome::compat::shared_ptr< bool > | getInterleaved () const |
Get the Interleaved property. More... | |
void | setInterleaved (ome::compat::shared_ptr< bool > &interleaved) |
Set the Interleaved property. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > >::size_type | sizeOfChannelList () const |
Get size of linked Channel list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > > & | getChannelList () |
Get the Channel list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > > & | getChannelList () const |
Get the Channel list. More... | |
ome::compat::shared_ptr< ome::xml::model::Channel > & | getChannel (std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > >::size_type index) |
Get Channel. More... | |
const ome::compat::shared_ptr< ome::xml::model::Channel > & | getChannel (std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > >::size_type index) const |
Get Channel. More... | |
void | setChannel (std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Channel > &channel) |
Set Channel. More... | |
void | addChannel (ome::compat::shared_ptr< ome::xml::model::Channel > &channel) |
Add Channel. More... | |
void | removeChannel (ome::compat::shared_ptr< ome::xml::model::Channel > &channel) |
Remove Channel. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > >::size_type | sizeOfBinDataList () const |
Get size of linked BinData list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > > & | getBinDataList () |
Get the BinData list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > > & | getBinDataList () const |
Get the BinData list. More... | |
ome::compat::shared_ptr< ome::xml::model::BinData > & | getBinData (std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > >::size_type index) |
Get BinData. More... | |
const ome::compat::shared_ptr< ome::xml::model::BinData > & | getBinData (std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > >::size_type index) const |
Get BinData. More... | |
void | setBinData (std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > >::size_type index, ome::compat::shared_ptr< ome::xml::model::BinData > &binData) |
Set BinData. More... | |
void | addBinData (ome::compat::shared_ptr< ome::xml::model::BinData > &binData) |
Add BinData. More... | |
void | removeBinData (ome::compat::shared_ptr< ome::xml::model::BinData > &binData) |
Remove BinData. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > >::size_type | sizeOfTiffDataList () const |
Get size of linked TiffData list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > > & | getTiffDataList () |
Get the TiffData list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > > & | getTiffDataList () const |
Get the TiffData list. More... | |
ome::compat::shared_ptr< ome::xml::model::TiffData > & | getTiffData (std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > >::size_type index) |
Get TiffData. More... | |
const ome::compat::shared_ptr< ome::xml::model::TiffData > & | getTiffData (std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > >::size_type index) const |
Get TiffData. More... | |
void | setTiffData (std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > >::size_type index, ome::compat::shared_ptr< ome::xml::model::TiffData > &tiffData) |
Set TiffData. More... | |
void | addTiffData (ome::compat::shared_ptr< ome::xml::model::TiffData > &tiffData) |
Add TiffData. More... | |
void | removeTiffData (ome::compat::shared_ptr< ome::xml::model::TiffData > &tiffData) |
Remove TiffData. More... | |
ome::compat::shared_ptr< ome::xml::model::MetadataOnly > | getMetadataOnly () |
Get the MetadataOnly property. More... | |
const ome::compat::shared_ptr< ome::xml::model::MetadataOnly > | getMetadataOnly () const |
Get the MetadataOnly property. More... | |
void | setMetadataOnly (ome::compat::shared_ptr< ome::xml::model::MetadataOnly > &metadataOnly) |
Set the MetadataOnly property. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > >::size_type | sizeOfPlaneList () const |
Get size of linked Plane list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > > & | getPlaneList () |
Get the Plane list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > > & | getPlaneList () const |
Get the Plane list. More... | |
ome::compat::shared_ptr< ome::xml::model::Plane > & | getPlane (std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > >::size_type index) |
Get Plane. More... | |
const ome::compat::shared_ptr< ome::xml::model::Plane > & | getPlane (std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > >::size_type index) const |
Get Plane. More... | |
void | setPlane (std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Plane > &plane) |
Set Plane. More... | |
void | addPlane (ome::compat::shared_ptr< ome::xml::model::Plane > &plane) |
Add Plane. More... | |
void | removePlane (ome::compat::shared_ptr< ome::xml::model::Plane > &plane) |
Remove Plane. More... | |
virtual common::xml::dom::Element | asXMLElement (common::xml::dom::Document &document) const |
Transform the object hierarchy rooted at this element to XML. More... | |
const std::string & | getXMLNamespace () const |
Get the XML namespace for this model object. More... | |
![]() | |
virtual | ~OMEModelObject () |
Destructor. | |
virtual void | update (const common::xml::dom::Element &element, ::ome::xml::model::OMEModel &model) |
Update the object hierarchy recursively from an XML DOM tree. More... | |
virtual 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. More... | |
![]() | |
virtual bool | link (ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< OMEModelObject > &object)=0 |
Link a given OME model object to this model object. More... | |
Static Public Member Functions | |
static ome::compat::shared_ptr< Pixels > | create (const common::xml::dom::Element &element, ome::xml::model::OMEModel &model) |
Create a Pixels model object from DOM element. More... | |
![]() | |
static std::vector< common::xml::dom::Element > | getChildrenByTagName (const common::xml::dom::Element &parent, const std::string &name) |
Retrieve all the children of an element that have a given tag name. More... | |
static std::string | stripNamespacePrefix (const std::string &value) |
Strip the namespace prefix from a tag name. More... | |
Protected Member Functions | |
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. More... | |
![]() | |
OMEModelObject (const std::string &objectType="OMEModelObject") | |
Constructor. | |
OMEModelObject (const OMEModelObject ©) | |
Copy constructor. More... | |
template<class C , typename T > | |
bool | contains (const C &container, const ome::compat::shared_ptr< T > &element) |
Check if a container contains a particular element. More... | |
![]() | |
OMEModelObject () | |
Constructor. | |
Private Member Functions | |
Pixels & | operator= (const Pixels &) |
Assignment operator (deleted). | |
Private Attributes | |
ome::compat::shared_ptr< Impl > | impl |
Private implementation details. | |
Additional Inherited Members | |
![]() | |
ome::common::Logger | logger |
Message logger. | |
Pixels model object.
ome::xml::model::Pixels::Pixels | ( | const Pixels & | copy | ) |
Copy constructor.
copy | the Pixels to copy. |
void ome::xml::model::Pixels::addBinData | ( | ome::compat::shared_ptr< ome::xml::model::BinData > & | binData | ) |
void ome::xml::model::Pixels::addChannel | ( | ome::compat::shared_ptr< ome::xml::model::Channel > & | channel | ) |
void ome::xml::model::Pixels::addPlane | ( | ome::compat::shared_ptr< ome::xml::model::Plane > & | plane | ) |
void ome::xml::model::Pixels::addTiffData | ( | ome::compat::shared_ptr< ome::xml::model::TiffData > & | tiffData | ) |
|
virtual |
Transform the object hierarchy rooted at this element to XML.
document | document for element creation |
Implements ome::xml::model::OMEModelObject.
References asXMLElementInternal(), ome::common::xml::dom::Document::createElementNS(), and getXMLNamespace().
|
protectedvirtual |
Transform the object hierarchy rooted at this element to XML.
This internal implementation of asXMLelement also requires an XML element, which must not be null, or may be instantiated and passed from superclasses.
document | XML document for element creation. |
element | XML element for setting model data. |
Implements ome::xml::model::detail::OMEModelObject.
References ome::common::xml::dom::Node::appendChild(), ome::xml::model::detail::OMEModelObject::asXMLElementInternal(), ome::common::xml::dom::Document::createElementNS(), getXMLNamespace(), impl, and ome::common::xml::dom::Element::setAttribute().
Referenced by asXMLElement().
|
static |
Create a Pixels model object from DOM element.
element | root of the XML DOM tree to from which to construct the model object graph. |
model | handler for the OME model used to track instances and references seen during the update. |
EnumerationException | if there is an error instantiating an enumeration during model object creation, or ModelException if there are any consistency or validity errors found during processing. |
Referenced by ome::xml::model::Image::update().
|
virtual |
Get the element name of this model object.
This will be the most-derived class name.
Implements ome::xml::model::OMEModelObject.
ome::compat::shared_ptr< bool > ome::xml::model::Pixels::getBigEndian | ( | ) |
const ome::compat::shared_ptr< bool > ome::xml::model::Pixels::getBigEndian | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::BinData > & ome::xml::model::Pixels::getBinData | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::BinData > & ome::xml::model::Pixels::getBinData | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > > & ome::xml::model::Pixels::getBinDataList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > > & ome::xml::model::Pixels::getBinDataList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Channel > & ome::xml::model::Pixels::getChannel | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::Channel > & ome::xml::model::Pixels::getChannel | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > > & ome::xml::model::Pixels::getChannelList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > > & ome::xml::model::Pixels::getChannelList | ( | ) | const |
ome::xml::model::enums::DimensionOrder & ome::xml::model::Pixels::getDimensionOrder | ( | ) |
const ome::xml::model::enums::DimensionOrder & ome::xml::model::Pixels::getDimensionOrder | ( | ) | const |
const std::string & ome::xml::model::Pixels::getID | ( | ) | const |
ome::compat::shared_ptr< bool > ome::xml::model::Pixels::getInterleaved | ( | ) |
const ome::compat::shared_ptr< bool > ome::xml::model::Pixels::getInterleaved | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::MetadataOnly > ome::xml::model::Pixels::getMetadataOnly | ( | ) |
const ome::compat::shared_ptr< ome::xml::model::MetadataOnly > ome::xml::model::Pixels::getMetadataOnly | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeX | ( | ) |
const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeX | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeY | ( | ) |
const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeY | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeZ | ( | ) |
const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeZ | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Plane > & ome::xml::model::Pixels::getPlane | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::Plane > & ome::xml::model::Pixels::getPlane | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > > & ome::xml::model::Pixels::getPlaneList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > > & ome::xml::model::Pixels::getPlaneList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > ome::xml::model::Pixels::getSignificantBits | ( | ) |
const ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > ome::xml::model::Pixels::getSignificantBits | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeC | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeT | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeX | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeY | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeZ | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::TiffData > & ome::xml::model::Pixels::getTiffData | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::TiffData > & ome::xml::model::Pixels::getTiffData | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > > & ome::xml::model::Pixels::getTiffDataList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > > & ome::xml::model::Pixels::getTiffDataList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & ome::xml::model::Pixels::getTimeIncrement | ( | ) |
const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & ome::xml::model::Pixels::getTimeIncrement | ( | ) | const |
ome::xml::model::enums::PixelType & ome::xml::model::Pixels::getType | ( | ) |
const ome::xml::model::enums::PixelType & ome::xml::model::Pixels::getType | ( | ) | const |
|
virtual |
Get the XML namespace for this model object.
Implements ome::xml::model::OMEModelObject.
Referenced by asXMLElement(), and asXMLElementInternal().
bool ome::xml::model::Pixels::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.
reference | type qualifier for the reference. This should be the corresponding reference type for object. If, for example, object is of type Image, reference must be of type ImageRef. |
object | Model object to link to. |
true
if this model object was able to handle the reference, otherwise false
.References ome::xml::model::detail::OMEModelObject::link(), and ome::xml::model::detail::OMEModelObject::logger.
void ome::xml::model::Pixels::removeBinData | ( | ome::compat::shared_ptr< ome::xml::model::BinData > & | binData | ) |
void ome::xml::model::Pixels::removeChannel | ( | ome::compat::shared_ptr< ome::xml::model::Channel > & | channel | ) |
void ome::xml::model::Pixels::removePlane | ( | ome::compat::shared_ptr< ome::xml::model::Plane > & | plane | ) |
void ome::xml::model::Pixels::removeTiffData | ( | ome::compat::shared_ptr< ome::xml::model::TiffData > & | tiffData | ) |
void ome::xml::model::Pixels::setBigEndian | ( | ome::compat::shared_ptr< bool > & | bigEndian | ) |
void ome::xml::model::Pixels::setBinData | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::BinData > & | binData | ||
) |
void ome::xml::model::Pixels::setChannel | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Channel > & | channel | ||
) |
void ome::xml::model::Pixels::setDimensionOrder | ( | const ome::xml::model::enums::DimensionOrder & | dimensionOrder | ) |
void ome::xml::model::Pixels::setID | ( | const std::string & | id | ) |
void ome::xml::model::Pixels::setInterleaved | ( | ome::compat::shared_ptr< bool > & | interleaved | ) |
void ome::xml::model::Pixels::setMetadataOnly | ( | ome::compat::shared_ptr< ome::xml::model::MetadataOnly > & | metadataOnly | ) |
Set the MetadataOnly property.
metadataOnly | the value to set. |
References impl.
Referenced by update().
void ome::xml::model::Pixels::setPhysicalSizeX | ( | const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | physicalSizeX | ) |
void ome::xml::model::Pixels::setPhysicalSizeY | ( | const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | physicalSizeY | ) |
void ome::xml::model::Pixels::setPhysicalSizeZ | ( | const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | physicalSizeZ | ) |
void ome::xml::model::Pixels::setPlane | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Plane > & | plane | ||
) |
void ome::xml::model::Pixels::setSignificantBits | ( | ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > & | significantBits | ) |
void ome::xml::model::Pixels::setSizeC | ( | const ome::xml::model::primitives::PositiveInteger & | sizeC | ) |
void ome::xml::model::Pixels::setSizeT | ( | const ome::xml::model::primitives::PositiveInteger & | sizeT | ) |
void ome::xml::model::Pixels::setSizeX | ( | const ome::xml::model::primitives::PositiveInteger & | sizeX | ) |
void ome::xml::model::Pixels::setSizeY | ( | const ome::xml::model::primitives::PositiveInteger & | sizeY | ) |
void ome::xml::model::Pixels::setSizeZ | ( | const ome::xml::model::primitives::PositiveInteger & | sizeZ | ) |
void ome::xml::model::Pixels::setTiffData | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::TiffData > & | tiffData | ||
) |
void ome::xml::model::Pixels::setTimeIncrement | ( | const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & | timeIncrement | ) |
void ome::xml::model::Pixels::setType | ( | const ome::xml::model::enums::PixelType & | type | ) |
std::vector< ome::compat::shared_ptr< ome::xml::model::BinData > >::size_type ome::xml::model::Pixels::sizeOfBinDataList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Channel > >::size_type ome::xml::model::Pixels::sizeOfChannelList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Plane > >::size_type ome::xml::model::Pixels::sizeOfPlaneList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::TiffData > >::size_type ome::xml::model::Pixels::sizeOfTiffDataList | ( | ) | const |
|
virtual |
Update the object hierarchy recursively from an XML DOM tree.
element | root of the XML DOM tree to from which to construct the model object graph. |
model | handler for the OME model used to track instances and references seen during the update. |
EnumerationException | if there is an error instantiating an enumeration during model object creation, or ModelException if there are any consistency or validity errors found during processing. |
Implements ome::xml::model::OMEModelObject.
References addBinData(), addChannel(), ome::xml::model::OMEModel::addModelObject(), addPlane(), addTiffData(), ome::xml::model::MetadataOnly::create(), ome::xml::model::BinData::create(), ome::xml::model::TiffData::create(), ome::xml::model::Plane::create(), ome::xml::model::Channel::create(), ome::common::xml::dom::Element::getAttribute(), ome::xml::model::detail::OMEModelObject::getChildrenByTagName(), getID(), ome::common::xml::dom::Element::getTagName(), ome::common::xml::dom::Element::hasAttribute(), ome::xml::model::detail::OMEModelObject::logger, setBigEndian(), setDimensionOrder(), setID(), setInterleaved(), setMetadataOnly(), setPhysicalSizeX(), setPhysicalSizeY(), setPhysicalSizeZ(), setSignificantBits(), setSizeC(), setSizeT(), setSizeX(), setSizeY(), setSizeZ(), setTimeIncrement(), setType(), ome::xml::model::detail::OMEModelObject::stripNamespacePrefix(), ome::xml::model::detail::OMEModelObject::update(), and validElementName().
|
virtual |
Check if a given element name is valid for processing by this model object.
Used for processing nodes when interitance is involved.
name | the element name to check. |
true
if valid, false
if invalid. Implements ome::xml::model::detail::OMEModelObject.
References ome::xml::model::detail::OMEModelObject::validElementName().
Referenced by update().