Sacado
Development
|
A generic handle class. More...
#include <Sacado_Handle.hpp>
Public Member Functions | |
Handle (T *p) | |
Create new handle from pointer p . | |
Handle (const Handle &h) | |
Copy handle. | |
~Handle () | |
Destroy handle. | |
T * | get () |
Return pointer to underlying data. | |
const T * | get () const |
Return pointer to underlying data. | |
void | Assign (const Handle &h) |
Assign to handle h as its own copy. | |
void | makeOwnCopy () |
Make handle have its own copy of rep . | |
Handle & | operator= (const Handle &h) |
Assignment operator. | |
T * | operator-> () const |
Dereference. | |
const T & | operator* () const |
Dereference. | |
T & | operator* () |
Dereference. | |
A generic handle class.