42#ifndef TEUCHOS_HANDLEABLE_HPP
43#define TEUCHOS_HANDLEABLE_HPP
65 template <
typename Base>
91 template <
typename Base>
119#define TEUCHOS_GET_RCP(Base) \
120 virtual Teuchos::RCP<const Base > getConstRcp() const {return rcp(this);} \
121 virtual Teuchos::RCP<Base > getRcp() {return rcp(this);}
134#define TEUCHOS_GET_CONST_RCP(Base) \
135virtual Teuchos::RCP<const Base > getConstRcp() const {return rcp(this);}
Teuchos header file which uses auto-configuration information to include necessary C++ headers.
Reference-counted pointer class and non-member templated function implementations.
Class ConstHandleable provides an abstract interface for polymorphic conversion from raw pointers to ...
virtual RCP< const Base > getConstRcp() const =0
Virtual dtorReturn a safely-created RCP to the base type.
virtual ~ConstHandleable()
Class Handleable provides an abstract interface for polymorphic conversion from raw pointers to smart...
virtual RCP< Base > getRcp()=0
Return a safely-created RCP to the base type.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...