1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
15 #include "zypp/Resolvable.h"
17 ///////////////////////////////////////////////////////////////////
19 { /////////////////////////////////////////////////////////////////
21 NVR::NVR( ResTraits<Resolvable>::constPtrType res_r )
25 *this = NVR( res_r->name(), res_r->edition() );
29 /******************************************************************
31 ** FUNCTION NAME : operator<<
32 ** FUNCTION TYPE : std::ostream &
34 std::ostream & operator<<( std::ostream & str, const NVR & obj )
36 return str << obj.name << '-' << obj.edition;
39 /////////////////////////////////////////////////////////////////
41 ///////////////////////////////////////////////////////////////////