CHROMA
rat_approx_factory.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Rational approximation factories
4  */
5 
6 #ifndef __rat_approx_factory_w_h__
7 #define __rat_approx_factory_w_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 #include "chromabase.h"
12 
14 
15 namespace Chroma
16 {
17  //! A factory for creating rational approximation
18  /*! @ingroup monomial */
19  typedef SingletonHolder<
20  ObjectFactory<RationalApprox,
22  TYPELIST_2(XMLReader&, const std::string&),
23 
24  RationalApprox* (*)(XMLReader&, const std::string&),
25  StringFactoryError> >
27 
28 } // End namespace Chroma
29 
30 
31 #endif
Primary include file for CHROMA library code.
SingletonHolder< ObjectFactory< RationalApprox, std::string, TYPELIST_2(XMLReader &, const std::string &), RationalApprox *(*)(XMLReader &, const std::string &), StringFactoryError > > TheRationalApproxFactory
A factory for creating rational approximation.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Factory class for objects from XML input.
Base class for rational approximations.
Singleton support.
#define TYPELIST_2(T1, T2)
Definition: typelist.h:43