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) \
103virtual 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,...