All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ColorTable Class Reference

#include <UT_ColorTable.h>

Public Member Functions

 UT_ColorTable ()
 ~UT_ColorTable ()
bool empty () const
bool getColor (const UT_StringRef &colorname, UT_Color &clr) const
const UT_StringMap< UT_Color > & getTable () const
void clear ()
void clearColor (const UT_StringRef &colorname)
void setColor (const UT_StringRef &colorname, const UT_Color &clr)
void setTable (const UT_StringMap< UT_Color > &color_map)
bool save (std::ostream &os, int binary) const
bool load (UT_IStream &is)

Detailed Description

Definition at line 21 of file UT_ColorTable.h.

Constructor & Destructor Documentation

UT_ColorTable::UT_ColorTable ( )
UT_ColorTable::~UT_ColorTable ( )

Member Function Documentation

void UT_ColorTable::clear ( )
void UT_ColorTable::clearColor ( const UT_StringRef colorname)
bool UT_ColorTable::empty ( ) const
bool UT_ColorTable::getColor ( const UT_StringRef colorname,
UT_Color clr 
) const
const UT_StringMap<UT_Color>& UT_ColorTable::getTable ( ) const
bool UT_ColorTable::load ( UT_IStream is)
bool UT_ColorTable::save ( std::ostream &  os,
int  binary 
) const
void UT_ColorTable::setColor ( const UT_StringRef colorname,
const UT_Color clr 
void UT_ColorTable::setTable ( const UT_StringMap< UT_Color > &  color_map)

The documentation for this class was generated from the following file: