CHROMA
lib
meas
inline
io
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
<
25
FunctionMap
<
DumbDisambiguator
,
26
void,
27
std::string
,
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),
34
StringFunctionMapError
> >
35
TheQIOWriteObjFuncMap
;
36
37
bool
registerAll
();
38
}
39
40
}
// end namespace Chroma
41
42
43
#endif
chromabase.h
Primary include file for CHROMA library code.
Chroma::FunctionMap
Object factory class.
Definition:
funcmap.h:89
Chroma::SingletonHolder
Definition:
singleton.h:385
funcmap.h
Map of function calls.
Chroma::QIOWriteObjCallMapEnv::registerAll
bool registerAll()
Register all the factories.
Definition:
qio_write_obj_funcmap.cc:507
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
testing::internal::string
::std::string string
Definition:
gtest.h:1979
singleton.h
Singleton support.
Chroma::QIOWriteObjCallMapEnv::DumbDisambiguator
Definition:
qio_write_obj_funcmap.h:20
Chroma::StringFunctionMapError
Definition:
funcmap.h:46
TYPELIST_4
#define TYPELIST_4(T1, T2, T3, T4)
Definition:
typelist.h:47
Generated by
1.9.1