NVRAD.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00013 #include "zypp/NVRAD.h"
00014 #include "zypp/Resolvable.h"
00015 
00017 namespace zypp
00018 { 
00019 
00020   NVRAD::NVRAD( Resolvable::constPtr res_r )
00021   {
00022     if ( res_r )
00023       {
00024           *this = NVRAD( res_r->name(), res_r->edition(), res_r->arch(),
00025                          res_r->deps() );
00026       }
00027   }
00028 
00029   std::ostream & operator<<( std::ostream & str, const NVRAD & obj )
00030   {
00031     return str << obj.name << '-' << obj.edition << '.' << obj.arch;
00032   }
00033   
00035 } // namespace zypp

Generated on Thu Jul 6 00:07:21 2006 for zypp by  doxygen 1.4.6