StationType.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #if !defined(_STATIONTYPE_H)
00016
00017 #include <CStationType.h>
00018 #define _STATIONTYPE_H
00019 #endif
00020
00021 #if !defined(_STATIONTYPE_HH)
00022
00023 #include "Enum.hpp"
00024
00025 using namespace StationTypeMod;
00026
00027 template<>
00028 struct enum_set_traits<StationTypeMod::StationType> : public enum_set_traiter<StationTypeMod::StationType,3,StationTypeMod::WEATHER_STATION> {};
00029
00030 template<>
00031 class enum_map_traits<StationTypeMod::StationType,void> : public enum_map_traiter<StationTypeMod::StationType,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<StationTypeMod::StationType,EnumPar<void> >
00041 (StationTypeMod::ANTENNA_PAD,ep((int)StationTypeMod::ANTENNA_PAD,"ANTENNA_PAD","un-documented")));
00042 m_.insert(pair<StationTypeMod::StationType,EnumPar<void> >
00043 (StationTypeMod::MAINTENANCE_PAD,ep((int)StationTypeMod::MAINTENANCE_PAD,"MAINTENANCE_PAD","un-documented")));
00044 m_.insert(pair<StationTypeMod::StationType,EnumPar<void> >
00045 (StationTypeMod::WEATHER_STATION,ep((int)StationTypeMod::WEATHER_STATION,"WEATHER_STATION","un-documented")));
00046 return true;
00047 }
00048 static map<StationTypeMod::StationType,EnumPar<void> > m_;
00049 };
00050 #define _STATIONTYPE_HH
00051 #endif