Sacado  Development
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
Sacado::Handle< T > Class Template Reference

A generic handle class. More...

#include <Sacado_Handle.hpp>

Inheritance diagram for Sacado::Handle< T >:
Inheritance graph
[legend]

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.
 
Handleoperator= (const Handle &h)
 Assignment operator.
 
T * operator-> () const
 Dereference.
 
const T & operator* () const
 Dereference.
 
T & operator* ()
 Dereference.
 

Detailed Description

template<typename T>
class Sacado::Handle< T >

A generic handle class.


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