class EE::UI::CSS::PropertyDefinition¶
Overview¶
#include <propertydefinition.hpp> class PropertyDefinition { public: // construction PropertyDefinition(PropertyId propertyId, const std::string& name, const std::string& defaultValue, const bool& inherited = false); // methods const std::string& getName() const; const String::HashType& getId() const; PropertyId getPropertyId() const; const std::string& getDefaultValue() const; bool isInherited() const; const PropertyRelativeTarget& getRelativeTarget() const; PropertyDefinition& setRelativeTarget(const PropertyRelativeTarget& relativeTarget); PropertyDefinition& setType(const PropertyType& propertyType); const PropertyType& getType() const; PropertyDefinition& addAlias(const std::string& alias); bool isAlias(const std::string& alias) const; bool isAlias(const Uint32& id) const; bool isDefinition(const std::string& name) const; bool isDefinition(const Uint32& id) const; PropertyDefinition& setIndexed(); const bool& isIndexed() const; };
Detailed Documentation¶
Methods¶
const String::HashType& getId() const
Returns the canonical property-name hash, not the dense PropertyId.
PropertyId getPropertyId() const
Returns the dense identity used for dispatch and PropertyIdSet membership.