43 #ifndef RTOP_SERVER_DECL_HPP
44 #define RTOP_SERVER_DECL_HPP
46 #include "RTOpPack_RTOpT.hpp"
56 template<
class Scalar>
93 typedef std::map< std::string, Teuchos::RCP<Teuchos::AbstractFactory<RTOpT<Scalar> > > >
op_factories_t;
100 #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.