26#ifndef __TERRALIB_COLOR_INTERNAL_COLORSCHEMEGROUP_H
27#define __TERRALIB_COLOR_INTERNAL_COLORSCHEMEGROUP_H
A catalog for color schemes.
ColorSchemeCatalog * m_parent
The parent catalog.
const std::string & getName() const
It returns the group name.
std::vector< ColorScheme * > m_colorSchemes
The group of color schemes.
const std::vector< ColorScheme * > & getColorSchemes() const
It returns a reference to the list of color schemes belonging to this group.
std::string m_name
Color scheme name.
ColorSchemeCatalog * getParent() const
It returns the parent catalog or NULL if it doesn't belong to a catalog.
void setParent(ColorSchemeCatalog *parent)
It sets the parent color catalog for this group.
friend class ColorSchemeCatalog
~ColorSchemeGroup()
Destructor.
void push_back(ColorScheme *colorScheme)
It adds a new color scheme to the group and sets its relationship.
ColorSchemeGroup(const ColorSchemeGroup &rhs)
Copy constructor not allowed.
void disconnect(ColorScheme *colorScheme)
It just remove the reference to the informed color scheme.
ColorSchemeGroup & operator=(const ColorSchemeGroup &rhs)
Assignment operator not allowed.
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 setDescription(const std::string &d)
It sets the group description.
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.
ColorSchemeGroup(const std::string &name)
It initializes a new ColorSchemeGroup and adds it to the parent catalog.
It models the concept of color scheme.
Namespace for the Color Model of TerraLib.
Configuration flags for the Color module of TerraLib.
#define TECOLOREXPORT
You can use this macro in order to export/import classes and functions from this module.