CHROMA
lib
util
gauge
gauge_init_factory.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief Factory for producing gauge initializer objects
4
*/
5
6
#ifndef __gauge_init_factory_h__
7
#define __gauge_init_factory_h__
8
9
#include "
singleton.h
"
10
#include "
objfactory.h
"
11
#include "
chromabase.h
"
12
#include "
util/gauge/gauge_init.h
"
13
14
namespace
Chroma
15
{
16
//! Gauge initialization factory (foundry)
17
/*! @ingroup gauge */
18
typedef
SingletonHolder<
19
ObjectFactory<GaugeInit,
20
std::string
,
21
TYPELIST_2
(XMLReader&,
const
std::string
&),
22
GaugeInit* (*)(XMLReader&,
23
const
std::string
&), StringFactoryError> >
24
TheGaugeInitFactory
;
25
26
}
27
28
29
#endif
chromabase.h
Primary include file for CHROMA library code.
gauge_init.h
Gauge initialization.
Chroma::TheGaugeInitFactory
SingletonHolder< ObjectFactory< GaugeInit, std::string, TYPELIST_2(XMLReader &, const std::string &), GaugeInit *(*)(XMLReader &, const std::string &), StringFactoryError > > TheGaugeInitFactory
Gauge initialization factory (foundry)
Definition:
gauge_init_factory.h:24
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
testing::internal::string
::std::string string
Definition:
gtest.h:1979
objfactory.h
Factory class for objects from XML input.
singleton.h
Singleton support.
TYPELIST_2
#define TYPELIST_2(T1, T2)
Definition:
typelist.h:43
Generated by
1.9.1