46 #ifndef OME_XML_MODEL_UUID_H 47 #define OME_XML_MODEL_UUID_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/detail/OMEModelObject.h> 82 ome::compat::shared_ptr<Impl>
impl;
113 static ome::compat::shared_ptr< UUID>
138 link (ome::compat::shared_ptr<Reference>& reference,
139 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
155 setValue (
const std::string& value);
162 ome::compat::shared_ptr<std::string>
170 const ome::compat::shared_ptr<std::string>
179 setFileName (ome::compat::shared_ptr<std::string>& fileName);
203 #endif // OME_XML_MODEL_UUID_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: UUID.cpp:160
virtual ~UUID()
Destructor.
Definition: UUID.cpp:139
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
UUID model object.
Definition: UUID.h:77
UUID()
Default constructor.
Definition: UUID.cpp:120
void setValue(const std::string &value)
Set element value.
Definition: UUID.cpp:216
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: UUID.cpp:281
static ome::compat::shared_ptr< UUID > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a UUID model object from DOM element.
Definition: UUID.cpp:144
Open Microscopy Environment C++ implementation.
void setFileName(ome::compat::shared_ptr< std::string > &fileName)
Set the FileName property.
Definition: UUID.cpp:237
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: UUID.cpp:251
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: UUID.cpp:169
const std::string & getValue() const
Get element value.
Definition: UUID.cpp:210
Private implementation details of UUID model object.
Definition: UUID.cpp:70
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: UUID.cpp:244
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: UUID.h:80
ome::compat::shared_ptr< std::string > getFileName()
Get the FileName property.
Definition: UUID.cpp:223
const std::string & elementName() const
Get the element name of this model object.
Definition: UUID.cpp:153
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: UUID.cpp:196