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/primitives/Quantity.h> 64 #include <ome/xml/model/detail/OMEModelObject.h> 84 ome::compat::shared_ptr<Impl>
impl;
115 static ome::compat::shared_ptr< UUID>
145 link (ome::compat::shared_ptr<Reference>& reference,
146 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
162 setValue (
const std::string& value);
169 ome::compat::shared_ptr<std::string>
177 const ome::compat::shared_ptr<std::string>
186 setFileName (ome::compat::shared_ptr<std::string>& fileName);
209 #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:155
virtual ~UUID()
Destructor.
Definition: UUID.cpp:134
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
UUID model object.
Definition: UUID.h:79
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:245
UUID()
Default constructor.
Definition: UUID.cpp:119
void setValue(const std::string &value)
Set element value.
Definition: UUID.cpp:211
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:139
Open Microscopy Environment C++ implementation.
void setFileName(ome::compat::shared_ptr< std::string > &fileName)
Set the FileName property.
Definition: UUID.cpp:232
UUID & operator=(const UUID &)
Assignment operator (deleted).
const std::string & getValue() const
Get element value.
Definition: UUID.cpp:205
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: UUID.cpp:275
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:163
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:238
const std::string & elementName() const
Get the element name of this model object.
Definition: UUID.cpp:148
Private implementation details of UUID model object.
Definition: UUID.cpp:70
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: UUID.h:82
ome::compat::shared_ptr< std::string > getFileName()
Get the FileName property.
Definition: UUID.cpp:218
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:191