10 #ifndef KEYSTYLE_H_INCLUDED
11 #define KEYSTYLE_H_INCLUDED
13 #include <boost/shared_ptr.hpp>
14 #include <boost/unordered_map.hpp>
54 #endif // KEYSTYLE_H_INCLUDED
Represents a (hierarchical) property map.
Definition: KEYPropertyMap.h:21
boost::unordered_map< ID_t, KEYStylePtr_t > KEYStyleMap_t
Definition: KEYStyle.h:50
boost::shared_ptr< KEYStyle > KEYStylePtr_t
Definition: KEYStyle.h:49
virtual const KEYPropertyMap & getPropertyMap() const =0
Get the style's property map.
Definition: KEY2Token.h:799
virtual bool link(const KEYStylesheetPtr_t &stylesheet)=0
Find the parent style by its ID.
virtual void flatten()=0
Copy attributes from parent style (recursively).
Represents a hierarchical style.
Definition: KEYStyle.h:26
virtual ~KEYStyle()=0
Definition: KEYStyle.cpp:15
boost::shared_ptr< KEYStylesheet > KEYStylesheetPtr_t
Definition: KEYStylesheet.h:19