CHROMA
qio_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 __qio_write_obj_funcmap_h__
7 #define __qio_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 QIOWriteObjCallMapEnv
19  {
20  struct DumbDisambiguator {};
21 
22  //! Write object function std::map
23  /*! \ingroup inlineio */
24  typedef SingletonHolder<
26  void,
28  TYPELIST_4(const std::string&,
29  const std::string&,
30  QDP_volfmt_t, QDP_serialparallel_t),
31  void (*)(const std::string& buffer_id,
32  const std::string& filename,
33  QDP_volfmt_t volfmt, QDP_serialparallel_t serpar),
36 
37  bool registerAll();
38  }
39 
40 } // end namespace Chroma
41 
42 
43 #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_4(T1, T2, T3, T4)
Definition: typelist.h:47