43 #ifndef RTOP_SERVER_DECL_HPP 44 #define RTOP_SERVER_DECL_HPP 46 #include "RTOpPack_RTOpT.hpp" 47 #include "Teuchos_AbstractFactory.hpp" 56 template<
class Scalar>
86 Teuchos::RCP<Teuchos::AbstractFactory<RTOpPack::RTOpT<Scalar> > >
get_op_factory(
const char op_name[] )
const;
93 typedef std::map< std::string, Teuchos::RCP<Teuchos::AbstractFactory<RTOpT<Scalar> > > > op_factories_t;
94 op_factories_t op_factories_;
100 #endif // RTOP_SERVER_DECL_HPP Teuchos::RCP< Teuchos::AbstractFactory< RTOpPack::RTOpT< Scalar > > > get_op_factory(const char op_name[]) const
Get an operator factory given the name of the operator.
void print_op_factories(std::ostream &o) const
Print out all of the operator factories that have been added.
void add_op_factory(const Teuchos::RCP< Teuchos::AbstractFactory< RTOpPack::RTOpT< Scalar > > > &op_factory)
Add a new abstract factory for an RTOpT operator.
Server for creating RTOpT objects given just the operators name.