CHROMA
xml_write_obj_funcmap.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Write object function std::map
4  */
5 
6 #ifndef __xml_write_obj_funcmap_h__
7 #define __xml_write_obj_funcmap_h__
8 
9 #include "singleton.h"
10 #include "funcmap.h"
11 #include "chromabase.h"
12 
13 namespace Chroma
14 {
15 
16  //! Write object function std::map
17  /*! \ingroup inlineio */
18  namespace XMLWriteObjCallMapEnv
19  {
20  struct DumbDisambiguator {};
21 
22  //! Write object function std::map
23  /*! \ingroup inlineio */
24  typedef SingletonHolder<
26  void,
28  TYPELIST_2(const std::string&,
29  const std::string&),
30  void (*)(const std::string& buffer_id,
31  const std::string& filename),
34 
35  bool registerAll();
36  }
37 
38 } // end namespace Chroma
39 
40 
41 #endif
Primary include file for CHROMA library code.
Object factory class.
Definition: funcmap.h:89
Map of function calls.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Singleton support.
#define TYPELIST_2(T1, T2)
Definition: typelist.h:43