Quick Links: |
#include <ball_scopedattributes.h>
Public Member Functions | |
ScopedAttributes (const AttributeContainer *attributes) | |
~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.
See Component ball_scopedattributes
ball::ScopedAttributes::ScopedAttributes | ( | const AttributeContainer * | attributes | ) |
Create a ScopedAttributes
object having the specified attributes
. Note that attributes
must remain valid and unmodified for the lifetime of this object.
ball::ScopedAttributes::~ScopedAttributes | ( | ) |
Remove the associated attributes from the current attribute context.