27 #include "../common/STLUtils.h"
28 #include "../xlink/SimpleLink.h"
34 : m_onlineResource(0),
41 delete m_onlineResource;
42 delete m_inlineContent;
49 delete m_onlineResource;
50 m_onlineResource = onlineResource;
55 return m_onlineResource;
60 delete m_inlineContent;
61 m_inlineContent = inlineContent;
66 return m_inlineContent;
81 m_colorReplacements.push_back(r);
98 return externalGraphic;
const te::xl::SimpleLink * getOnlineResource() const
void setInlineContent(InlineContent *inlineContent)
InlineContent is XML or base64 encoded content in some externally-defined format that is included in ...
InlineContent is XML- or base64-encoded encoded content in some externally-defined format that is inc...
ExternalGraphic * clone() const
It creates a new copy of this object.
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...
ExternalGraphic()
It initializes a new ExternalGraphic.
The ExternalGraphic allows a reference to be made to an external graphic file with a Web URL or to in...
Transformation of discrete values to other values.
const std::string & getFormat() const
The ExternalGraphic allows a reference to be made to an external graphic file with a Web URL or to in...
const InlineContent * getInlineContent() const
void setOnlineResource(te::xl::SimpleLink *onlineResource)
~ExternalGraphic()
Destructor.
Transformation of discrete values to other values.
void setFormat(const std::string &f)