25#include <boost/shared_ptr.hpp>
30using std::ostringstream;
58 const_iterator it = find(key);
70 for (const_iterator it = begin(); it != end(); ++it)
71 s <<
"[" << it->first <<
"]=" << it->second <<
"\n";
Simple map for colors (maps a color constant string to the corresponding color of the output format)
Definition: colormap.h:38
const string getColor(const string &key)
Definition: colormap.h:57
const string toString() const
Returns a string representation of the map.
Definition: colormap.h:68
void setDefault(const string &d)
Sets the default color.
Definition: colormap.h:48
string default_color
when no color corresponds to the requested one
Definition: colormap.h:41
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
boost::shared_ptr< ColorMap > ColorMapPtr
shared pointer for ColorMap
Definition: colormap.h:78