00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */ 00002 /* Pending.cc 00003 * Copyright (C) 2000-2002 Ximian, Inc. 00004 * Copyright (C) 2005 SUSE Linux Products GmbH 00005 * 00006 * Definition of 'edition' 00007 * contains epoch-version-release-arch 00008 * and comparision functions 00009 * 00010 * This program is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU General Public License, 00012 * version 2, as published by the Free Software Foundation. 00013 * 00014 * This program is distributed in the hope that it will be useful, but 00015 * WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 00022 * 02111-1307, USA. 00023 */ 00024 00025 #include <iostream> 00026 00027 #include "zypp/solver/detail/Pending.h" 00028 00030 namespace zypp 00031 { 00032 00033 namespace solver 00034 { 00035 00036 namespace detail 00037 { 00038 00039 using namespace std; 00040 00041 IMPL_PTR_TYPE(Pending); 00042 00043 //--------------------------------------------------------------------------- 00044 00045 string 00046 Pending::asString ( void ) const 00047 { 00048 return toString (*this); 00049 } 00050 00051 00052 string 00053 Pending::toString ( const Pending & pending ) 00054 { 00055 return "<pending/>"; 00056 } 00057 00058 00059 ostream & 00060 Pending::dumpOn (ostream & str) const 00061 { 00062 str << asString(); 00063 return str; 00064 } 00065 00066 00067 ostream & 00068 operator<< (ostream & os, const Pending & pending) 00069 { 00070 return os << pending.asString(); 00071 } 00072 00073 //--------------------------------------------------------------------------- 00074 00075 Pending::Pending (const char *description) 00076 { 00077 } 00078 00079 00080 Pending::~Pending() 00081 { 00082 } 00083 00084 //--------------------------------------------------------------------------- 00085 00087 };// namespace detail 00090 };// namespace solver 00093 };// namespace zypp 00095
1.5.3