#include <Teuchos_Handleable.hpp>
Inheritance diagram for Teuchos::Handleable< Base >:

Public Member Functions | |
| virtual | ~Handleable () |
| | |
| virtual RefCountPtr< Base > | getRcp ()=0 |
| Return a safely-created RefCountPtr to the base type. | |
Recall from the Teuchos RefCountPtr documentation that one should never create directly a smart pointer from a raw pointer; rather, smart pointers should be created through a call to rcp(). The type of the argument to rcp() must be known at compile time. This makes the syntax
Handle h = new Derived();
Definition at line 79 of file Teuchos_Handleable.hpp.
|
|||||||||
|
Definition at line 84 of file Teuchos_Handleable.hpp. |
|
|||||||||
|
Return a safely-created RefCountPtr to the base type.
|
1.3.9.1