CHROMA
map_obj_aggregate_w.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file map_obj_aggregate_w.cc
3  * \brief Aggregate registration for MapObj types
4  */
5 
7 
8 // Individual MapObj headers
12 
13 
14 namespace Chroma {
15 
16  //! Registration accregator
17  namespace MapObjectWilson4DEnv
18  {
19 
20  // Anonymous namespace
21  namespace
22  {
23  bool registered = false;
24  }
25 
26  bool registerAll()
27  {
28  bool success = true;
29  if (! registered)
30  {
31  success &= MapObjectDiskEnv::registerAll();
33  success &= MapObjectNullEnv::registerAll();
34 
35  registered = true;
36  }
37  return success;
38  }
39 
40 
41 
42  } // MapObjectEnv
43 
44 }
Header file for std::map obj aggregate registrations.
Header file for std::map obj aggregate registrations.
Header file for std::map obj aggregate registrations.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
bool registerAll()
Register all the factories.
bool registerAll()
Register all the factories.
bool registerAll()
aggregate everything
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10