11 #ifndef RTOP_SERVER_DECL_HPP
12 #define RTOP_SERVER_DECL_HPP
14 #include "RTOpPack_RTOpT.hpp"
24 template<
class Scalar>
61 typedef std::map< std::string, Teuchos::RCP<Teuchos::AbstractFactory<RTOpT<Scalar> > > >
op_factories_t;
68 #endif // RTOP_SERVER_DECL_HPP
op_factories_t op_factories_
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.
Templated interface to vector reduction/transformation operators {abstract}.
void add_op_factory(const Teuchos::RCP< Teuchos::AbstractFactory< RTOpPack::RTOpT< Scalar > > > &op_factory)
Add a new abstract factory for an RTOpT operator.
std::map< std::string, Teuchos::RCP< Teuchos::AbstractFactory< RTOpT< Scalar > > > > op_factories_t
void print_op_factories(std::ostream &o) const
Print out all of the operator factories that have been added.
Server for creating RTOpT objects given just the operators name.