8 #ifndef META_OCEAN_RENDERING_ATTRIBUTE_SET_H
9 #define META_OCEAN_RENDERING_ATTRIBUTE_SET_H
This class is the base class for all attribute set objects.
Definition: AttributeSet.h:43
virtual bool hasAttribute(const ObjectType attributeType) const
Returns wehether an attribute with a specific type exists in this set.
Attributes setAttributes
Set holding registered attributes.
Definition: AttributeSet.h:120
virtual AttributeRef attribute(const unsigned int index) const
Returns an attribute specified by the index.
virtual AttributeRef attribute(const ObjectType attributeType) const
Returns the attribute with a specific type.
std::set< AttributeRef > Attributes
Definition of a set holding attribute objects.
Definition: AttributeSet.h:49
virtual unsigned int numberAttributes() const
Returns the number of registered attributes.
virtual void addAttribute(const AttributeRef &attribute)
Adds a new attribute to this attribute set.
virtual void removeAttribute(const AttributeRef &attribute)
Removes a registered attribute from this attribute ses.
ObjectType type() const override
Returns the type of this object.
AttributeSet()
Creates a new attribute set object.
virtual bool removeAttribute(const ObjectType attributeType)
Removes the first registered attribute having a specified attribute type.
~AttributeSet() override
Destructs an attribute set object.
This class is the base class for all rendering objects.
Definition: Object.h:54
ObjectType
Definition of different object type.
Definition: Object.h:63
SmartObjectRef< AttributeSet > AttributeSetRef
Definition of a smart object reference holding an attribute set.
Definition: AttributeSet.h:25
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15