CHROMA
extfield_factory_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief External field factory
4  */
5 
6 #ifndef __extfield_factory_w_h__
7 #define __extfield_factory_w_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
12 
13 namespace Chroma
14 {
15  //! External field factory
16  typedef SingletonHolder<
17  ObjectFactory<ExternalField,
19  TYPELIST_2(XMLReader&, const std::string&),
20  ExternalField* (*)(XMLReader&,
21  const std::string&), StringFactoryError> >
23 
24 }
25 
26 
27 #endif
External field.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
SingletonHolder< ObjectFactory< ExternalField, std::string, TYPELIST_2(XMLReader &, const std::string &), ExternalField *(*)(XMLReader &, const std::string &), StringFactoryError > > TheExternalFieldFactory
External field factory.
::std::string string
Definition: gtest.h:1979
Factory class for objects from XML input.
Singleton support.
#define TYPELIST_2(T1, T2)
Definition: typelist.h:43