class EE::UI::CSS::StyleSheetSpecification

#include <stylesheetspecification.hpp>

class StyleSheetSpecification {
public:
    // construction

    ~StyleSheetSpecification();

    // methods

    PropertyDefinition& registerProperty(PropertyId id, const std::string& propertyName, const std::string& defaultValue, bool inherited = false);
    PropertyDefinition* registerProperty(const std::string& propertyName, const std::string& defaultValue, bool inherited = false);
    const PropertyDefinition* getProperty(const PropertyId& id) const;
    const PropertyDefinition* getProperty(const char* name) const;
    const PropertyDefinition* getProperty(std::string_view name) const;
    const PropertyDefinition* getProperty(const std::string& name) const;
    const PropertyIdSet& getInheritableProperties() const;
    ShorthandDefinition& registerShorthand(ShorthandId id, const std::string& name, const std::vector<std::string>& properties, const std::string& shorthandFuncName);
    ShorthandDefinition* registerShorthand(const std::string& name, const std::vector<std::string>& properties, const std::string& shorthandFuncName);
    const ShorthandDefinition* getShorthand(const ShorthandId& id) const;
    const ShorthandDefinition* getShorthand(const std::string& name) const;
    bool isShorthand(const std::string& name) const;
    void registerNodeSelector(const std::string& name, StyleSheetNodeSelector nodeSelector);
    StructuralSelector getStructuralSelector(const std::string& name);
    void registerShorthandParser(const std::string& name, ShorthandParserFunc shorthandParserFunc);
    ShorthandParserFunc getShorthandParser(const std::string& name);
    DrawableImageParser& getDrawableImageParser();
};