CHROMA
lib
meas
inline
io
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
<
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
TheXMLWriteObjFuncMap
;
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::XMLWriteObjCallMapEnv::registerAll
bool registerAll()
Register all the factories.
Definition:
xml_write_obj_funcmap.cc:110
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::StringFunctionMapError
Definition:
funcmap.h:46
Chroma::XMLWriteObjCallMapEnv::DumbDisambiguator
Definition:
xml_write_obj_funcmap.h:20
TYPELIST_2
#define TYPELIST_2(T1, T2)
Definition:
typelist.h:43
Generated by
1.9.1