28 #ifndef ROCKETCORESTYLESHEET_H
29 #define ROCKETCORESTYLESHEET_H
40 class ElementDefinition;
60 bool LoadStyleSheet(
Stream* stream);
65 void BuildNodeIndex();
69 ElementDefinition* GetElementDefinition(
const Element* element)
const;
73 virtual void OnReferenceDeactivate();
84 int specificity_offset;
87 NodeIndex styled_node_index;
89 NodeIndex complete_node_index;
91 typedef std::map< String, ElementDefinition* > ElementDefinitionCache;
93 mutable ElementDefinitionCache address_cache;
95 mutable ElementDefinitionCache node_cache;
std::set< StyleSheetNode * > NodeList
Definition: StyleSheet.h:53
std::map< String, NodeList > NodeIndex
Definition: StyleSheet.h:54
Definition: Clipboard.h:33
Definition: StyleSheet.h:50
Definition: ReferenceCountable.h:41