31 #include <boost/lexical_cast.hpp>
32 #include <boost/uuid/uuid.hpp>
33 #include <boost/uuid/uuid_generators.hpp>
34 #include <boost/uuid/uuid_io.hpp>
44 boost::uuids::uuid tag = boost::uuids::random_generator()();
45 m_annotId = boost::lexical_cast<std::string>(tag);
89 assert(!ename.empty());
91 m_elementName = ename;
void setAnnotationURI(const std::string &uri)
Sets the link to the metadata.
const std::string & getAnnotationURI() const
Gets the link to the metadata.
MetadataAnnotation(const std::string &aid=std::string(""))
Constructor.
void setElementName(const std::string &ename)
Set the element being annotated name.
const std::string & getAnnotationtId() const
Gets the annotation identifier.
const std::string & getElementName() const
Gets the element being annotated name.
void setElementId(const std::string &eid)
Sets the TerrsLib element idenfification.
const std::string & getElementId() const
Gets the element being annotated identifier.
~MetadataAnnotation()
Destructor.