28 #ifndef ROCKETCOREPROPERTYSPECIFICATION_H
29 #define ROCKETCOREPROPERTYSPECIFICATION_H
38 class PropertyDictionary;
39 struct PropertyShorthandDefinition;
91 bool RegisterShorthand(
const String& shorthand_name,
const String& property_names, ShorthandType type = AUTO);
95 const PropertyShorthandDefinition* GetShorthand(
const String& shorthand_name)
const;
102 bool ParsePropertyDeclaration(
PropertyDictionary& dictionary,
const String& property_name,
const String& property_value,
const String& source_file =
"",
int source_line_number = 0)
const;
108 typedef std::map< String, PropertyDefinition* >
PropertyMap;
109 typedef std::map< String, PropertyShorthandDefinition* > ShorthandMap;
111 PropertyMap properties;
112 ShorthandMap shorthands;
116 bool ParsePropertyValues(
StringList& values_list,
const String& values,
bool split_values)
const;
std::map< String, Property > PropertyMap
Definition: PropertyDictionary.h:37
Definition: PropertyDefinition.h:42
Definition: Clipboard.h:33
Definition: PropertyDictionary.h:45
std::set< String > PropertyNameList
Definition: Types.h:92
Definition: PropertySpecification.h:54
ShorthandType
Definition: PropertySpecification.h:50
std::vector< String > StringList
Definition: String.h:41
Definition: StringBase.h:42
Definition: PropertySpecification.h:56
Definition: PropertySpecification.h:58
Definition: PropertySpecification.h:47