42 #ifndef TEUCHOS_ABSTRACT_FACTORY_HPP
43 #define TEUCHOS_ABSTRACT_FACTORY_HPP
64 #ifndef DOXYGEN_COMPILE
75 virtual obj_ptr_t
create()
const = 0;
81 #endif // TEUCHOS_ABSTRACT_FACTORY_HPP
virtual ~AbstractFactory()
virtual obj_ptr_t create() const =0
Create an object of type T returned as a smart reference counting pointer object. ...
Smart reference counting pointer class for automatic garbage collection.
Simple, universal "Abstract Factory" interface for the dynamic creation of objects.
Reference-counted pointer class and non-member templated function implementations.