Go to the documentation of this file.
   26 #ifndef __TERRALIB_COLOR_INTERNAL_COLORSCHEMEGROUP_H 
   27 #define __TERRALIB_COLOR_INTERNAL_COLORSCHEMEGROUP_H 
   42     class ColorSchemeCatalog;
 
  199 #endif  // __TERRALIB_COLOR_INTERNAL_COLORSCHEMEGROUP_H 
  
 
const std::string & getDescription() const
It returns the group description.
 
void setName(const std::string &name)
It sets the group name and adjust its entry in its the catalog if needed.
 
std::vector< ColorScheme * > m_colorSchemes
The group of color schemes.
 
ColorSchemeGroup(const ColorSchemeGroup &rhs)
Copy constructor not allowed.
 
void disconnect(ColorScheme *colorScheme)
It just remove the reference to the informed color scheme.
 
A catalog for color schemes.
 
ColorSchemeGroup(const std::string &name)
It initializes a new ColorSchemeGroup and adds it to the parent catalog.
 
void setDescription(const std::string &d)
It sets the group description.
 
const std::vector< ColorScheme * > & getColorSchemes() const
It returns a reference to the list of color schemes belonging to this group.
 
ColorSchemeGroup & operator=(const ColorSchemeGroup &rhs)
Assignment operator not allowed.
 
ColorSchemeCatalog * m_parent
The parent catalog.
 
It models the concept of color scheme.
 
#define TECOLOREXPORT
You can use this macro in order to export/import classes and functions from this module.
 
ColorSchemeCatalog * getParent() const
It returns the parent catalog or NULL if it doesn't belong to a catalog.
 
~ColorSchemeGroup()
Destructor.
 
std::string m_name
Color scheme name.
 
This class represents a group of color schemes.
 
Proxy configuration file for TerraView (see terraview_config.h).
 
void push_back(ColorScheme *colorScheme)
It adds a new color scheme to the group and sets its relationship.
 
std::string m_description
A brief description about the color scheme, that can helps someone to decide to use it or not (when i...
 
void setParent(ColorSchemeCatalog *parent)
It sets the parent color catalog for this group.
 
const std::string & getName() const
It returns the group name.