This class provides a scoped guard that installs an AttributeContainer in the current attribute context.
Declared in <ball_scopedattributes.h>
class ScopedAttributes;
This class installs a AttributeContainer object in the current attribute context on construction, and removes it on destruction. Note that the AttributeContainer supplied at construction must remain valid and unmodified for the lifetime of this object.
| Name | Description |
|---|---|
ScopedAttributes [constructor] | Create a ScopedAttributes object having the specified attributes. Note that attributes must remain valid and unmodified for the lifetime of this object. |
~ScopedAttributes [destructor] | Remove the associated attributes from the current attribute context. |