00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00012 #include "DeMux/DmxCompareTypes.h"
00013 #include "MessageService/MsgService.h"
00014
00015 CVSID("$Id: DmxCompareTypes.cxx,v 1.2 2006/06/21 01:18:18 rhatcher Exp $");
00016
00017
00018
00019 string DmxCompareTypes::GetCompareTypeString(ECompareType comparetype) {
00020
00021
00022
00023
00024
00025
00026
00027
00028 switch ( comparetype ) {
00029 case kBetter: return "Better";
00030 case kWorse: return "Worse";
00031 case kSame: return "Same";
00032 default:
00033 MSG("Dmx",Msg::kWarning)
00034 << "Dmx::GetCompareTypeString with unknown value "
00035 << (int)comparetype << endl;
00036 return "UNKNOWN";
00037 }
00038 }