| Home | Download | Screen shots | Discussion | Documentation | Links |
|---|
Public Methods | |
| ScopePtr (Scope *scope=0) | |
| ScopePtr (const ScopePtr &scopePtr) | |
| Copy constructor. | |
| operator bool () const | |
| ScopePtr & | operator= (const ScopePtr &scopePtr) |
| Assignment operator. | |
| bool | operator== (const ScopePtr &scopePtr) const |
| Scope & | operator * () const |
| Scope * | operator-> () const |
| Scope * | get () const |
| void | reset (Scope *scope=0) |
Private Methods | |
| void | dispose () |
Private Attributes | |
| Scope * | scope |
| size_t * | count |
ScopePtr is patterned after the Boost shared_ptr, and it works basically the same way. A ScopePtr should be constructed or reset with a Scope created with new (or 0).
|
|
Copy constructor.
|
|
|
Assignment operator.
|