CHROMA
gauge_createstate_factory.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Gauge create state factory
4  */
5 
6 #ifndef __gauge_createstate_factory_h__
7 #define __gauge_createstate_factory_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  //! CreateGaugeState Factory
19  /*! @ingroup gaugestates */
20  typedef SingletonHolder<
21  ObjectFactory<CreateGaugeState<multi1d<LatticeColorMatrix>,
22  multi1d<LatticeColorMatrix> >,
24  TYPELIST_2(XMLReader&, const std::string&),
25  CreateGaugeState<multi1d<LatticeColorMatrix>,
26  multi1d<LatticeColorMatrix> >* (*)(XMLReader&,
27  const std::string&),
28  StringFactoryError> >
30 } // end namespace Chroma
31 
32 
33 #endif
Primary include file for CHROMA library code.
Create a connection state.
SingletonHolder< ObjectFactory< CreateGaugeState< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, std::string, TYPELIST_2(XMLReader &, const std::string &), CreateGaugeState< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > *(*)(XMLReader &, const std::string &), StringFactoryError > > TheCreateGaugeStateFactory
CreateGaugeState 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