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/BinaryFile.h> 63 #include <ome/xml/model/StructuredAnnotations.h> 64 #include <ome/xml/model/TypeAnnotation.h> 84 ome::compat::shared_ptr<Impl>
impl;
115 static ome::compat::shared_ptr< FileAnnotation>
140 link (ome::compat::shared_ptr<Reference>& reference,
141 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
148 ome::compat::shared_ptr<ome::xml::model::BinaryFile>
156 const ome::compat::shared_ptr<ome::xml::model::BinaryFile>
165 setBinaryFile (ome::compat::shared_ptr<ome::xml::model::BinaryFile>& binaryFile);
172 ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>
180 const ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>
189 setStructuredAnnotations (ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>& structuredAnnotations_BackReference);
213 #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:217
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: FileAnnotation.cpp:294
FileAnnotation()
Default constructor.
Definition: FileAnnotation.cpp:124
void setBinaryFile(ome::compat::shared_ptr< ome::xml::model::BinaryFile > &binaryFile)
Set the BinaryFile property.
Definition: FileAnnotation.cpp:231
ome::compat::weak_ptr< ome::xml::model::StructuredAnnotations > getStructuredAnnotations()
Get the StructuredAnnotations property.
Definition: FileAnnotation.cpp:238
void setStructuredAnnotations(ome::compat::weak_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations_BackReference)
Set the StructuredAnnotations property.
Definition: FileAnnotation.cpp:252
FileAnnotation model object.
Definition: FileAnnotation.h:79
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:202
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: FileAnnotation.h:82
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:266
Open Microscopy Environment C++ implementation.
const std::string & elementName() const
Get the element name of this model object.
Definition: FileAnnotation.cpp:157
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:148
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: FileAnnotation.cpp:164
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:259
Private implementation details of FileAnnotation model object.
Definition: FileAnnotation.cpp:77
TypeAnnotation model object.
Definition: TypeAnnotation.h:77
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:173
virtual ~FileAnnotation()
Destructor.
Definition: FileAnnotation.cpp:143