ome-xml
5.6.0
|
#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 SKIP 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 (std::shared_ptr< Reference > &reference, std::shared_ptr< ome::xml::model::OMEModelObject > &object) |
Link a given OME model object to this model object. More... | |
std::shared_ptr< std::string > | getUUID () |
Get the UUID property. More... | |
const std::shared_ptr< std::string > | getUUID () const |
Get the UUID property. More... | |
void | setUUID (std::shared_ptr< std::string > &uuid) |
Set the UUID property. More... | |
std::shared_ptr< std::string > | getCreator () |
Get the Creator property. More... | |
const std::shared_ptr< std::string > | getCreator () const |
Get the Creator property. More... | |
void | setCreator (std::shared_ptr< std::string > &creator) |
Set the Creator property. More... | |
std::shared_ptr< ome::xml::model::Rights > | getRights () |
Get the Rights property. More... | |
const std::shared_ptr< ome::xml::model::Rights > | getRights () const |
Get the Rights property. More... | |
void | setRights (std::shared_ptr< ome::xml::model::Rights > &rights) |
Set the Rights property. More... | |
std::vector< std::shared_ptr< ome::xml::model::Project > >::size_type | sizeOfProjectList () const |
Get size of linked Project list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Project > > & | getProjectList () |
Get the Project list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Project > > & | getProjectList () const |
Get the Project list. More... | |
std::shared_ptr< ome::xml::model::Project > & | getProject (std::vector< std::shared_ptr< ome::xml::model::Project >>::size_type index) |
Get Project. More... | |
const std::shared_ptr< ome::xml::model::Project > & | getProject (std::vector< std::shared_ptr< ome::xml::model::Project >>::size_type index) const |
Get Project. More... | |
void | setProject (std::vector< std::shared_ptr< ome::xml::model::Project >>::size_type index, std::shared_ptr< ome::xml::model::Project > &project) |
Set Project. More... | |
void | addProject (std::shared_ptr< ome::xml::model::Project > &project) |
Add Project. More... | |
void | removeProject (std::shared_ptr< ome::xml::model::Project > &project) |
Remove Project. More... | |
std::vector< std::shared_ptr< ome::xml::model::Dataset > >::size_type | sizeOfDatasetList () const |
Get size of linked Dataset list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Dataset > > & | getDatasetList () |
Get the Dataset list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Dataset > > & | getDatasetList () const |
Get the Dataset list. More... | |
std::shared_ptr< ome::xml::model::Dataset > & | getDataset (std::vector< std::shared_ptr< ome::xml::model::Dataset >>::size_type index) |
Get Dataset. More... | |
const std::shared_ptr< ome::xml::model::Dataset > & | getDataset (std::vector< std::shared_ptr< ome::xml::model::Dataset >>::size_type index) const |
Get Dataset. More... | |
void | setDataset (std::vector< std::shared_ptr< ome::xml::model::Dataset >>::size_type index, std::shared_ptr< ome::xml::model::Dataset > &dataset) |
Set Dataset. More... | |
void | addDataset (std::shared_ptr< ome::xml::model::Dataset > &dataset) |
Add Dataset. More... | |
void | removeDataset (std::shared_ptr< ome::xml::model::Dataset > &dataset) |
Remove Dataset. More... | |
std::vector< std::shared_ptr< ome::xml::model::Folder > >::size_type | sizeOfFolderList () const |
Get size of linked Folder list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Folder > > & | getFolderList () |
Get the Folder list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Folder > > & | getFolderList () const |
Get the Folder list. More... | |
std::shared_ptr< ome::xml::model::Folder > & | getFolder (std::vector< std::shared_ptr< ome::xml::model::Folder >>::size_type index) |
Get Folder. More... | |
const std::shared_ptr< ome::xml::model::Folder > & | getFolder (std::vector< std::shared_ptr< ome::xml::model::Folder >>::size_type index) const |
Get Folder. More... | |
void | setFolder (std::vector< std::shared_ptr< ome::xml::model::Folder >>::size_type index, std::shared_ptr< ome::xml::model::Folder > &folder) |
Set Folder. More... | |
void | addFolder (std::shared_ptr< ome::xml::model::Folder > &folder) |
Add Folder. More... | |
void | removeFolder (std::shared_ptr< ome::xml::model::Folder > &folder) |
Remove Folder. More... | |
std::vector< std::shared_ptr< ome::xml::model::Experiment > >::size_type | sizeOfExperimentList () const |
Get size of linked Experiment list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Experiment > > & | getExperimentList () |
Get the Experiment list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Experiment > > & | getExperimentList () const |
Get the Experiment list. More... | |
std::shared_ptr< ome::xml::model::Experiment > & | getExperiment (std::vector< std::shared_ptr< ome::xml::model::Experiment >>::size_type index) |
Get Experiment. More... | |
const std::shared_ptr< ome::xml::model::Experiment > & | getExperiment (std::vector< std::shared_ptr< ome::xml::model::Experiment >>::size_type index) const |
Get Experiment. More... | |
void | setExperiment (std::vector< std::shared_ptr< ome::xml::model::Experiment >>::size_type index, std::shared_ptr< ome::xml::model::Experiment > &experiment) |
Set Experiment. More... | |
void | addExperiment (std::shared_ptr< ome::xml::model::Experiment > &experiment) |
Add Experiment. More... | |
void | removeExperiment (std::shared_ptr< ome::xml::model::Experiment > &experiment) |
Remove Experiment. More... | |
std::vector< std::shared_ptr< ome::xml::model::Plate > >::size_type | sizeOfPlateList () const |
Get size of linked Plate list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Plate > > & | getPlateList () |
Get the Plate list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Plate > > & | getPlateList () const |
Get the Plate list. More... | |
std::shared_ptr< ome::xml::model::Plate > & | getPlate (std::vector< std::shared_ptr< ome::xml::model::Plate >>::size_type index) |
Get Plate. More... | |
const std::shared_ptr< ome::xml::model::Plate > & | getPlate (std::vector< std::shared_ptr< ome::xml::model::Plate >>::size_type index) const |
Get Plate. More... | |
void | setPlate (std::vector< std::shared_ptr< ome::xml::model::Plate >>::size_type index, std::shared_ptr< ome::xml::model::Plate > &plate) |
Set Plate. More... | |
void | addPlate (std::shared_ptr< ome::xml::model::Plate > &plate) |
Add Plate. More... | |
void | removePlate (std::shared_ptr< ome::xml::model::Plate > &plate) |
Remove Plate. More... | |
std::vector< std::shared_ptr< ome::xml::model::Screen > >::size_type | sizeOfScreenList () const |
Get size of linked Screen list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Screen > > & | getScreenList () |
Get the Screen list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Screen > > & | getScreenList () const |
Get the Screen list. More... | |
std::shared_ptr< ome::xml::model::Screen > & | getScreen (std::vector< std::shared_ptr< ome::xml::model::Screen >>::size_type index) |
Get Screen. More... | |
const std::shared_ptr< ome::xml::model::Screen > & | getScreen (std::vector< std::shared_ptr< ome::xml::model::Screen >>::size_type index) const |
Get Screen. More... | |
void | setScreen (std::vector< std::shared_ptr< ome::xml::model::Screen >>::size_type index, std::shared_ptr< ome::xml::model::Screen > &screen) |
Set Screen. More... | |
void | addScreen (std::shared_ptr< ome::xml::model::Screen > &screen) |
Add Screen. More... | |
void | removeScreen (std::shared_ptr< ome::xml::model::Screen > &screen) |
Remove Screen. More... | |
std::vector< std::shared_ptr< ome::xml::model::Experimenter > >::size_type | sizeOfExperimenterList () const |
Get size of linked Experimenter list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Experimenter > > & | getExperimenterList () |
Get the Experimenter list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Experimenter > > & | getExperimenterList () const |
Get the Experimenter list. More... | |
std::shared_ptr< ome::xml::model::Experimenter > & | getExperimenter (std::vector< std::shared_ptr< ome::xml::model::Experimenter >>::size_type index) |
Get Experimenter. More... | |
const std::shared_ptr< ome::xml::model::Experimenter > & | getExperimenter (std::vector< std::shared_ptr< ome::xml::model::Experimenter >>::size_type index) const |
Get Experimenter. More... | |
void | setExperimenter (std::vector< std::shared_ptr< ome::xml::model::Experimenter >>::size_type index, std::shared_ptr< ome::xml::model::Experimenter > &experimenter) |
Set Experimenter. More... | |
void | addExperimenter (std::shared_ptr< ome::xml::model::Experimenter > &experimenter) |
Add Experimenter. More... | |
void | removeExperimenter (std::shared_ptr< ome::xml::model::Experimenter > &experimenter) |
Remove Experimenter. More... | |
std::vector< std::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type | sizeOfExperimenterGroupList () const |
Get size of linked ExperimenterGroup list. More... | |
std::vector< std::shared_ptr< ome::xml::model::ExperimenterGroup > > & | getExperimenterGroupList () |
Get the ExperimenterGroup list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::ExperimenterGroup > > & | getExperimenterGroupList () const |
Get the ExperimenterGroup list. More... | |
std::shared_ptr< ome::xml::model::ExperimenterGroup > & | getExperimenterGroup (std::vector< std::shared_ptr< ome::xml::model::ExperimenterGroup >>::size_type index) |
Get ExperimenterGroup. More... | |
const std::shared_ptr< ome::xml::model::ExperimenterGroup > & | getExperimenterGroup (std::vector< std::shared_ptr< ome::xml::model::ExperimenterGroup >>::size_type index) const |
Get ExperimenterGroup. More... | |
void | setExperimenterGroup (std::vector< std::shared_ptr< ome::xml::model::ExperimenterGroup >>::size_type index, std::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup) |
Set ExperimenterGroup. More... | |
void | addExperimenterGroup (std::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup) |
Add ExperimenterGroup. More... | |
void | removeExperimenterGroup (std::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup) |
Remove ExperimenterGroup. More... | |
std::vector< std::shared_ptr< ome::xml::model::Instrument > >::size_type | sizeOfInstrumentList () const |
Get size of linked Instrument list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Instrument > > & | getInstrumentList () |
Get the Instrument list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Instrument > > & | getInstrumentList () const |
Get the Instrument list. More... | |
std::shared_ptr< ome::xml::model::Instrument > & | getInstrument (std::vector< std::shared_ptr< ome::xml::model::Instrument >>::size_type index) |
Get Instrument. More... | |
const std::shared_ptr< ome::xml::model::Instrument > & | getInstrument (std::vector< std::shared_ptr< ome::xml::model::Instrument >>::size_type index) const |
Get Instrument. More... | |
void | setInstrument (std::vector< std::shared_ptr< ome::xml::model::Instrument >>::size_type index, std::shared_ptr< ome::xml::model::Instrument > &instrument) |
Set Instrument. More... | |
void | addInstrument (std::shared_ptr< ome::xml::model::Instrument > &instrument) |
Add Instrument. More... | |
void | removeInstrument (std::shared_ptr< ome::xml::model::Instrument > &instrument) |
Remove Instrument. More... | |
std::vector< std::shared_ptr< ome::xml::model::Image > >::size_type | sizeOfImageList () const |
Get size of linked Image list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Image > > & | getImageList () |
Get the Image list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Image > > & | getImageList () const |
Get the Image list. More... | |
std::shared_ptr< ome::xml::model::Image > & | getImage (std::vector< std::shared_ptr< ome::xml::model::Image >>::size_type index) |
Get Image. More... | |
const std::shared_ptr< ome::xml::model::Image > & | getImage (std::vector< std::shared_ptr< ome::xml::model::Image >>::size_type index) const |
Get Image. More... | |
void | setImage (std::vector< std::shared_ptr< ome::xml::model::Image >>::size_type index, std::shared_ptr< ome::xml::model::Image > &image) |
Set Image. More... | |
void | addImage (std::shared_ptr< ome::xml::model::Image > &image) |
Add Image. More... | |
void | removeImage (std::shared_ptr< ome::xml::model::Image > &image) |
Remove Image. More... | |
std::shared_ptr< ome::xml::model::StructuredAnnotations > | getStructuredAnnotations () |
Get the StructuredAnnotations property. More... | |
const std::shared_ptr< ome::xml::model::StructuredAnnotations > | getStructuredAnnotations () const |
Get the StructuredAnnotations property. More... | |
void | setStructuredAnnotations (std::shared_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations) |
Set the StructuredAnnotations property. More... | |
std::vector< std::shared_ptr< ome::xml::model::ROI > >::size_type | sizeOfROIList () const |
Get size of linked ROI list. More... | |
std::vector< std::shared_ptr< ome::xml::model::ROI > > & | getROIList () |
Get the ROI list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::ROI > > & | getROIList () const |
Get the ROI list. More... | |
std::shared_ptr< ome::xml::model::ROI > & | getROI (std::vector< std::shared_ptr< ome::xml::model::ROI >>::size_type index) |
Get ROI. More... | |
const std::shared_ptr< ome::xml::model::ROI > & | getROI (std::vector< std::shared_ptr< ome::xml::model::ROI >>::size_type index) const |
Get ROI. More... | |
void | setROI (std::vector< std::shared_ptr< ome::xml::model::ROI >>::size_type index, std::shared_ptr< ome::xml::model::ROI > &roi) |
Set ROI. More... | |
void | addROI (std::shared_ptr< ome::xml::model::ROI > &roi) |
Add ROI. More... | |
void | removeROI (std::shared_ptr< ome::xml::model::ROI > &roi) |
Remove ROI. More... | |
std::shared_ptr< ome::xml::model::BinaryOnly > | getBinaryOnly () |
Get the BinaryOnly property. More... | |
const std::shared_ptr< ome::xml::model::BinaryOnly > | getBinaryOnly () const |
Get the BinaryOnly property. More... | |
void | setBinaryOnly (std::shared_ptr< ome::xml::model::BinaryOnly > &binaryOnly) |
Set the BinaryOnly property. 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 common::xml::dom::Element | asXMLElement (common::xml::dom::Document &document) const |
Transform the object hierarchy rooted at this element to XML. More... | |
virtual void | asXMLElement (common::xml::dom::Document &document, common::xml::dom::Element &element) const |
Transform the object hierarchy rooted at this element to XML. 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... | |
virtual 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. More... | |
Public Member Functions inherited from ome::xml::model::OMEModelObject | |
virtual bool | link (std::shared_ptr< Reference > &reference, std::shared_ptr< OMEModelObject > &object)=0 |
Link a given OME model object to this model object. More... | |
Static Public Member Functions | |
static std::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 void | 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. More... | |
OMEModelObject (const OMEModelObject ©) | |
Copy constructor. More... | |
template<class C , typename T > | |
bool | contains (const C &container, const std::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 | |
std::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 | ( | std::shared_ptr< ome::xml::model::Dataset > & | dataset | ) |
void ome::xml::model::OME::addExperiment | ( | std::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 | ( | std::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 | ( | std::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::addFolder | ( | std::shared_ptr< ome::xml::model::Folder > & | folder | ) |
void ome::xml::model::OME::addImage | ( | std::shared_ptr< ome::xml::model::Image > & | image | ) |
void ome::xml::model::OME::addInstrument | ( | std::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 | ( | std::shared_ptr< ome::xml::model::Plate > & | plate | ) |
void ome::xml::model::OME::addProject | ( | std::shared_ptr< ome::xml::model::Project > & | project | ) |
void ome::xml::model::OME::addROI | ( | std::shared_ptr< ome::xml::model::ROI > & | roi | ) |
void ome::xml::model::OME::addScreen | ( | std::shared_ptr< ome::xml::model::Screen > & | screen | ) |
|
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.
Concrete model object implementations should override this method.
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().
|
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.
std::shared_ptr< ome::xml::model::BinaryOnly > ome::xml::model::OME::getBinaryOnly | ( | ) |
const std::shared_ptr< ome::xml::model::BinaryOnly > ome::xml::model::OME::getBinaryOnly | ( | ) | const |
std::shared_ptr< std::string > ome::xml::model::OME::getCreator | ( | ) |
const std::shared_ptr< std::string > ome::xml::model::OME::getCreator | ( | ) | const |
std::shared_ptr< ome::xml::model::Dataset > & ome::xml::model::OME::getDataset | ( | std::vector< std::shared_ptr< ome::xml::model::Dataset >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::Dataset > & ome::xml::model::OME::getDataset | ( | std::vector< std::shared_ptr< ome::xml::model::Dataset >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Dataset > > & ome::xml::model::OME::getDatasetList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Dataset > > & ome::xml::model::OME::getDatasetList | ( | ) | const |
std::shared_ptr< ome::xml::model::Experiment > & ome::xml::model::OME::getExperiment | ( | std::vector< std::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 std::shared_ptr< ome::xml::model::Experiment > & ome::xml::model::OME::getExperiment | ( | std::vector< std::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.
std::shared_ptr< ome::xml::model::Experimenter > & ome::xml::model::OME::getExperimenter | ( | std::vector< std::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 std::shared_ptr< ome::xml::model::Experimenter > & ome::xml::model::OME::getExperimenter | ( | std::vector< std::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.
std::shared_ptr< ome::xml::model::ExperimenterGroup > & ome::xml::model::OME::getExperimenterGroup | ( | std::vector< std::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 std::shared_ptr< ome::xml::model::ExperimenterGroup > & ome::xml::model::OME::getExperimenterGroup | ( | std::vector< std::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< std::shared_ptr< ome::xml::model::ExperimenterGroup > > & ome::xml::model::OME::getExperimenterGroupList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::ExperimenterGroup > > & ome::xml::model::OME::getExperimenterGroupList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Experimenter > > & ome::xml::model::OME::getExperimenterList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Experimenter > > & ome::xml::model::OME::getExperimenterList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Experiment > > & ome::xml::model::OME::getExperimentList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Experiment > > & ome::xml::model::OME::getExperimentList | ( | ) | const |
std::shared_ptr< ome::xml::model::Folder > & ome::xml::model::OME::getFolder | ( | std::vector< std::shared_ptr< ome::xml::model::Folder >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::Folder > & ome::xml::model::OME::getFolder | ( | std::vector< std::shared_ptr< ome::xml::model::Folder >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Folder > > & ome::xml::model::OME::getFolderList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Folder > > & ome::xml::model::OME::getFolderList | ( | ) | const |
std::shared_ptr< ome::xml::model::Image > & ome::xml::model::OME::getImage | ( | std::vector< std::shared_ptr< ome::xml::model::Image >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::Image > & ome::xml::model::OME::getImage | ( | std::vector< std::shared_ptr< ome::xml::model::Image >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Image > > & ome::xml::model::OME::getImageList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Image > > & ome::xml::model::OME::getImageList | ( | ) | const |
std::shared_ptr< ome::xml::model::Instrument > & ome::xml::model::OME::getInstrument | ( | std::vector< std::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 std::shared_ptr< ome::xml::model::Instrument > & ome::xml::model::OME::getInstrument | ( | std::vector< std::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< std::shared_ptr< ome::xml::model::Instrument > > & ome::xml::model::OME::getInstrumentList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Instrument > > & ome::xml::model::OME::getInstrumentList | ( | ) | const |
std::shared_ptr< ome::xml::model::Plate > & ome::xml::model::OME::getPlate | ( | std::vector< std::shared_ptr< ome::xml::model::Plate >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::Plate > & ome::xml::model::OME::getPlate | ( | std::vector< std::shared_ptr< ome::xml::model::Plate >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Plate > > & ome::xml::model::OME::getPlateList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Plate > > & ome::xml::model::OME::getPlateList | ( | ) | const |
std::shared_ptr< ome::xml::model::Project > & ome::xml::model::OME::getProject | ( | std::vector< std::shared_ptr< ome::xml::model::Project >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::Project > & ome::xml::model::OME::getProject | ( | std::vector< std::shared_ptr< ome::xml::model::Project >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Project > > & ome::xml::model::OME::getProjectList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Project > > & ome::xml::model::OME::getProjectList | ( | ) | const |
std::shared_ptr< ome::xml::model::Rights > ome::xml::model::OME::getRights | ( | ) |
const std::shared_ptr< ome::xml::model::Rights > ome::xml::model::OME::getRights | ( | ) | const |
std::shared_ptr< ome::xml::model::ROI > & ome::xml::model::OME::getROI | ( | std::vector< std::shared_ptr< ome::xml::model::ROI >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::ROI > & ome::xml::model::OME::getROI | ( | std::vector< std::shared_ptr< ome::xml::model::ROI >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::ROI > > & ome::xml::model::OME::getROIList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::ROI > > & ome::xml::model::OME::getROIList | ( | ) | const |
std::shared_ptr< ome::xml::model::Screen > & ome::xml::model::OME::getScreen | ( | std::vector< std::shared_ptr< ome::xml::model::Screen >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::Screen > & ome::xml::model::OME::getScreen | ( | std::vector< std::shared_ptr< ome::xml::model::Screen >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Screen > > & ome::xml::model::OME::getScreenList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Screen > > & ome::xml::model::OME::getScreenList | ( | ) | const |
std::shared_ptr< ome::xml::model::StructuredAnnotations > ome::xml::model::OME::getStructuredAnnotations | ( | ) |
const std::shared_ptr< ome::xml::model::StructuredAnnotations > ome::xml::model::OME::getStructuredAnnotations | ( | ) | const |
std::shared_ptr< std::string > ome::xml::model::OME::getUUID | ( | ) |
const std::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().
bool ome::xml::model::OME::link | ( | std::shared_ptr< Reference > & | reference, |
std::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 | ( | std::shared_ptr< ome::xml::model::Dataset > & | dataset | ) |
void ome::xml::model::OME::removeExperiment | ( | std::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 | ( | std::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 | ( | std::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::removeFolder | ( | std::shared_ptr< ome::xml::model::Folder > & | folder | ) |
void ome::xml::model::OME::removeImage | ( | std::shared_ptr< ome::xml::model::Image > & | image | ) |
void ome::xml::model::OME::removeInstrument | ( | std::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 | ( | std::shared_ptr< ome::xml::model::Plate > & | plate | ) |
void ome::xml::model::OME::removeProject | ( | std::shared_ptr< ome::xml::model::Project > & | project | ) |
void ome::xml::model::OME::removeROI | ( | std::shared_ptr< ome::xml::model::ROI > & | roi | ) |
void ome::xml::model::OME::removeScreen | ( | std::shared_ptr< ome::xml::model::Screen > & | screen | ) |
void ome::xml::model::OME::setBinaryOnly | ( | std::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 | ( | std::shared_ptr< std::string > & | creator | ) |
void ome::xml::model::OME::setDataset | ( | std::vector< std::shared_ptr< ome::xml::model::Dataset >>::size_type | index, |
std::shared_ptr< ome::xml::model::Dataset > & | dataset | ||
) |
void ome::xml::model::OME::setExperiment | ( | std::vector< std::shared_ptr< ome::xml::model::Experiment >>::size_type | index, |
std::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< std::shared_ptr< ome::xml::model::Experimenter >>::size_type | index, |
std::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< std::shared_ptr< ome::xml::model::ExperimenterGroup >>::size_type | index, |
std::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::setFolder | ( | std::vector< std::shared_ptr< ome::xml::model::Folder >>::size_type | index, |
std::shared_ptr< ome::xml::model::Folder > & | folder | ||
) |
void ome::xml::model::OME::setImage | ( | std::vector< std::shared_ptr< ome::xml::model::Image >>::size_type | index, |
std::shared_ptr< ome::xml::model::Image > & | image | ||
) |
void ome::xml::model::OME::setInstrument | ( | std::vector< std::shared_ptr< ome::xml::model::Instrument >>::size_type | index, |
std::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< std::shared_ptr< ome::xml::model::Plate >>::size_type | index, |
std::shared_ptr< ome::xml::model::Plate > & | plate | ||
) |
void ome::xml::model::OME::setProject | ( | std::vector< std::shared_ptr< ome::xml::model::Project >>::size_type | index, |
std::shared_ptr< ome::xml::model::Project > & | project | ||
) |
void ome::xml::model::OME::setRights | ( | std::shared_ptr< ome::xml::model::Rights > & | rights | ) |
void ome::xml::model::OME::setROI | ( | std::vector< std::shared_ptr< ome::xml::model::ROI >>::size_type | index, |
std::shared_ptr< ome::xml::model::ROI > & | roi | ||
) |
void ome::xml::model::OME::setScreen | ( | std::vector< std::shared_ptr< ome::xml::model::Screen >>::size_type | index, |
std::shared_ptr< ome::xml::model::Screen > & | screen | ||
) |
void ome::xml::model::OME::setStructuredAnnotations | ( | std::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 | ( | std::shared_ptr< std::string > & | uuid | ) |
std::vector< std::shared_ptr< ome::xml::model::Dataset > >::size_type ome::xml::model::OME::sizeOfDatasetList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type ome::xml::model::OME::sizeOfExperimenterGroupList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Experimenter > >::size_type ome::xml::model::OME::sizeOfExperimenterList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Experiment > >::size_type ome::xml::model::OME::sizeOfExperimentList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Folder > >::size_type ome::xml::model::OME::sizeOfFolderList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Image > >::size_type ome::xml::model::OME::sizeOfImageList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Instrument > >::size_type ome::xml::model::OME::sizeOfInstrumentList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Plate > >::size_type ome::xml::model::OME::sizeOfPlateList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Project > >::size_type ome::xml::model::OME::sizeOfProjectList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::ROI > >::size_type ome::xml::model::OME::sizeOfROIList | ( | ) | const |
std::vector< std::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(), addFolder(), addImage(), addInstrument(), addPlate(), addProject(), addROI(), addScreen(), ome::xml::model::BinaryOnly::create(), ome::xml::model::Rights::create(), ome::xml::model::Folder::create(), ome::xml::model::Screen::create(), ome::xml::model::Experiment::create(), ome::xml::model::Project::create(), ome::xml::model::ROI::create(), ome::xml::model::ExperimenterGroup::create(), ome::xml::model::Dataset::create(), ome::xml::model::Experimenter::create(), ome::xml::model::Plate::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::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.
Referenced by update().