casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PrimitiveDataType.h
Go to the documentation of this file.
1 /*
2  *
3  * /////////////////////////////////////////////////////////////////
4  * // WARNING! DO NOT MODIFY THIS FILE! //
5  * // --------------------------------------------------------- //
6  * // | This is generated code using a C++ template function! | //
7  * // ! Do not modify this file. | //
8  * // | Any changes will be lost when the file is re-generated. | //
9  * // --------------------------------------------------------- //
10  * /////////////////////////////////////////////////////////////////
11  *
12  */
13 
14 
15 #if !defined(_PRIMITIVEDATATYPE_H)
16 
18 #define _PRIMITIVEDATATYPE_H
19 #endif
20 
21 #if !defined(_PRIMITIVEDATATYPE_HH)
22 
23 #include <alma/Enumtcl/Enum.hpp>
24 
25 template<>
26  struct enum_set_traits<PrimitiveDataTypeMod::PrimitiveDataType> : public enum_set_traiter<PrimitiveDataTypeMod::PrimitiveDataType,5,PrimitiveDataTypeMod::FLOAT64_TYPE> {};
27 
28 template<>
29 class enum_map_traits<PrimitiveDataTypeMod::PrimitiveDataType,void> : public enum_map_traiter<PrimitiveDataTypeMod::PrimitiveDataType,void> {
30 public:
31  static bool init_;
32  static std::string typeName_;
33  static std::string enumerationDesc_;
34  static std::string order_;
35  static std::string xsdBaseType_;
36  static bool init(){
37  EnumPar<void> ep;
38  m_.insert(std::pair<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> >
39  (PrimitiveDataTypeMod::INT16_TYPE,ep((int)PrimitiveDataTypeMod::INT16_TYPE,"INT16_TYPE","un-documented")));
40  m_.insert(std::pair<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> >
41  (PrimitiveDataTypeMod::INT32_TYPE,ep((int)PrimitiveDataTypeMod::INT32_TYPE,"INT32_TYPE","un-documented")));
42  m_.insert(std::pair<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> >
43  (PrimitiveDataTypeMod::INT64_TYPE,ep((int)PrimitiveDataTypeMod::INT64_TYPE,"INT64_TYPE","un-documented")));
44  m_.insert(std::pair<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> >
45  (PrimitiveDataTypeMod::FLOAT32_TYPE,ep((int)PrimitiveDataTypeMod::FLOAT32_TYPE,"FLOAT32_TYPE","un-documented")));
46  m_.insert(std::pair<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> >
47  (PrimitiveDataTypeMod::FLOAT64_TYPE,ep((int)PrimitiveDataTypeMod::FLOAT64_TYPE,"FLOAT64_TYPE","un-documented")));
48  return true;
49  }
50  static std::map<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> > m_;
51 };
52 #define _PRIMITIVEDATATYPE_HH
53 #endif
static std::map< PrimitiveDataTypeMod::PrimitiveDataType, EnumPar< void > > m_