00001 /* 00002 * Copyright (C) 2004 Ivo Danihelka (ivo@danihelka.net) 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 */ 00009 #include "IntMsg.h" 00010 00011 #include "StringTool.h" 00012 00013 //----------------------------------------------------------------- 00014 std::string 00015 IntMsg::toString() const 00016 { 00017 std::string result = m_listenerName; 00018 result.append("->" + m_name); 00019 result.append("(" + StringTool::toString(m_value) + ")"); 00020 return result; 00021 }