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>
146 link (std::shared_ptr<Reference>& reference,
147 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
154 std::shared_ptr<ome::xml::model::BinaryFile>
162 const std::shared_ptr<ome::xml::model::BinaryFile>
171 setBinaryFile (std::shared_ptr<ome::xml::model::BinaryFile>& binaryFile);
178 std::weak_ptr<ome::xml::model::StructuredAnnotations>
186 const std::weak_ptr<ome::xml::model::StructuredAnnotations>
195 setStructuredAnnotations (std::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:61
FileAnnotation()
Default constructor.
Definition: FileAnnotation.cpp:122
std::weak_ptr< ome::xml::model::StructuredAnnotations > getStructuredAnnotations()
Get the StructuredAnnotations property.
Definition: FileAnnotation.cpp:230
FileAnnotation & operator=(const FileAnnotation &)
Assignment operator (deleted).
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:244
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: FileAnnotation.cpp:275
Open Microscopy Environment C++ implementation.
void setBinaryFile(std::shared_ptr< ome::xml::model::BinaryFile > &binaryFile)
Set the BinaryFile property.
Definition: FileAnnotation.cpp:223
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:78
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:164
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:250
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 ~FileAnnotation()
Destructor.
Definition: FileAnnotation.cpp:137
std::shared_ptr< ome::xml::model::BinaryFile > getBinaryFile()
Get the BinaryFile property.
Definition: FileAnnotation.cpp:209
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:142
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:194