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 "zypp/solver/detail/Pending.h" 00026 00028 namespace zypp 00029 { 00030 00031 namespace solver 00032 { 00033 00034 namespace detail 00035 { 00036 00037 using namespace std; 00038 00039 IMPL_PTR_TYPE(Pending); 00040 00041 //--------------------------------------------------------------------------- 00042 00043 string 00044 Pending::asString ( void ) const 00045 { 00046 return toString (*this); 00047 } 00048 00049 00050 string 00051 Pending::toString ( const Pending & pending ) 00052 { 00053 return "<pending/>"; 00054 } 00055 00056 00057 ostream & 00058 Pending::dumpOn (ostream & str) const 00059 { 00060 str << asString(); 00061 return str; 00062 } 00063 00064 00065 ostream & 00066 operator<< (ostream & os, const Pending & pending) 00067 { 00068 return os << pending.asString(); 00069 } 00070 00071 //--------------------------------------------------------------------------- 00072 00073 Pending::Pending (const char *description) 00074 { 00075 } 00076 00077 00078 Pending::~Pending() 00079 { 00080 } 00081 00082 //--------------------------------------------------------------------------- 00083 00085 };// namespace detail 00088 };// namespace solver 00091 };// namespace zypp 00093