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.

Synopsis

Declared in <ball_scopedattributes.h>

class ScopedAttributes;

Member Functions

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.

Created with MrDocs