CHROMA
map_obj_factory_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*!
3  * \brief Factory for creating various kinds of std::map objects
4  */
5 
6 #ifndef __map_obj_factory_w_h__
7 #define __map_obj_factory_w_h__
8 
9 #include "chromabase.h"
10 #include "handle.h"
11 #include "singleton.h"
12 #include "typelist.h"
13 #include "objfactory.h"
14 #include "qdp_map_obj.h"
17 
18 namespace Chroma
19 {
20  //! MapObj factory (foundry)
21  /*! @ingroup ferm */
22  typedef SingletonHolder<
23  ObjectFactory<QDP::MapObject<int,EVPair<LatticeColorVector> >,
25  TYPELIST_3(XMLReader&, const std::string&, const std::string&),
26  QDP::MapObject<int,EVPair<LatticeColorVector> >* (*)(XMLReader&,
27  const std::string&,
28  const std::string&),
29  StringFactoryError> >
31 
32  //! MapObj factory (foundry)
33  /*! @ingroup ferm */
34  typedef SingletonHolder<
37  TYPELIST_3(XMLReader&, const std::string&, const std::string&),
38  QDP::MapObject<KeyPropColorVec_t,LatticeFermion>* (*)(XMLReader&,
39  const std::string&,
40  const std::string&),
43 
44 }
45 
46 
47 #endif
Primary include file for CHROMA library code.
Object factory class.
Definition: objfactory.h:82
SingletonHolder< ObjectFactory< QDP::MapObject< KeyPropColorVec_t, LatticeFermion >, std::string, TYPELIST_3(XMLReader &, const std::string &, const std::string &), QDP::MapObject< KeyPropColorVec_t, LatticeFermion > *(*)(XMLReader &, const std::string &, const std::string &), StringFactoryError > > TheMapObjKeyPropColorVecFactory
MapObj factory (foundry)
SingletonHolder< ObjectFactory< QDP::MapObject< int, EVPair< LatticeColorVector > >, std::string, TYPELIST_3(XMLReader &, const std::string &, const std::string &), QDP::MapObject< int, EVPair< LatticeColorVector > > *(*)(XMLReader &, const std::string &, const std::string &), StringFactoryError > > TheMapObjIntKeyColorEigenVecFactory
MapObj factory (foundry)
Class for counted reference semantics.
Key for propagator colorstd::vector sources.
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.
Holds of vectors and weights.
Typelist support.
#define TYPELIST_3(T1, T2, T3)
Definition: typelist.h:45