CHROMA
ferm_createstate_factory_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Fermion create state factory
4  */
5 
6 #ifndef __ferm_createstate_factory_w_h__
7 #define __ferm_createstate_factory_w_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 #include "chromabase.h"
12 
13 #include "create_state.h"
14 
15 namespace Chroma
16 {
17 
18  //! CreateFermState Factory
19  /*! @ingroup fermstates */
20  typedef SingletonHolder<
21  ObjectFactory<CreateFermState<LatticeFermion,
22  multi1d<LatticeColorMatrix>,
23  multi1d<LatticeColorMatrix> >,
25  TYPELIST_2(XMLReader&, const std::string&),
26  CreateFermState<LatticeFermion,
27  multi1d<LatticeColorMatrix>,
28  multi1d<LatticeColorMatrix> >* (*)(XMLReader&,
29  const std::string&),
30  StringFactoryError> >
32 
33 } // end namespace Chroma
34 
35 
36 #endif
Primary include file for CHROMA library code.
Create a connection state.
SingletonHolder< ObjectFactory< CreateFermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, std::string, TYPELIST_2(XMLReader &, const std::string &), CreateFermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheCreateFermStateFactory
CreateFermState Factory.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::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