10 #ifndef TEUCHOS_HANDLEABLE_HPP 
   11 #define TEUCHOS_HANDLEABLE_HPP 
   33   template <
typename Base>
 
   59   template <
typename Base>
 
   87 #define TEUCHOS_GET_RCP(Base)                                           \ 
   88   virtual Teuchos::RCP<const Base > getConstRcp() const {return rcp(this);} \ 
   89   virtual Teuchos::RCP<Base > getRcp() {return rcp(this);} 
  102 #define TEUCHOS_GET_CONST_RCP(Base) \ 
  103 virtual Teuchos::RCP<const Base > getConstRcp() const {return rcp(this);} 
  108 #endif // TEUCHOS_HANDLEABLE_HPP 
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
virtual RCP< Base > getRcp()=0
Return a safely-created RCP to the base type. 
Class Handleable provides an abstract interface for polymorphic conversion from raw pointers to smart...
virtual RCP< const Base > getConstRcp() const =0
Virtual dtorReturn a safely-created RCP to the base type. 
Class ConstHandleable provides an abstract interface for polymorphic conversion from raw pointers to ...
Smart reference counting pointer class for automatic garbage collection. 
Reference-counted pointer class and non-member templated function implementations. 
virtual ~ConstHandleable()