46 #ifndef OME_XML_MODEL_OME_H
47 #define OME_XML_MODEL_OME_H
57 #include <ome/common/xml/dom/Document.h>
58 #include <ome/common/xml/dom/Element.h>
59 #include <ome/common/xml/dom/Node.h>
60 #include <ome/common/xml/dom/NodeList.h>
62 #include <ome/xml/model/BinaryOnly.h>
63 #include <ome/xml/model/Rights.h>
64 #include <ome/xml/model/StructuredAnnotations.h>
65 #include <ome/xml/model/detail/OMEModelObject.h>
78 class ExperimenterGroup;
94 ome::compat::shared_ptr<std::string>
uuid;
96 ome::compat::shared_ptr<std::string>
creator;
98 ome::compat::shared_ptr<ome::xml::model::Rights>
rights;
100 std::vector<ome::compat::shared_ptr<ome::xml::model::Project> >
projects;
102 std::vector<ome::compat::shared_ptr<ome::xml::model::Dataset> >
datasets;
104 std::vector<ome::compat::shared_ptr<ome::xml::model::Experiment> >
experiments;
106 std::vector<ome::compat::shared_ptr<ome::xml::model::Plate> >
plates;
108 std::vector<ome::compat::shared_ptr<ome::xml::model::Screen> >
screens;
110 std::vector<ome::compat::shared_ptr<ome::xml::model::Experimenter> >
experimenters;
114 std::vector<ome::compat::shared_ptr<ome::xml::model::Instrument> >
instruments;
116 std::vector<ome::compat::shared_ptr<ome::xml::model::Image> >
images;
120 std::vector<ome::compat::shared_ptr<ome::xml::model::ROI> >
roIs;
122 ome::compat::shared_ptr<ome::xml::model::BinaryOnly>
binaryOnly;
155 static ome::compat::shared_ptr< OME>
180 link (ome::compat::shared_ptr<Reference>& reference,
181 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
188 ome::compat::shared_ptr<std::string>
196 const ome::compat::shared_ptr<std::string>
205 setUUID (ome::compat::shared_ptr<std::string>& uuid);
212 ome::compat::shared_ptr<std::string>
220 const ome::compat::shared_ptr<std::string>
229 setCreator (ome::compat::shared_ptr<std::string>& creator);
236 ome::compat::shared_ptr<ome::xml::model::Rights>
244 const ome::compat::shared_ptr<ome::xml::model::Rights>
253 setRights (ome::compat::shared_ptr<ome::xml::model::Rights>& rights);
260 std::vector<ome::compat::shared_ptr<ome::xml::model::Project> >::size_type
269 std::vector<ome::compat::shared_ptr<ome::xml::model::Project> >&
278 const std::vector<ome::compat::shared_ptr<ome::xml::model::Project> >&
288 ome::compat::shared_ptr<ome::xml::model::Project>&
289 getProject (std::vector<ome::compat::shared_ptr<ome::xml::model::Project> >::size_type index);
298 const ome::compat::shared_ptr<ome::xml::model::Project>&
299 getProject (std::vector<ome::compat::shared_ptr<ome::xml::model::Project> >::size_type index)
const;
309 setProject (std::vector<ome::compat::shared_ptr<ome::xml::model::Project> >::size_type index,
310 ome::compat::shared_ptr<ome::xml::model::Project>& project);
321 addProject (ome::compat::shared_ptr<ome::xml::model::Project>& project);
333 removeProject (ome::compat::shared_ptr<ome::xml::model::Project>& project);
340 std::vector<ome::compat::shared_ptr<ome::xml::model::Dataset> >::size_type
349 std::vector<ome::compat::shared_ptr<ome::xml::model::Dataset> >&
358 const std::vector<ome::compat::shared_ptr<ome::xml::model::Dataset> >&
368 ome::compat::shared_ptr<ome::xml::model::Dataset>&
369 getDataset (std::vector<ome::compat::shared_ptr<ome::xml::model::Dataset> >::size_type index);
378 const ome::compat::shared_ptr<ome::xml::model::Dataset>&
379 getDataset (std::vector<ome::compat::shared_ptr<ome::xml::model::Dataset> >::size_type index)
const;
389 setDataset (std::vector<ome::compat::shared_ptr<ome::xml::model::Dataset> >::size_type index,
390 ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset);
401 addDataset (ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset);
413 removeDataset (ome::compat::shared_ptr<ome::xml::model::Dataset>& dataset);
420 std::vector<ome::compat::shared_ptr<ome::xml::model::Experiment> >::size_type
429 std::vector<ome::compat::shared_ptr<ome::xml::model::Experiment> >&
438 const std::vector<ome::compat::shared_ptr<ome::xml::model::Experiment> >&
448 ome::compat::shared_ptr<ome::xml::model::Experiment>&
449 getExperiment (std::vector<ome::compat::shared_ptr<ome::xml::model::Experiment> >::size_type index);
458 const ome::compat::shared_ptr<ome::xml::model::Experiment>&
459 getExperiment (std::vector<ome::compat::shared_ptr<ome::xml::model::Experiment> >::size_type index)
const;
469 setExperiment (std::vector<ome::compat::shared_ptr<ome::xml::model::Experiment> >::size_type index,
470 ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment);
481 addExperiment (ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment);
493 removeExperiment (ome::compat::shared_ptr<ome::xml::model::Experiment>& experiment);
500 std::vector<ome::compat::shared_ptr<ome::xml::model::Plate> >::size_type
509 std::vector<ome::compat::shared_ptr<ome::xml::model::Plate> >&
518 const std::vector<ome::compat::shared_ptr<ome::xml::model::Plate> >&
528 ome::compat::shared_ptr<ome::xml::model::Plate>&
529 getPlate (std::vector<ome::compat::shared_ptr<ome::xml::model::Plate> >::size_type index);
538 const ome::compat::shared_ptr<ome::xml::model::Plate>&
539 getPlate (std::vector<ome::compat::shared_ptr<ome::xml::model::Plate> >::size_type index)
const;
549 setPlate (std::vector<ome::compat::shared_ptr<ome::xml::model::Plate> >::size_type index,
550 ome::compat::shared_ptr<ome::xml::model::Plate>& plate);
561 addPlate (ome::compat::shared_ptr<ome::xml::model::Plate>& plate);
573 removePlate (ome::compat::shared_ptr<ome::xml::model::Plate>& plate);
580 std::vector<ome::compat::shared_ptr<ome::xml::model::Screen> >::size_type
589 std::vector<ome::compat::shared_ptr<ome::xml::model::Screen> >&
598 const std::vector<ome::compat::shared_ptr<ome::xml::model::Screen> >&
608 ome::compat::shared_ptr<ome::xml::model::Screen>&
609 getScreen (std::vector<ome::compat::shared_ptr<ome::xml::model::Screen> >::size_type index);
618 const ome::compat::shared_ptr<ome::xml::model::Screen>&
619 getScreen (std::vector<ome::compat::shared_ptr<ome::xml::model::Screen> >::size_type index)
const;
629 setScreen (std::vector<ome::compat::shared_ptr<ome::xml::model::Screen> >::size_type index,
630 ome::compat::shared_ptr<ome::xml::model::Screen>& screen);
641 addScreen (ome::compat::shared_ptr<ome::xml::model::Screen>& screen);
653 removeScreen (ome::compat::shared_ptr<ome::xml::model::Screen>& screen);
660 std::vector<ome::compat::shared_ptr<ome::xml::model::Experimenter> >::size_type
669 std::vector<ome::compat::shared_ptr<ome::xml::model::Experimenter> >&
678 const std::vector<ome::compat::shared_ptr<ome::xml::model::Experimenter> >&
688 ome::compat::shared_ptr<ome::xml::model::Experimenter>&
689 getExperimenter (std::vector<ome::compat::shared_ptr<ome::xml::model::Experimenter> >::size_type index);
698 const ome::compat::shared_ptr<ome::xml::model::Experimenter>&
699 getExperimenter (std::vector<ome::compat::shared_ptr<ome::xml::model::Experimenter> >::size_type index)
const;
709 setExperimenter (std::vector<ome::compat::shared_ptr<ome::xml::model::Experimenter> >::size_type index,
710 ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
721 addExperimenter (ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
733 removeExperimenter (ome::compat::shared_ptr<ome::xml::model::Experimenter>& experimenter);
740 std::vector<ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup> >::size_type
749 std::vector<ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup> >&
758 const std::vector<ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup> >&
768 ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>&
769 getExperimenterGroup (std::vector<ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup> >::size_type index);
778 const ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>&
779 getExperimenterGroup (std::vector<ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup> >::size_type index)
const;
789 setExperimenterGroup (std::vector<ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup> >::size_type index,
790 ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup);
801 addExperimenterGroup (ome::compat::shared_ptr<ome::xml::model::ExperimenterGroup>& experimenterGroup);
820 std::vector<ome::compat::shared_ptr<ome::xml::model::Instrument> >::size_type
829 std::vector<ome::compat::shared_ptr<ome::xml::model::Instrument> >&
838 const std::vector<ome::compat::shared_ptr<ome::xml::model::Instrument> >&
848 ome::compat::shared_ptr<ome::xml::model::Instrument>&
849 getInstrument (std::vector<ome::compat::shared_ptr<ome::xml::model::Instrument> >::size_type index);
858 const ome::compat::shared_ptr<ome::xml::model::Instrument>&
859 getInstrument (std::vector<ome::compat::shared_ptr<ome::xml::model::Instrument> >::size_type index)
const;
869 setInstrument (std::vector<ome::compat::shared_ptr<ome::xml::model::Instrument> >::size_type index,
870 ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument);
881 addInstrument (ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument);
893 removeInstrument (ome::compat::shared_ptr<ome::xml::model::Instrument>& instrument);
900 std::vector<ome::compat::shared_ptr<ome::xml::model::Image> >::size_type
909 std::vector<ome::compat::shared_ptr<ome::xml::model::Image> >&
918 const std::vector<ome::compat::shared_ptr<ome::xml::model::Image> >&
928 ome::compat::shared_ptr<ome::xml::model::Image>&
929 getImage (std::vector<ome::compat::shared_ptr<ome::xml::model::Image> >::size_type index);
938 const ome::compat::shared_ptr<ome::xml::model::Image>&
939 getImage (std::vector<ome::compat::shared_ptr<ome::xml::model::Image> >::size_type index)
const;
949 setImage (std::vector<ome::compat::shared_ptr<ome::xml::model::Image> >::size_type index,
950 ome::compat::shared_ptr<ome::xml::model::Image>& image);
961 addImage (ome::compat::shared_ptr<ome::xml::model::Image>& image);
973 removeImage (ome::compat::shared_ptr<ome::xml::model::Image>& image);
980 ome::compat::shared_ptr<ome::xml::model::StructuredAnnotations>
988 const ome::compat::shared_ptr<ome::xml::model::StructuredAnnotations>
1004 std::vector<ome::compat::shared_ptr<ome::xml::model::ROI> >::size_type
1013 std::vector<ome::compat::shared_ptr<ome::xml::model::ROI> >&
1022 const std::vector<ome::compat::shared_ptr<ome::xml::model::ROI> >&
1032 ome::compat::shared_ptr<ome::xml::model::ROI>&
1033 getROI (std::vector<ome::compat::shared_ptr<ome::xml::model::ROI> >::size_type index);
1042 const ome::compat::shared_ptr<ome::xml::model::ROI>&
1043 getROI (std::vector<ome::compat::shared_ptr<ome::xml::model::ROI> >::size_type index)
const;
1053 setROI (std::vector<ome::compat::shared_ptr<ome::xml::model::ROI> >::size_type index,
1054 ome::compat::shared_ptr<ome::xml::model::ROI>& roi);
1065 addROI (ome::compat::shared_ptr<ome::xml::model::ROI>& roi);
1077 removeROI (ome::compat::shared_ptr<ome::xml::model::ROI>& roi);
1084 ome::compat::shared_ptr<ome::xml::model::BinaryOnly>
1092 const ome::compat::shared_ptr<ome::xml::model::BinaryOnly>
1101 setBinaryOnly (ome::compat::shared_ptr<ome::xml::model::BinaryOnly>& binaryOnly);
1125 #endif // OME_XML_MODEL_OME_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::compat::shared_ptr< ome::xml::model::Instrument > & getInstrument(std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type index)
Get Instrument.
Definition: OME.cpp:999
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.
Definition: OME.cpp:633
void addDataset(ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset)
Add Dataset.
Definition: OME.cpp:694
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.
Definition: OME.cpp:957
std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > >::size_type sizeOfInstrumentList() const
Get size of linked Instrument list.
Definition: OME.cpp:981
ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > & getExperimenterGroup(std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type index)
Get ExperimenterGroup.
Definition: OME.cpp:945
void setBinaryOnly(ome::compat::shared_ptr< ome::xml::model::BinaryOnly > &binaryOnly)
Set the BinaryOnly property.
Definition: OME.cpp:1178
std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type sizeOfProjectList() const
Get size of linked Project list.
Definition: OME.cpp:603
ome::compat::shared_ptr< ome::xml::model::Rights > getRights()
Get the Rights property.
Definition: OME.cpp:582
std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > > & getExperimentList()
Get the Experiment list.
Definition: OME.cpp:717
void removeProject(ome::compat::shared_ptr< ome::xml::model::Project > &project)
Remove Project.
Definition: OME.cpp:646
ome::compat::shared_ptr< std::string > getUUID()
Get the UUID property.
Definition: OME.cpp:540
OME model object.
Definition: OME.h:90
ome::compat::shared_ptr< ome::xml::model::Experiment > & getExperiment(std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type index)
Get Experiment.
Definition: OME.cpp:729
void removeExperiment(ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment)
Remove Experiment.
Definition: OME.cpp:754
ome::compat::shared_ptr< ome::xml::model::StructuredAnnotations > structuredAnnotations
StructuredAnnotations property.
Definition: OME.h:118
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.
Definition: OME.cpp:1011
DOM Document wrapper.
Definition: Document.h:82
DOM Element wrapper.
Definition: Element.h:66
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
ome::compat::shared_ptr< ome::xml::model::Experimenter > & getExperimenter(std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type index)
Get Experimenter.
Definition: OME.cpp:891
void addROI(ome::compat::shared_ptr< ome::xml::model::ROI > &roi)
Add ROI.
Definition: OME.cpp:1147
std::vector< ome::compat::shared_ptr< ome::xml::model::Project > > & getProjectList()
Get the Project list.
Definition: OME.cpp:609
std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type sizeOfScreenList() const
Get size of linked Screen list.
Definition: OME.cpp:819
void removePlate(ome::compat::shared_ptr< ome::xml::model::Plate > &plate)
Remove Plate.
Definition: OME.cpp:808
std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > > & getInstrumentList()
Get the Instrument list.
Definition: OME.cpp:987
virtual ~OME()
Destructor.
Definition: OME.cpp:296
std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type sizeOfROIList() const
Get size of linked ROI list.
Definition: OME.cpp:1110
bool link(ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ome::xml::model::OMEModelObject > &object)
Link a given OME model object to this model object.
Definition: OME.cpp:525
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.
Definition: OME.cpp:903
std::vector< ome::compat::shared_ptr< ome::xml::model::Image > > images
Image property (occurs more than once)
Definition: OME.h:116
void addProject(ome::compat::shared_ptr< ome::xml::model::Project > &project)
Add Project.
Definition: OME.cpp:640
std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > > screens
Screen property (occurs more than once)
Definition: OME.h:108
OME()
Default constructor.
Definition: OME.cpp:249
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.
Definition: OME.cpp:687
void addExperimenterGroup(ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup)
Add ExperimenterGroup.
Definition: OME.cpp:964
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > >::size_type sizeOfExperimenterList() const
Get size of linked Experimenter list.
Definition: OME.cpp:873
std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > > & getScreenList()
Get the Screen list.
Definition: OME.cpp:825
void removeScreen(ome::compat::shared_ptr< ome::xml::model::Screen > &screen)
Remove Screen.
Definition: OME.cpp:862
std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > > experimenters
Experimenter property (occurs more than once)
Definition: OME.h:110
std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type sizeOfPlateList() const
Get size of linked Plate list.
Definition: OME.cpp:765
std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type sizeOfDatasetList() const
Get size of linked Dataset list.
Definition: OME.cpp:657
void addScreen(ome::compat::shared_ptr< ome::xml::model::Screen > &screen)
Add Screen.
Definition: OME.cpp:856
ome::compat::shared_ptr< ome::xml::model::BinaryOnly > getBinaryOnly()
Get the BinaryOnly property.
Definition: OME.cpp:1164
ome::compat::shared_ptr< ome::xml::model::Plate > & getPlate(std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > >::size_type index)
Get Plate.
Definition: OME.cpp:783
virtual void update(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Update the object hierarchy recursively from an XML DOM tree.
Definition: OME.cpp:326
std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > > & getPlateList()
Get the Plate list.
Definition: OME.cpp:771
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.
Definition: OME.cpp:1140
void addExperiment(ome::compat::shared_ptr< ome::xml::model::Experiment > &experiment)
Add Experiment.
Definition: OME.cpp:748
ome::compat::shared_ptr< ome::xml::model::Dataset > & getDataset(std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > >::size_type index)
Get Dataset.
Definition: OME.cpp:675
void removeDataset(ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset)
Remove Dataset.
Definition: OME.cpp:700
ome::compat::shared_ptr< std::string > getCreator()
Get the Creator property.
Definition: OME.cpp:561
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.
Definition: OME.cpp:849
ome::compat::shared_ptr< std::string > uuid
UUID property.
Definition: OME.h:94
void addImage(ome::compat::shared_ptr< ome::xml::model::Image > &image)
Add Image.
Definition: OME.cpp:1072
void setCreator(ome::compat::shared_ptr< std::string > &creator)
Set the Creator property.
Definition: OME.cpp:575
ome::compat::shared_ptr< ome::xml::model::Rights > rights
Rights property.
Definition: OME.h:98
void setUUID(ome::compat::shared_ptr< std::string > &uuid)
Set the UUID property.
Definition: OME.cpp:554
std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > > & getDatasetList()
Get the Dataset list.
Definition: OME.cpp:663
std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > >::size_type sizeOfExperimentList() const
Get size of linked Experiment list.
Definition: OME.cpp:711
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.
Definition: OME.cpp:741
void addInstrument(ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument)
Add Instrument.
Definition: OME.cpp:1018
ome::compat::shared_ptr< std::string > creator
Creator property.
Definition: OME.h:96
std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > >::size_type sizeOfExperimenterGroupList() const
Get size of linked ExperimenterGroup list.
Definition: OME.cpp:927
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: OME.cpp:317
std::vector< ome::compat::shared_ptr< ome::xml::model::Dataset > > datasets
Dataset property (occurs more than once)
Definition: OME.h:102
void setRights(ome::compat::shared_ptr< ome::xml::model::Rights > &rights)
Set the Rights property.
Definition: OME.cpp:596
ome::compat::shared_ptr< ome::xml::model::Project > & getProject(std::vector< ome::compat::shared_ptr< ome::xml::model::Project > >::size_type index)
Get Project.
Definition: OME.cpp:621
std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > > & getExperimenterGroupList()
Get the ExperimenterGroup list.
Definition: OME.cpp:933
std::vector< ome::compat::shared_ptr< ome::xml::model::Image > > & getImageList()
Get the Image list.
Definition: OME.cpp:1041
void setStructuredAnnotations(ome::compat::shared_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations)
Set the StructuredAnnotations property.
Definition: OME.cpp:1103
std::vector< ome::compat::shared_ptr< ome::xml::model::Plate > > plates
Plate property (occurs more than once)
Definition: OME.h:106
const std::string & elementName() const
Get the element name of this model object.
Definition: OME.cpp:310
std::vector< ome::compat::shared_ptr< ome::xml::model::Experiment > > experiments
Experiment property (occurs more than once)
Definition: OME.h:104
std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > > roIs
ROI property (occurs more than once)
Definition: OME.h:120
ome::compat::shared_ptr< ome::xml::model::Image > & getImage(std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type index)
Get Image.
Definition: OME.cpp:1053
ome::compat::shared_ptr< ome::xml::model::Screen > & getScreen(std::vector< ome::compat::shared_ptr< ome::xml::model::Screen > >::size_type index)
Get Screen.
Definition: OME.cpp:837
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: OME.cpp:1185
void removeExperimenterGroup(ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup)
Remove ExperimenterGroup.
Definition: OME.cpp:970
std::vector< ome::compat::shared_ptr< ome::xml::model::Image > >::size_type sizeOfImageList() const
Get size of linked Image list.
Definition: OME.cpp:1035
ome::compat::shared_ptr< ome::xml::model::BinaryOnly > binaryOnly
BinaryOnly property.
Definition: OME.h:122
void addPlate(ome::compat::shared_ptr< ome::xml::model::Plate > &plate)
Add Plate.
Definition: OME.cpp:802
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.
Definition: OME.cpp:1065
std::vector< ome::compat::shared_ptr< ome::xml::model::Experimenter > > & getExperimenterList()
Get the Experimenter list.
Definition: OME.cpp:879
virtual common::xml::dom::Element asXMLElementInternal(common::xml::dom::Document &document, common::xml::dom::Element &element) const
Transform the object hierarchy rooted at this element to XML.
Definition: OME.cpp:1192
std::vector< ome::compat::shared_ptr< ome::xml::model::Project > > projects
Project property (occurs more than once)
Definition: OME.h:100
ome::compat::shared_ptr< ome::xml::model::StructuredAnnotations > getStructuredAnnotations()
Get the StructuredAnnotations property.
Definition: OME.cpp:1089
void removeExperimenter(ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Remove Experimenter.
Definition: OME.cpp:916
void removeInstrument(ome::compat::shared_ptr< ome::xml::model::Instrument > &instrument)
Remove Instrument.
Definition: OME.cpp:1024
std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > > & getROIList()
Get the ROI list.
Definition: OME.cpp:1116
ome::compat::shared_ptr< ome::xml::model::ROI > & getROI(std::vector< ome::compat::shared_ptr< ome::xml::model::ROI > >::size_type index)
Get ROI.
Definition: OME.cpp:1128
std::vector< ome::compat::shared_ptr< ome::xml::model::Instrument > > instruments
Instrument property (occurs more than once)
Definition: OME.h:114
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.
Definition: OME.cpp:795
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.
Definition: OME.cpp:301
void removeImage(ome::compat::shared_ptr< ome::xml::model::Image > &image)
Remove Image.
Definition: OME.cpp:1078
std::vector< ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > > experimenterGroups
ExperimenterGroup property (occurs more than once)
Definition: OME.h:112
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: OME.cpp:1421
void removeROI(ome::compat::shared_ptr< ome::xml::model::ROI > &roi)
Remove ROI.
Definition: OME.cpp:1153
Xerces-C modern C++ wrapper.
Definition: Base.h:53
void addExperimenter(ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter)
Add Experimenter.
Definition: OME.cpp:910