Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #if !defined(_BASEBANDNAME_H)
00016
00017 #include <CBasebandName.h>
00018 #define _BASEBANDNAME_H
00019 #endif
00020
00021 #if !defined(_BASEBANDNAME_HH)
00022
00023 #include "Enum.hpp"
00024
00025 using namespace BasebandNameMod;
00026
00027 template<>
00028 struct enum_set_traits<BasebandName> : public enum_set_traiter<BasebandName,8,BasebandNameMod::BB_8> {};
00029
00030 template<>
00031 class enum_map_traits<BasebandName,void> : public enum_map_traiter<BasebandName,void> {
00032 public:
00033 static bool init_;
00034 static string typeName_;
00035 static string enumerationDesc_;
00036 static string order_;
00037 static string xsdBaseType_;
00038 static bool init(){
00039 EnumPar<void> ep;
00040 m_.insert(pair<BasebandName,EnumPar<void> >
00041 (BasebandNameMod::BB_1,ep((int)BasebandNameMod::BB_1,"BB_1","Baseband one")));
00042 m_.insert(pair<BasebandName,EnumPar<void> >
00043 (BasebandNameMod::BB_2,ep((int)BasebandNameMod::BB_2,"BB_2","Baseband two")));
00044 m_.insert(pair<BasebandName,EnumPar<void> >
00045 (BasebandNameMod::BB_3,ep((int)BasebandNameMod::BB_3,"BB_3","Baseband three")));
00046 m_.insert(pair<BasebandName,EnumPar<void> >
00047 (BasebandNameMod::BB_4,ep((int)BasebandNameMod::BB_4,"BB_4","Baseband four")));
00048 m_.insert(pair<BasebandName,EnumPar<void> >
00049 (BasebandNameMod::BB_5,ep((int)BasebandNameMod::BB_5,"BB_5","Baseband five (not ALMA)")));
00050 m_.insert(pair<BasebandName,EnumPar<void> >
00051 (BasebandNameMod::BB_6,ep((int)BasebandNameMod::BB_6,"BB_6","Baseband six (not ALMA)")));
00052 m_.insert(pair<BasebandName,EnumPar<void> >
00053 (BasebandNameMod::BB_7,ep((int)BasebandNameMod::BB_7,"BB_7","Baseband seven (not ALMA)")));
00054 m_.insert(pair<BasebandName,EnumPar<void> >
00055 (BasebandNameMod::BB_8,ep((int)BasebandNameMod::BB_8,"BB_8","Baseband eight (not ALMA)")));
00056 return true;
00057 }
00058 static map<BasebandName,EnumPar<void> > m_;
00059 };
00060 #define _BASEBANDNAME_HH
00061 #endif