|
Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
A generic handle class. More...
#include <Sacado_Handle.hpp>

Public Member Functions | |
| Handle (T *p) | |
Create new handle from pointer p. More... | |
| Handle (const Handle &h) | |
| Copy handle. More... | |
| ~Handle () | |
| Destroy handle. More... | |
| T * | get () |
| Return pointer to underlying data. More... | |
| const T * | get () const |
| Return pointer to underlying data. More... | |
| void | Assign (const Handle &h) |
Assign to handle h as its own copy. More... | |
| void | makeOwnCopy () |
Make handle have its own copy of rep. More... | |
| Handle & | operator= (const Handle &h) |
| Assignment operator. More... | |
| T * | operator-> () const |
| Dereference. More... | |
| const T & | operator* () const |
| Dereference. More... | |
| T & | operator* () |
| Dereference. More... | |
Private Member Functions | |
| void | decrementRef () |
| Decrement reference. More... | |
Private Attributes | |
| T * | rep |
| Pointer to data. More... | |
| int * | count |
| Reference count. More... | |
A generic handle class.
Definition at line 19 of file Sacado_Handle.hpp.
|
inline |
Create new handle from pointer p.
Definition at line 23 of file Sacado_Handle.hpp.
|
inline |
Copy handle.
Definition at line 26 of file Sacado_Handle.hpp.
|
inline |
Destroy handle.
Definition at line 29 of file Sacado_Handle.hpp.
|
inline |
Return pointer to underlying data.
Definition at line 32 of file Sacado_Handle.hpp.
|
inline |
Return pointer to underlying data.
Definition at line 35 of file Sacado_Handle.hpp.
|
inline |
Assign to handle h as its own copy.
Definition at line 38 of file Sacado_Handle.hpp.
|
inline |
Make handle have its own copy of rep.
Definition at line 45 of file Sacado_Handle.hpp.
|
inline |
Assignment operator.
Definition at line 56 of file Sacado_Handle.hpp.
|
inline |
Dereference.
Definition at line 67 of file Sacado_Handle.hpp.
|
inline |
Dereference.
Definition at line 70 of file Sacado_Handle.hpp.
|
inline |
Dereference.
Definition at line 73 of file Sacado_Handle.hpp.
|
inlineprivate |
Decrement reference.
Definition at line 84 of file Sacado_Handle.hpp.
|
private |
Pointer to data.
Definition at line 78 of file Sacado_Handle.hpp.
|
private |
Reference count.
Definition at line 81 of file Sacado_Handle.hpp.
1.8.5