CHROMA
lib
meas
inline
io
szin_read_obj_funcmap.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief Read object function std::map
4
*/
5
6
#ifndef __szin_read_obj_funcmap_h__
7
#define __szin_read_obj_funcmap_h__
8
9
#include "
singleton.h
"
10
#include "
funcmap.h
"
11
#include "
chromabase.h
"
12
13
namespace
Chroma
14
{
15
16
//! Read object function std::map
17
/*! \ingroup inlineio */
18
namespace
SZINReadObjCallMapEnv
19
{
20
struct
DumbDisambiguator
{};
21
22
//! Read object function std::map
23
/*! \ingroup inlineio */
24
typedef
SingletonHolder
<
25
FunctionMap
<
DumbDisambiguator
,
26
void,
27
std::string
,
28
TYPELIST_2
(
const
std::string
&,
29
const
std::string
&),
30
void (*)(
const
std::string
& buffer_id,
31
const
std::string
& filename),
32
StringFunctionMapError
> >
33
TheSZINReadObjFuncMap
;
34
35
bool
registerAll
();
36
}
37
38
}
// end namespace Chroma
39
40
41
#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::SZINReadObjCallMapEnv::registerAll
bool registerAll()
Register all the factories.
Definition:
szin_read_obj_funcmap.cc:67
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::SZINReadObjCallMapEnv::DumbDisambiguator
Definition:
szin_read_obj_funcmap.h:20
Chroma::StringFunctionMapError
Definition:
funcmap.h:46
TYPELIST_2
#define TYPELIST_2(T1, T2)
Definition:
typelist.h:43
Generated by
1.9.1