46 #ifndef OME_XML_MODEL_FILEANNOTATION_H 47 #define OME_XML_MODEL_FILEANNOTATION_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/primitives/Quantity.h> 64 #include <ome/xml/model/BinaryFile.h> 65 #include <ome/xml/model/StructuredAnnotations.h> 66 #include <ome/xml/model/TypeAnnotation.h> 86 ome::compat::shared_ptr<Impl>
impl;
117 static ome::compat::shared_ptr< FileAnnotation>
147 link (ome::compat::shared_ptr<Reference>& reference,
148 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
155 ome::compat::shared_ptr<ome::xml::model::BinaryFile>
163 const ome::compat::shared_ptr<ome::xml::model::BinaryFile>
172 setBinaryFile (ome::compat::shared_ptr<ome::xml::model::BinaryFile>& binaryFile);
179 ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>
187 const ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>
196 setStructuredAnnotations (ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>& structuredAnnotations_BackReference);
219 #endif // OME_XML_MODEL_FILEANNOTATION_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::compat::shared_ptr< ome::xml::model::BinaryFile > getBinaryFile()
Get the BinaryFile property.
Definition: FileAnnotation.cpp:211
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: FileAnnotation.cpp:252
FileAnnotation()
Default constructor.
Definition: FileAnnotation.cpp:122
void setBinaryFile(ome::compat::shared_ptr< ome::xml::model::BinaryFile > &binaryFile)
Set the BinaryFile property.
Definition: FileAnnotation.cpp:225
ome::compat::weak_ptr< ome::xml::model::StructuredAnnotations > getStructuredAnnotations()
Get the StructuredAnnotations property.
Definition: FileAnnotation.cpp:232
void setStructuredAnnotations(ome::compat::weak_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations_BackReference)
Set the StructuredAnnotations property.
Definition: FileAnnotation.cpp:246
FileAnnotation & operator=(const FileAnnotation &)
Assignment operator (deleted).
FileAnnotation model object.
Definition: FileAnnotation.h:81
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: FileAnnotation.cpp:287
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: FileAnnotation.cpp:196
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: FileAnnotation.h:84
Open Microscopy Environment C++ implementation.
static ome::compat::shared_ptr< FileAnnotation > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a FileAnnotation model object from DOM element.
Definition: FileAnnotation.cpp:142
Private implementation details of FileAnnotation model object.
Definition: FileAnnotation.cpp:76
const std::string & elementName() const
Get the element name of this model object.
Definition: FileAnnotation.cpp:151
TypeAnnotation model object.
Definition: TypeAnnotation.h:79
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: FileAnnotation.cpp:166
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: FileAnnotation.cpp:158
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: FileAnnotation.cpp:259
virtual ~FileAnnotation()
Destructor.
Definition: FileAnnotation.cpp:137