|
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 41 of file Sacado_Handle.hpp.
|
inline |
Create new handle from pointer p.
Definition at line 45 of file Sacado_Handle.hpp.
|
inline |
Copy handle.
Definition at line 48 of file Sacado_Handle.hpp.
|
inline |
Destroy handle.
Definition at line 51 of file Sacado_Handle.hpp.
|
inline |
Return pointer to underlying data.
Definition at line 54 of file Sacado_Handle.hpp.
|
inline |
Return pointer to underlying data.
Definition at line 57 of file Sacado_Handle.hpp.
|
inline |
Assign to handle h as its own copy.
Definition at line 60 of file Sacado_Handle.hpp.
|
inline |
Make handle have its own copy of rep.
Definition at line 67 of file Sacado_Handle.hpp.
|
inline |
Assignment operator.
Definition at line 78 of file Sacado_Handle.hpp.
|
inline |
Dereference.
Definition at line 89 of file Sacado_Handle.hpp.
|
inline |
Dereference.
Definition at line 92 of file Sacado_Handle.hpp.
|
inline |
Dereference.
Definition at line 95 of file Sacado_Handle.hpp.
|
inlineprivate |
Decrement reference.
Definition at line 106 of file Sacado_Handle.hpp.
|
private |
Pointer to data.
Definition at line 100 of file Sacado_Handle.hpp.
|
private |
Reference count.
Definition at line 103 of file Sacado_Handle.hpp.
1.8.5