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