35 #ifndef _Wolframe_TYPES_DOC_METADATA_HPP_INCLUDED
36 #define _Wolframe_TYPES_DOC_METADATA_HPP_INCLUDED
39 #include <boost/shared_ptr.hpp>
58 Attribute(
const std::string& n,
const std::string& v)
70 DocMetaData(
const std::string& doctype_,
const std::vector<Attribute>& attributes_);
79 void join(
const std::vector<Attribute>& attributes_);
95 void setAttribute(
const std::string& name_,
const std::string& value_);
100 void defineAttribute(
const std::string& name_,
const std::string& value_);
109 const char*
getAttribute(
const std::string& name_)
const;
128 static std::string
replaceStem(
const std::string& src,
const std::string& newstem);
132 static std::string
extractStem(
const std::string& src);
boost::shared_ptr< DocMetaData > DocMetaDataR
Shared meta data reference.
Definition: docmetadata.hpp:143