11#ifndef __SGRADIENTPOOL__H__
12#define __SGRADIENTPOOL__H__
14#include <core/SCmnMap.h>
15#include <interface/obj-ref-i.h>
16#include <helper/obj-ref-impl.hpp>
28 :
public SCmnMap<SAutoRefPtr<IGradient>, SStringW>
SCmnMap(void(*funOnKeyRemoved)(const SAutoRefPtr< IGradient > &)=NULL)
Manages the mapping of gradient names to IGradient objects.
BOOL Init(SXmlNode xmlNode)
Initializes the gradient pool from an XML node.
IGradient * GetGradient(const SStringW &strName)
Retrieves the gradient object by its name.
A class representing an ASCII string.
Class representing an XML node.