bioformats
5.1.8
|
#include <ome/xml/model/OME.h>
Classes | |
class | Impl |
Private implementation details of OME model object. More... | |
Public Member Functions | |
OME () | |
Default constructor. | |
OME (const OME ©) | |
Copy constructor. More... | |
virtual | ~OME () |
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... | |
ome::compat::shared_ptr< std::string > | getUUID () |
Get the UUID property. More... | |
const ome::compat::shared_ptr< std::string > | getUUID () const |
Get the UUID property. More... | |
void | setUUID (ome::compat::shared_ptr< std::string > &uuid) |
Set the UUID property. More... | |
ome::compat::shared_ptr< std::string > | getCreator () |
Get the Creator property. More... | |
const ome::compat::shared_ptr< std::string > | getCreator () const |
Get the Creator property. More... | |
void | setCreator (ome::compat::shared_ptr< std::string > &creator) |
Set the Creator property. More... | |
ome::compat::shared_ptr< ome::xml::model::Rights > | getRights () |
Get the Rights property. More... | |
const ome::compat::shared_ptr< ome::xml::model::Rights > | getRights () const |
Get the Rights property. More... | |
void | setRights (ome::compat::shared_ptr< ome::xml::model::Rights > &rights) |
Set the Rights property. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type | sizeOfProjectList () const |
Get size of linked Project list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Project > > & | getProjectList () |
Get the Project list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Project > > & | getProjectList () const |
Get the Project list. More... | |
ome::compat::shared_ptr< ome::xml::model::Project > & | getProject (std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type index) |
Get Project. More... | |
const ome::compat::shared_ptr< ome::xml::model::Project > & | getProject (std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type index) const |
Get Project. More... | |
void | setProject (std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Project > &project) |
Set Project. More... | |
void | addProject (ome::compat::shared_ptr< ome::xml::model::Project > &project) |
Add Project. More... | |
void | removeProject (ome::compat::shared_ptr< ome::xml::model::Project > &project) |
Remove Project. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type | sizeOfDatasetList () const |
Get size of linked Dataset list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > > & | getDatasetList () |
Get the Dataset list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > > & | getDatasetList () const |
Get the Dataset list. More... | |
ome::compat::shared_ptr< ome::xml::model::Dataset > & | getDataset (std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type index) |
Get Dataset. More... | |
const ome::compat::shared_ptr< ome::xml::model::Dataset > & | getDataset (std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type index) const |
Get Dataset. More... | |
void | setDataset (std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset) |
Set Dataset. More... | |
void | addDataset (ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset) |
Add Dataset. More... | |
void | removeDataset (ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset) |
Remove Dataset. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type | sizeOfExperimentList () const |
Get size of linked Experiment list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > > & | getExperimentList () |
Get the Experiment list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > > & | getExperimentList () const |
Get the Experiment list. More... | |
ome::compat::shared_ptr< ome::xml::model::Experiment > & | getExperiment (std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type index) |
Get Experiment. More... | |
const ome::compat::shared_ptr< ome::xml::model::Experiment > & | getExperiment (std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type index) const |
Get Experiment. More... | |
void | setExperiment (std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment) |
Set Experiment. More... | |
void | addExperiment (ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment) |
Add Experiment. More... | |
void | removeExperiment (ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment) |
Remove Experiment. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type | sizeOfPlateList () const |
Get size of linked Plate list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > > & | getPlateList () |
Get the Plate list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > > & | getPlateList () const |
Get the Plate list. More... | |
ome::compat::shared_ptr< ome::xml::model::Plate > & | getPlate (std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type index) |
Get Plate. More... | |
const ome::compat::shared_ptr< ome::xml::model::Plate > & | getPlate (std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type index) const |
Get Plate. More... | |
void | setPlate (std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Plate > &plate) |
Set Plate. More... | |
void | addPlate (ome::compat::shared_ptr< ome::xml::model::Plate > &plate) |
Add Plate. More... | |
void | removePlate (ome::compat::shared_ptr< ome::xml::model::Plate > &plate) |
Remove Plate. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type | sizeOfScreenList () const |
Get size of linked Screen list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > > & | getScreenList () |
Get the Screen list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > > & | getScreenList () const |
Get the Screen list. More... | |
ome::compat::shared_ptr< ome::xml::model::Screen > & | getScreen (std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type index) |
Get Screen. More... | |
const ome::compat::shared_ptr< ome::xml::model::Screen > & | getScreen (std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type index) const |
Get Screen. More... | |
void | setScreen (std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Screen > &screen) |
Set Screen. More... | |
void | addScreen (ome::compat::shared_ptr< ome::xml::model::Screen > &screen) |
Add Screen. More... | |
void | removeScreen (ome::compat::shared_ptr< ome::xml::model::Screen > &screen) |
Remove Screen. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type | sizeOfExperimenterList () const |
Get size of linked Experimenter list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > > & | getExperimenterList () |
Get the Experimenter list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > > & | getExperimenterList () const |
Get the Experimenter list. More... | |
ome::compat::shared_ptr< ome::xml::model::Experimenter > & | getExperimenter (std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type index) |
Get Experimenter. More... | |
const ome::compat::shared_ptr< ome::xml::model::Experimenter > & | getExperimenter (std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type index) const |
Get Experimenter. More... | |
void | setExperimenter (std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter) |
Set Experimenter. More... | |
void | addExperimenter (ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter) |
Add Experimenter. More... | |
void | removeExperimenter (ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter) |
Remove Experimenter. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type | sizeOfExperimenterGroupList () const |
Get size of linked ExperimenterGroup list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > > & | getExperimenterGroupList () |
Get the ExperimenterGroup list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > > & | getExperimenterGroupList () const |
Get the ExperimenterGroup list. More... | |
ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & | getExperimenterGroup (std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type index) |
Get ExperimenterGroup. More... | |
const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & | getExperimenterGroup (std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type index) const |
Get ExperimenterGroup. More... | |
void | setExperimenterGroup (std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type index, ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup) |
Set ExperimenterGroup. More... | |
void | addExperimenterGroup (ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup) |
Add ExperimenterGroup. More... | |
void | removeExperimenterGroup (ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup) |
Remove ExperimenterGroup. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type | sizeOfInstrumentList () const |
Get size of linked Instrument list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > > & | getInstrumentList () |
Get the Instrument list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > > & | getInstrumentList () const |
Get the Instrument list. More... | |
ome::compat::shared_ptr< ome::xml::model::Instrument > & | getInstrument (std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type index) |
Get Instrument. More... | |
const ome::compat::shared_ptr< ome::xml::model::Instrument > & | getInstrument (std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type index) const |
Get Instrument. More... | |
void | setInstrument (std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument) |
Set Instrument. More... | |
void | addInstrument (ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument) |
Add Instrument. More... | |
void | removeInstrument (ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument) |
Remove Instrument. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type | sizeOfImageList () const |
Get size of linked Image list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::Image > > & | getImageList () |
Get the Image list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Image > > & | getImageList () const |
Get the Image list. More... | |
ome::compat::shared_ptr< ome::xml::model::Image > & | getImage (std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type index) |
Get Image. More... | |
const ome::compat::shared_ptr< ome::xml::model::Image > & | getImage (std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type index) const |
Get Image. More... | |
void | setImage (std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type index, ome::compat::shared_ptr< ome::xml::model::Image > &image) |
Set Image. More... | |
void | addImage (ome::compat::shared_ptr< ome::xml::model::Image > &image) |
Add Image. More... | |
void | removeImage (ome::compat::shared_ptr< ome::xml::model::Image > &image) |
Remove Image. More... | |
ome::compat::shared_ptr< ome::xml::model::StructuredAnnotations > | getStructuredAnnotations () |
Get the StructuredAnnotations property. More... | |
const ome::compat::shared_ptr< ome::xml::model::StructuredAnnotations > | getStructuredAnnotations () const |
Get the StructuredAnnotations property. More... | |
void | setStructuredAnnotations (ome::compat::shared_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations) |
Set the StructuredAnnotations property. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type | sizeOfROIList () const |
Get size of linked ROI list. More... | |
std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > > & | getROIList () |
Get the ROI list. More... | |
const std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > > & | getROIList () const |
Get the ROI list. More... | |
ome::compat::shared_ptr< ome::xml::model::ROI > & | getROI (std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type index) |
Get ROI. More... | |
const ome::compat::shared_ptr< ome::xml::model::ROI > & | getROI (std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type index) const |
Get ROI. More... | |
void | setROI (std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type index, ome::compat::shared_ptr< ome::xml::model::ROI > &roi) |
Set ROI. More... | |
void | addROI (ome::compat::shared_ptr< ome::xml::model::ROI > &roi) |
Add ROI. More... | |
void | removeROI (ome::compat::shared_ptr< ome::xml::model::ROI > &roi) |
Remove ROI. More... | |
ome::compat::shared_ptr< ome::xml::model::BinaryOnly > | getBinaryOnly () |
Get the BinaryOnly property. More... | |
const ome::compat::shared_ptr< ome::xml::model::BinaryOnly > | getBinaryOnly () const |
Get the BinaryOnly property. More... | |
void | setBinaryOnly (ome::compat::shared_ptr< ome::xml::model::BinaryOnly > &binaryOnly) |
Set the BinaryOnly property. 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... | |
Public Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
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... | |
Public Member Functions inherited from ome::xml::model::OMEModelObject | |
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< OME > | create (const common::xml::dom::Element &element, ome::xml::model::OMEModel &model) |
Create a OME model object from DOM element. More... | |
Static Public Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
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... | |
Protected Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
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... | |
Protected Member Functions inherited from ome::xml::model::OMEModelObject | |
OMEModelObject () | |
Constructor. | |
Private Attributes | |
ome::compat::shared_ptr< Impl > | impl |
Private implementation details. | |
Additional Inherited Members | |
Protected Attributes inherited from ome::xml::model::detail::OMEModelObject | |
ome::common::Logger | logger |
Message logger. | |
OME model object.
void ome::xml::model::OME::addDataset | ( | ome::compat::shared_ptr< ome::xml::model::Dataset > & | dataset | ) |
void ome::xml::model::OME::addExperiment | ( | ome::compat::shared_ptr< ome::xml::model::Experiment > & | experiment | ) |
Add Experiment.
experiment | the Experiment to add. |
Return list position?
Detect and handle duplicates?
References impl.
Referenced by update().
void ome::xml::model::OME::addExperimenter | ( | ome::compat::shared_ptr< ome::xml::model::Experimenter > & | experimenter | ) |
Add Experimenter.
experimenter | the Experimenter to add. |
Return list position?
Detect and handle duplicates?
References impl.
Referenced by update().
void ome::xml::model::OME::addExperimenterGroup | ( | ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & | experimenterGroup | ) |
Add ExperimenterGroup.
experimenterGroup | the ExperimenterGroup to add. |
Return list position?
Detect and handle duplicates?
References impl.
Referenced by update().
void ome::xml::model::OME::addImage | ( | ome::compat::shared_ptr< ome::xml::model::Image > & | image | ) |
void ome::xml::model::OME::addInstrument | ( | ome::compat::shared_ptr< ome::xml::model::Instrument > & | instrument | ) |
Add Instrument.
instrument | the Instrument to add. |
Return list position?
Detect and handle duplicates?
References impl.
Referenced by update().
void ome::xml::model::OME::addPlate | ( | ome::compat::shared_ptr< ome::xml::model::Plate > & | plate | ) |
void ome::xml::model::OME::addProject | ( | ome::compat::shared_ptr< ome::xml::model::Project > & | project | ) |
void ome::xml::model::OME::addROI | ( | ome::compat::shared_ptr< ome::xml::model::ROI > & | roi | ) |
void ome::xml::model::OME::addScreen | ( | ome::compat::shared_ptr< ome::xml::model::Screen > & | screen | ) |
|
virtual |
Transform the object hierarchy rooted at this element to XML.
document | document for element creation |
Implements ome::xml::model::OMEModelObject.
References asXMLElementInternal(), and ome::common::xml::dom::Document::getDocumentElement().
|
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 OME 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. |
|
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< ome::xml::model::BinaryOnly > ome::xml::model::OME::getBinaryOnly | ( | ) |
const ome::compat::shared_ptr< ome::xml::model::BinaryOnly > ome::xml::model::OME::getBinaryOnly | ( | ) | const |
ome::compat::shared_ptr< std::string > ome::xml::model::OME::getCreator | ( | ) |
const ome::compat::shared_ptr< std::string > ome::xml::model::OME::getCreator | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Dataset > & ome::xml::model::OME::getDataset | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::Dataset > & ome::xml::model::OME::getDataset | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > > & ome::xml::model::OME::getDatasetList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > > & ome::xml::model::OME::getDatasetList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Experiment > & ome::xml::model::OME::getExperiment | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type | index | ) |
Get Experiment.
index | the index number of the Experiment. |
std::out_of_range | if the index is invalid. |
References impl.
const ome::compat::shared_ptr< ome::xml::model::Experiment > & ome::xml::model::OME::getExperiment | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type | index | ) | const |
Get Experiment.
index | the index number of the Experiment. |
std::out_of_range | if the index is invalid. |
References impl.
ome::compat::shared_ptr< ome::xml::model::Experimenter > & ome::xml::model::OME::getExperimenter | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type | index | ) |
Get Experimenter.
index | the index number of the Experimenter. |
std::out_of_range | if the index is invalid. |
References impl.
const ome::compat::shared_ptr< ome::xml::model::Experimenter > & ome::xml::model::OME::getExperimenter | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type | index | ) | const |
Get Experimenter.
index | the index number of the Experimenter. |
std::out_of_range | if the index is invalid. |
References impl.
ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & ome::xml::model::OME::getExperimenterGroup | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type | index | ) |
Get ExperimenterGroup.
index | the index number of the ExperimenterGroup. |
std::out_of_range | if the index is invalid. |
References impl.
const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & ome::xml::model::OME::getExperimenterGroup | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type | index | ) | const |
Get ExperimenterGroup.
index | the index number of the ExperimenterGroup. |
std::out_of_range | if the index is invalid. |
References impl.
std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > > & ome::xml::model::OME::getExperimenterGroupList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > > & ome::xml::model::OME::getExperimenterGroupList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > > & ome::xml::model::OME::getExperimenterList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > > & ome::xml::model::OME::getExperimenterList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > > & ome::xml::model::OME::getExperimentList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > > & ome::xml::model::OME::getExperimentList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Image > & ome::xml::model::OME::getImage | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::Image > & ome::xml::model::OME::getImage | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Image > > & ome::xml::model::OME::getImageList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Image > > & ome::xml::model::OME::getImageList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Instrument > & ome::xml::model::OME::getInstrument | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type | index | ) |
Get Instrument.
index | the index number of the Instrument. |
std::out_of_range | if the index is invalid. |
References impl.
const ome::compat::shared_ptr< ome::xml::model::Instrument > & ome::xml::model::OME::getInstrument | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type | index | ) | const |
Get Instrument.
index | the index number of the Instrument. |
std::out_of_range | if the index is invalid. |
References impl.
std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > > & ome::xml::model::OME::getInstrumentList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > > & ome::xml::model::OME::getInstrumentList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Plate > & ome::xml::model::OME::getPlate | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::Plate > & ome::xml::model::OME::getPlate | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > > & ome::xml::model::OME::getPlateList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > > & ome::xml::model::OME::getPlateList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Project > & ome::xml::model::OME::getProject | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::Project > & ome::xml::model::OME::getProject | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Project > > & ome::xml::model::OME::getProjectList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Project > > & ome::xml::model::OME::getProjectList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Rights > ome::xml::model::OME::getRights | ( | ) |
const ome::compat::shared_ptr< ome::xml::model::Rights > ome::xml::model::OME::getRights | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::ROI > & ome::xml::model::OME::getROI | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::ROI > & ome::xml::model::OME::getROI | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > > & ome::xml::model::OME::getROIList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > > & ome::xml::model::OME::getROIList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::Screen > & ome::xml::model::OME::getScreen | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type | index | ) |
const ome::compat::shared_ptr< ome::xml::model::Screen > & ome::xml::model::OME::getScreen | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type | index | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > > & ome::xml::model::OME::getScreenList | ( | ) |
const std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > > & ome::xml::model::OME::getScreenList | ( | ) | const |
ome::compat::shared_ptr< ome::xml::model::StructuredAnnotations > ome::xml::model::OME::getStructuredAnnotations | ( | ) |
const ome::compat::shared_ptr< ome::xml::model::StructuredAnnotations > ome::xml::model::OME::getStructuredAnnotations | ( | ) | const |
ome::compat::shared_ptr< std::string > ome::xml::model::OME::getUUID | ( | ) |
const ome::compat::shared_ptr< std::string > ome::xml::model::OME::getUUID | ( | ) | const |
|
virtual |
Get the XML namespace for this model object.
Implements ome::xml::model::OMEModelObject.
Referenced by asXMLElementInternal(), and ome::xml::model::MapPairs::getXMLNamespace().
bool ome::xml::model::OME::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::OME::removeDataset | ( | ome::compat::shared_ptr< ome::xml::model::Dataset > & | dataset | ) |
void ome::xml::model::OME::removeExperiment | ( | ome::compat::shared_ptr< ome::xml::model::Experiment > & | experiment | ) |
Remove Experiment.
experiment | the Experiment to remove. |
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
void ome::xml::model::OME::removeExperimenter | ( | ome::compat::shared_ptr< ome::xml::model::Experimenter > & | experimenter | ) |
Remove Experimenter.
experimenter | the Experimenter to remove. |
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
void ome::xml::model::OME::removeExperimenterGroup | ( | ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & | experimenterGroup | ) |
Remove ExperimenterGroup.
experimenterGroup | the ExperimenterGroup to remove. |
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
void ome::xml::model::OME::removeImage | ( | ome::compat::shared_ptr< ome::xml::model::Image > & | image | ) |
void ome::xml::model::OME::removeInstrument | ( | ome::compat::shared_ptr< ome::xml::model::Instrument > & | instrument | ) |
Remove Instrument.
instrument | the Instrument to remove. |
Doesn't the removal break the indexing?
Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.
References impl.
void ome::xml::model::OME::removePlate | ( | ome::compat::shared_ptr< ome::xml::model::Plate > & | plate | ) |
void ome::xml::model::OME::removeProject | ( | ome::compat::shared_ptr< ome::xml::model::Project > & | project | ) |
void ome::xml::model::OME::removeROI | ( | ome::compat::shared_ptr< ome::xml::model::ROI > & | roi | ) |
void ome::xml::model::OME::removeScreen | ( | ome::compat::shared_ptr< ome::xml::model::Screen > & | screen | ) |
void ome::xml::model::OME::setBinaryOnly | ( | ome::compat::shared_ptr< ome::xml::model::BinaryOnly > & | binaryOnly | ) |
Set the BinaryOnly property.
binaryOnly | the value to set. |
References impl.
Referenced by update().
void ome::xml::model::OME::setCreator | ( | ome::compat::shared_ptr< std::string > & | creator | ) |
void ome::xml::model::OME::setDataset | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Dataset > & | dataset | ||
) |
void ome::xml::model::OME::setExperiment | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Experiment > & | experiment | ||
) |
Set Experiment.
index | the index number of the Experiment. |
experiment | the Experiment to set. |
std::out_of_range | if the index is invalid. |
References impl.
void ome::xml::model::OME::setExperimenter | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Experimenter > & | experimenter | ||
) |
Set Experimenter.
index | the index number of the Experimenter. |
experimenter | the Experimenter to set. |
std::out_of_range | if the index is invalid. |
References impl.
void ome::xml::model::OME::setExperimenterGroup | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & | experimenterGroup | ||
) |
Set ExperimenterGroup.
index | the index number of the ExperimenterGroup. |
experimenterGroup | the ExperimenterGroup to set. |
std::out_of_range | if the index is invalid. |
References impl.
void ome::xml::model::OME::setImage | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Image > & | image | ||
) |
void ome::xml::model::OME::setInstrument | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Instrument > & | instrument | ||
) |
Set Instrument.
index | the index number of the Instrument. |
instrument | the Instrument to set. |
std::out_of_range | if the index is invalid. |
References impl.
void ome::xml::model::OME::setPlate | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Plate > & | plate | ||
) |
void ome::xml::model::OME::setProject | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Project > & | project | ||
) |
void ome::xml::model::OME::setRights | ( | ome::compat::shared_ptr< ome::xml::model::Rights > & | rights | ) |
void ome::xml::model::OME::setROI | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::ROI > & | roi | ||
) |
void ome::xml::model::OME::setScreen | ( | std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type | index, |
ome::compat::shared_ptr< ome::xml::model::Screen > & | screen | ||
) |
void ome::xml::model::OME::setStructuredAnnotations | ( | ome::compat::shared_ptr< ome::xml::model::StructuredAnnotations > & | structuredAnnotations | ) |
Set the StructuredAnnotations property.
structuredAnnotations | the value to set. |
References impl.
Referenced by update().
void ome::xml::model::OME::setUUID | ( | ome::compat::shared_ptr< std::string > & | uuid | ) |
std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type ome::xml::model::OME::sizeOfDatasetList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type ome::xml::model::OME::sizeOfExperimenterGroupList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type ome::xml::model::OME::sizeOfExperimenterList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type ome::xml::model::OME::sizeOfExperimentList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type ome::xml::model::OME::sizeOfImageList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type ome::xml::model::OME::sizeOfInstrumentList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type ome::xml::model::OME::sizeOfPlateList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type ome::xml::model::OME::sizeOfProjectList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type ome::xml::model::OME::sizeOfROIList | ( | ) | const |
std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type ome::xml::model::OME::sizeOfScreenList | ( | ) | 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 addDataset(), addExperiment(), addExperimenter(), addExperimenterGroup(), addImage(), addInstrument(), addPlate(), addProject(), addROI(), addScreen(), ome::xml::model::BinaryOnly::create(), ome::xml::model::Rights::create(), ome::xml::model::Screen::create(), ome::xml::model::Experiment::create(), ome::xml::model::ROI::create(), ome::xml::model::Project::create(), ome::xml::model::ExperimenterGroup::create(), ome::xml::model::Dataset::create(), ome::xml::model::Plate::create(), ome::xml::model::Experimenter::create(), ome::xml::model::Instrument::create(), ome::xml::model::StructuredAnnotations::create(), ome::xml::model::Image::create(), ome::common::xml::dom::Element::getAttribute(), ome::xml::model::detail::OMEModelObject::getChildrenByTagName(), ome::common::xml::dom::Element::getTagName(), ome::common::xml::dom::Element::hasAttribute(), ome::xml::model::detail::OMEModelObject::logger, setBinaryOnly(), setCreator(), setRights(), setStructuredAnnotations(), setUUID(), 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().