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> 61 #include <ome/xml/model/primitives/Quantity.h> 63 #include <ome/xml/model/BinaryFile.h> 64 #include <ome/xml/model/StructuredAnnotations.h> 65 #include <ome/xml/model/TypeAnnotation.h> 85 std::shared_ptr<Impl>
impl;
116 static std::shared_ptr<FileAnnotation>
145 link (std::shared_ptr<Reference>& reference,
146 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
153 std::shared_ptr<ome::xml::model::BinaryFile>
161 const std::shared_ptr<ome::xml::model::BinaryFile>
170 setBinaryFile (std::shared_ptr<ome::xml::model::BinaryFile>& binaryFile);
177 std::weak_ptr<ome::xml::model::StructuredAnnotations>
185 const std::weak_ptr<ome::xml::model::StructuredAnnotations>
194 setStructuredAnnotations (std::weak_ptr<ome::xml::model::StructuredAnnotations>& structuredAnnotations_BackReference);
212 #endif // OME_XML_MODEL_FILEANNOTATION_H OME model interface (abstract top-level container)
Definition: OMEModel.h:61
FileAnnotation()
Default constructor.
Definition: FileAnnotation.cpp:126
std::weak_ptr< ome::xml::model::StructuredAnnotations > getStructuredAnnotations()
Get the StructuredAnnotations property.
Definition: FileAnnotation.cpp:238
FileAnnotation model object.
Definition: FileAnnotation.h:80
void setStructuredAnnotations(std::weak_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations_BackReference)
Set the StructuredAnnotations property.
Definition: FileAnnotation.cpp:252
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: FileAnnotation.cpp:283
Open Microscopy Environment C++ implementation.
void setBinaryFile(std::shared_ptr< ome::xml::model::BinaryFile > &binaryFile)
Set the BinaryFile property.
Definition: FileAnnotation.cpp:231
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:159
TypeAnnotation model object.
Definition: TypeAnnotation.h:78
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.
Definition: FileAnnotation.cpp:172
virtual void 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:258
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: FileAnnotation.cpp:166
virtual ~FileAnnotation()
Destructor.
Definition: FileAnnotation.cpp:145
std::shared_ptr< ome::xml::model::BinaryFile > getBinaryFile()
Get the BinaryFile property.
Definition: FileAnnotation.cpp:217
std::shared_ptr< Impl > impl
Private implementation details.
Definition: FileAnnotation.h:83
static std::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:150
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.
Definition: FileAnnotation.cpp:202