CHROMA
enum_prop_dist_io.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Type of lines for distillution
4  */
5 #ifndef enum_prop_dist_io_h
6 #define enum_prop_dist_io_h
7 
8 #include "chromabase.h"
9 #include <string>
10 #include "singleton.h"
12 
13 namespace Chroma
14 {
15 
16  /*!
17  * Types and structures
18  *
19  * \ingroup io
20  *
21  * @{
22  */
23  //! Distillution line types
25  {
28  };
29 
30 
31  namespace PropDistTypeEnv
32  {
33  bool registerAll(void); // Forward declaration
34  }
35 
36  // A singleton to hold the typemap
38 
39  //! Reader
40  void read(XMLReader& r, const std::string& path, PropDistType& t);
41 
42  //! Writer
43  void write(XMLWriter& w, const std::string& path, const PropDistType& t);
44 
45  //! Reader
46  void read(BinaryReader& r, PropDistType& t);
47 
48  //! Writer
49  void write(BinaryWriter& w, const PropDistType& t);
50 
51  /*! @} */ // end of group io
52 
53 }
54 #endif
Primary include file for CHROMA library code.
Enum std::map.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams &param)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams &param)
Writer parameters.
SingletonHolder< EnumTypeMap< PropDistType > > thePropDistTypeMap
PropDistType
Distillution line types.
@ PROP_DIST_TYPE_SOLUTION
@ PROP_DIST_TYPE_SOURCE
int t
Definition: meslate.cc:37
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Singleton support.