BDE 4.14.0 Production release
Loading...
Searching...
No Matches
ball::ScopedAttributes Class Reference

#include <ball_scopedattributes.h>

Public Member Functions

 ScopedAttributes (const AttributeContainer *attributes)
 
 ~ScopedAttributes ()
 Remove the associated attributes from the current attribute context.
 

Detailed Description

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 ball_scopedattributes

Constructor & Destructor Documentation

◆ ScopedAttributes()

ball::ScopedAttributes::ScopedAttributes ( const AttributeContainer attributes)
inline

Create a ScopedAttributes object having the specified attributes. Note that attributes must remain valid and unmodified for the lifetime of this object.

◆ ~ScopedAttributes()

ball::ScopedAttributes::~ScopedAttributes ( )
inline

The documentation for this class was generated from the following file: