00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00009 00010 #include "zypp/data/ResolvableData.h" 00011 00012 using namespace std; 00013 00014 namespace zypp 00015 { 00016 namespace data 00017 { 00018 00019 IMPL_PTR_TYPE(Resolvable); 00020 IMPL_PTR_TYPE(ResObject); 00021 IMPL_PTR_TYPE(Script); 00022 IMPL_PTR_TYPE(Message); 00023 IMPL_PTR_TYPE(Atom); 00024 IMPL_PTR_TYPE(Patch); 00025 IMPL_PTR_TYPE(Pattern); 00026 IMPL_PTR_TYPE(Product); 00027 IMPL_PTR_TYPE(Packagebase); 00028 IMPL_PTR_TYPE(Package); 00029 IMPL_PTR_TYPE(SrcPackage); 00030 00031 IMPL_PTR_TYPE(DeltaRpm); 00032 IMPL_PTR_TYPE(PatchRpm); 00033 IMPL_PTR_TYPE(PackageAtom); 00034 IMPL_PTR_TYPE(BaseVersion); 00035 00036 00037 std::ostream & ResObject::dumpOn( std::ostream & str ) const 00038 { 00039 str << "[ " << name << " " << edition << " " << arch << " ]"; 00040 return str; 00041 // << " provides: " << provides << endl 00042 // << " conflicts: " << conflicts << endl 00043 // << " obsoletes: " << obsoletes << endl 00044 // << " freshens: " << freshens << endl 00045 // << " requires: " << requires << endl 00046 // << " recommends:" << endl << recommends << endl 00047 // << " suggests:" << endl << suggests << endl 00048 // << " supplements:" << endl << supplements << endl 00049 // << " enhances:" << endl << enhances << endl 00050 } 00051 00052 00053 std::ostream & RpmBase::dumpOn( std::ostream & str ) const 00054 { 00055 str << "Patch/Delta[ " << name << " " << edition << " " << arch << " ]"; 00056 return str; 00057 } 00058 00059 } // namespace cache 00060 } // namespace zypp
1.5.3